cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 回复: Re: patch for the case that curl can't transfer zero-size file by file://download (fwd)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 12 Jun 2007 11:00:10 +0200 (CEST)

This what I just posted on the curl-users list but I figure it is actually
better dealt with on this list.

---------- Forwarded message ----------
Date: Tue, 12 Jun 2007 10:51:41 +0200 (CEST)
From: Daniel Stenberg <daniel_at_haxx.se>
Reply-To: the curl tool <curl-users_at_cool.haxx.se>
To: the curl tool <curl-users_at_cool.haxx.se>
Subject: Re: 回复: Re: patch for the case that curl can't transfer zero-size
     file by file://download

On Tue, 5 Jun 2007, 峰 涂 wrote:

> hi. Daniel, Someone pointed out that curl can't transfer zero-size file by
> file://url. So I offerred this patch for it.

I fully understand that, but I need to consider the library as a whole and to
me it makes a lot of sense that all the supported protocols behave the same way
in regard to zero byte files. Thus, I see little use in having support for this
way to do zero byte file:// transfers, when there's no way to do zero byte
transfers over any other protocol.

So, unless someone comes up with a good argument that speaks against what I'm
saying, I'm gonna reject this patch.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-06-12