mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05:00
curl_multi_socket() fix thanks to Jeff's test code
This commit is contained in:
parent
8240cea628
commit
8d24c0212e
16
CHANGES
16
CHANGES
@ -6,6 +6,22 @@
|
|||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
|
Daniel (11 September 2006)
|
||||||
|
- Jeff Pohlmeyer presented a *multi_socket()-using program that exposed a
|
||||||
|
problem with it (SIGSEGV-style). It clearly showed that the existing
|
||||||
|
socket-state and state-difference function wasn't good enough so I rewrote
|
||||||
|
it and could then re-run Jeff's program without any crash. The previous
|
||||||
|
version clearly could miss to tell the application when a handle changed
|
||||||
|
from using one socket to using another.
|
||||||
|
|
||||||
|
While I was at it (as I could use this as a means to track this problem
|
||||||
|
down), I've now added a 'magic' number to the easy handle struct that is
|
||||||
|
inited at curl_easy_init() time and cleared at curl_easy_cleanup() time that
|
||||||
|
we can use internally to detect that an easy handle seems to be fine, or at
|
||||||
|
least not closed or freed (freeing in debug builds fill the area with 0x13
|
||||||
|
bytes but in normal builds we can of course not assume any particular data
|
||||||
|
in the freed areas).
|
||||||
|
|
||||||
Daniel (9 September 2006)
|
Daniel (9 September 2006)
|
||||||
- Michele Bini fixed how the hostname is put in NTLM packages. As servers
|
- Michele Bini fixed how the hostname is put in NTLM packages. As servers
|
||||||
don't expect fully qualified names we need to cut them off at the first dot.
|
don't expect fully qualified names we need to cut them off at the first dot.
|
||||||
|
@ -19,6 +19,7 @@ This release includes the following changes:
|
|||||||
|
|
||||||
This release includes the following bugfixes:
|
This release includes the following bugfixes:
|
||||||
|
|
||||||
|
o fixed a socket state problem with *multi_socket()
|
||||||
o (HTTP) NTLM hostname fix
|
o (HTTP) NTLM hostname fix
|
||||||
o getsockname usage fixes
|
o getsockname usage fixes
|
||||||
o SOCKS5 proxy connects can now time-out
|
o SOCKS5 proxy connects can now time-out
|
||||||
@ -46,6 +47,6 @@ advice from friends like these:
|
|||||||
|
|
||||||
Domenico Andreoli, Armel Asselin, Gisle Vanem, Yang Tse, Andrew Biggs,
|
Domenico Andreoli, Armel Asselin, Gisle Vanem, Yang Tse, Andrew Biggs,
|
||||||
Peter Sylvester, David McCreedy, Dmitriy Sergeyev, Dmitry Rechkin,
|
Peter Sylvester, David McCreedy, Dmitriy Sergeyev, Dmitry Rechkin,
|
||||||
Jari Sundell, Ravi Pratap, Michele Bini
|
Jari Sundell, Ravi Pratap, Michele Bini, Jeff Pohlmeyer
|
||||||
|
|
||||||
Thanks! (and sorry if I forgot to mention someone)
|
Thanks! (and sorry if I forgot to mention someone)
|
||||||
|
Loading…
Reference in New Issue
Block a user