Changed the handling of read/write errors in Curl_perform() to allow a

a fresh connection to be made in such cases and the request retransmitted.
This should fix test case 160.  Added test case 1079 in an attempt to
test a similar connection dropping scenario, but as a race condition, it's
hard to test reliably.
This commit is contained in:
Dan Fandrich
2008-10-07 23:15:02 +00:00
parent 0bd78e1cd8
commit b9ce871463
5 changed files with 88 additions and 8 deletions

View File

@@ -6,6 +6,13 @@
Changelog
Daniel Fandrich (7 Oct 2008)
- Changed the handling of read/write errors in Curl_perform() to allow a
a fresh connection to be made in such cases and the request retransmitted.
This should fix test case 160. Added test case 1079 in an attempt to
test a similar connection dropping scenario, but as a race condition, it's
hard to test reliably.
Daniel Stenberg (7 Oct 2008)
- Fixed CURLINFO_PRIMARY_IP: When libcurl created a connection to host A then
the app re-used the handle to do a connection to host B and then again