- 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.
This commit is contained in:
Daniel Stenberg 2008-02-17 13:49:58 +00:00
parent ba3e7a8656
commit 3458ce9ae5
2 changed files with 15 additions and 3 deletions

10
CHANGES
View File

@ -6,6 +6,16 @@
Changelog 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) Daniel S (15 Feb 2008)
- Made the gnutls code path not even try to get the server cert if no peer - 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 verification is requested. Previously it would even return failure if gnutls

View File

@ -20,8 +20,10 @@ This release includes the following bugfixes:
o GnuTLS-built libcurl failed when doing global cleanup and reinit o GnuTLS-built libcurl failed when doing global cleanup and reinit
o error message problem when unable to resolve a host on Windows o error message problem when unable to resolve a host on Windows
o Accept: header replacing o Accept: header replacing
o not verificating server certs with gnutls still failed if gnutls had problems o not verificating server certs with GnuTLS still failed if gnutls had
with the cert 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: 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: advice from friends like these:
Michal Marek, Dmitry Kurochkin, Niklas Angebrand, Günter Knauf, Yang Tse, 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) Thanks! (and sorry if I forgot to mention someone)