curl-library
Re: Problem downloading with 7.10.5
Date: Fri, 30 Sep 2005 10:54:04 -0400 (EDT)
Ok after walking down through the code a little I believe I have found and corrected the problem with 7.10.5 and downloading from apache with http 1.1. I'm obviously not going to submit a patch since this outdated, but if anyone else runs into this problem and they need to us an older version of libcurl like I do this may be helpful. In the file transfer.c, near line 611, you will see that there are catches for http 1.0 and the connection message "closed" and "keep-alive". Just below this on line 621 there is a check for "closed" in the http 1.1 area, but there is nothing listed for a "keep-alive" return. So by adding something like this below that else if block:
else if (Curl_compareheader(k->p, "Connection:", "keep-alive"))
{
conn->bits.close = FALSE;
}
that should resolve any problems.
Your Friend,
Ben
Before you get led astray. Check those new "virus" emails to make sure you aren't being used.
McAfee
http://vil.mcafee.com/hoax.asp
Symantec/Norton
http://www.symantec.com/avcenter/
HoaxBusters
http://hoaxbusters.ciac.org/
General
http://www.internet-101.com/hoax/
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Received on 2005-09-30