]> granicus.if.org Git - curl/commit
multi: call detach_connection before Curl_disconnect
authorGergely Nagy <ngg@tresorit.com>
Thu, 25 Jul 2019 08:26:16 +0000 (10:26 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Jul 2019 16:06:42 +0000 (18:06 +0200)
commita55edcea6530e369b467b00208c58f73f3609307
tree7a023b33059e08c61a6a5be4f67e1512352dc3b4
parentcdf7d13bcb144756af8d3ae2dc92d638a65e0e0f
multi: call detach_connection before Curl_disconnect

Curl_disconnect bails out if conn->easyq is not empty, detach_connection
needs to be called first to remove the current easy from the queue.

Fixes #4144
Closes #4151
lib/multi.c