curl-library
Re: Fwd: Re: test 91 fails - cause found?
Date: Thu, 5 Feb 2004 09:17:40 +0100 (CET)
*** This mailing list is moving ***
*** http://curl.haxx.se/mail/ ***
On Wed, 4 Feb 2004, Patrick Smith wrote:
> [More listserver problems? I sent the message below on Sunday, and received
> a copy back. But it's not in the archives, so I'm wondering whether it made
> it out to all the list members?]
Yes, the lists on sourceforge are no longer reliable. I'm CC'ing the old list
now, taking this over to the new list host instead.
> The test still fails. :-(
>
> In the patch, should sockerror be reset to 0 after a successful recv?
>
> A quick look at the strace output shows pretty much the same sequence as
> before - the recv fails with ECONNRESET and libcurl gives up, complaining
> about an "empty reply". I don't have time right now to look at things in
> more detail. Do you want the log and trace files?
I had another thought and adjusted my patch. The problem with the previous one
was that in Curl_http_done() it always checked the byte-counter and reported
error if nothing had been downloaded. I've now added a variable that gets set
when the connection is to be retried, and then the 0 byte transfer won't cause
an error.
At least there hasn't been a test 91 failure in a while among the auto-tests:
http://curl.haxx.se/auto/
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]] ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdnReceived on 2004-02-05