From: Daniel Stenberg Date: Sun, 17 Feb 2008 13:49:58 +0000 (+0000) Subject: - Jerome Muffat-Meridol helped me fix Curl_done() to close the current X-Git-Tag: curl-7_18_1~102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3458ce9ae55779f7409dabd82ce2efb73b03eea3;p=thirdparty%2Fcurl.git - Jerome Muffat-Meridol helped me fix Curl_done() to close the current connection by force when it was called before the entire request is completed, simply because we can't know if the connection really can be re-used safely at that point. --- diff --git a/CHANGES b/CHANGES index 06639d25d0..fa7de9ed39 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,16 @@ Changelog +Daniel S (17 Feb 2008) +- Jerome Muffat-Meridol helped me fix Curl_done() to close the current + connection by force when it was called before the entire request is + completed, simply because we can't know if the connection really can be + re-used safely at that point. + +- Based on the same debugging logic, I've also made Curl_http_done() not + return CURLE_GOT_NOTHING if called "prematurely". This should have no real + effect to anything but the code makes more sense like this. + Daniel S (15 Feb 2008) - Made the gnutls code path not even try to get the server cert if no peer verification is requested. Previously it would even return failure if gnutls diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9f373eb0ff..913e147a0a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -20,8 +20,10 @@ This release includes the following bugfixes: o GnuTLS-built libcurl failed when doing global cleanup and reinit o error message problem when unable to resolve a host on Windows o Accept: header replacing - o not verificating server certs with gnutls still failed if gnutls had problems - with the cert + o not verificating server certs with GnuTLS still failed if gnutls had + problems with the cert + o when using the multi interface and a handle is removed while still having + a transfer going on, the connection is now closed by force This release includes the following known bugs: @@ -39,6 +41,6 @@ This release would not have looked like this without help, code, reports and advice from friends like these: Michal Marek, Dmitry Kurochkin, Niklas Angebrand, Günter Knauf, Yang Tse, - Dan Fandrich, Mike Hommey, Pooyan McSporran + Dan Fandrich, Mike Hommey, Pooyan McSporran, Jerome Muffat-Meridol Thanks! (and sorry if I forgot to mention someone)