]> granicus.if.org Git - curl/commit
disconnect: don't touch easy-related state on disconnects
authorDaniel Stenberg <daniel@haxx.se>
Thu, 21 Aug 2014 09:20:19 +0000 (11:20 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 25 Aug 2014 07:17:57 +0000 (09:17 +0200)
commit898808fa8ca7b4a8e0866a5d7769ed1b50219328
tree341811d9e2bdd71f2d8086944e8b33e20b8d6df6
parenta20da5523e20ace47b3330501b7abab72fd43b8d
disconnect: don't touch easy-related state on disconnects

This was done to make sure NTLM state that is bound to a connection
doesn't survive and gets used for the subsequent request - but
disconnects can also be done to for example make room in the connection
cache and thus that connection is not strictly related to the easy
handle's current operation.

The http authentication state is still kept in the easy handle since all
http auth _except_ NTLM is connection independent and thus survive over
multiple connections.

Bug: http://curl.haxx.se/mail/lib-2014-08/0148.html
Reported-by: Paras S
lib/url.c