curl-users
回复: Re: patch for the case that curl can't transfer zero-size file by file://download
Date: Tue, 5 Jun 2007 09:47:31 +0800 (CST)
hi. Daniel, Someone pointed out that curl can't transfer zero-size file by file://url. So I offerred this patch for it. I am sorry that I posted patches to the improper list.
Daniel Stenberg <daniel_at_haxx.se> 写道: On Mon, 4 Jun 2007, 峰 涂 wrote:
> Hi. I am using the curl with version 7.16.1.
> By this patch, my curl can transfer zero-size file by file://download/.
You really should start posting patches such as this to the curl-library list
instead...
My main concern with this patch is how it makes the file: URL case different
than all the others. I don't mind having support for zero-byte files, but I'm
a bit hesitant to add it just for one single protocol and have the others not
support it.
Anyone else with thoughts on this subject?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html --------------------------------- 雅虎免费邮箱-3.5G容量,20M附件Received on 2007-06-05