diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2019-02-21 15:30:10 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-02-22 15:19:42 -0500 |
commit | 7466d1a3083150da636251b156efbd520b01f1af (patch) | |
tree | 5c8dc3a453f85ea22aae28cad0229a766e1d0c65 /tests/data/test906 | |
parent | 50f1bb263241aef5aaf3225351cc199b1756fc39 (diff) |
url: change conn shutdown order to unlink data as last step
- Split off connection shutdown procedure from Curl_disconnect into new
function conn_shutdown.
- Change the shutdown procedure to close the sockets before
disassociating the transfer.
Prior to this change the sockets were closed after disassociating the
transfer so SOCKETFUNCTION wasn't called since the transfer was already
disassociated. That likely came about from recent work started in
Jan 2019 (#3442) to separate transfers from connections.
Bug: https://curl.haxx.se/mail/lib-2019-02/0101.html
Reported-by: Pavel Löbl
Closes https://github.com/curl/curl/issues/3597
Closes https://github.com/curl/curl/pull/3598
Diffstat (limited to 'tests/data/test906')
0 files changed, 0 insertions, 0 deletions