|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1618359 ] Problem downloading 2 zero byte files with FTP
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 20 Dec 2006 08:33:24 -0800
Bugs item #1618359, was opened at 2006-12-18 18:10
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
When downloading 2 zero byte files in a row, curl 7.16.0 enters an infinite loop, while curl 7.16.1-20061218 does one additional unnecessary request.
I tracked this problem to the variable headerbytecount being 0 in Curl_retry_request function. This used to be a number bigger than zero in curl-7.15.5 and older. Here is a simple program that will trigger this problem:
#include <curl/curl.h>
int main() {
curl_global_init(CURL_GLOBAL_ALL);
curl_res = curl_easy_perform(easy);
curl_res = curl_easy_perform(easy);
return 0;
----------------------------------------------------------------------
>Comment By: Robson Braga Araujo (braga)
Message:
I attached a patch against 7.16.1-20061218 to fix this problem.
During the "Major overhaul introducing http pipelining support and shared
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info