]> granicus.if.org Git - curl/commit
url: close TLS before removing conn from cache
authorChris Araman <chris.araman@fuze.com>
Wed, 6 Feb 2019 05:56:36 +0000 (21:56 -0800)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 6 Feb 2019 18:33:21 +0000 (13:33 -0500)
commit927a5bd1b4f95fe2331c9d9923c620ba8e274d6c
tree1f60698f8a8f6c7da3d69d45e48a0c5721483e62
parentfef38a0898322f285401c5ff2f5e7c90dbf3be63
url: close TLS before removing conn from cache

- Fix potential crashes in schannel shutdown.

Ensure any TLS shutdown messages are sent before removing the
association between the connection and the easy handle. Reverts
@bagder's previous partial fix for #3412.

Fixes https://github.com/curl/curl/issues/3412
Fixes https://github.com/curl/curl/issues/3505
Closes https://github.com/curl/curl/pull/3531
lib/url.c
lib/vtls/schannel.c