Infinite loop when calling curl_multi_cleanup
Date: Mon, 17 Oct 2016 12:45:01 +0200
When I upgraded cURL to version 7.50.3, I got some of my code to run
into an infinite loop when closing down the "multi". All "easy" are
closed, but some connections in the cache still contains receivers in
the "recv_pipe". Calling "Curl_disconnect" would not close properly the
connection and "close_all_connections" would call it in loop forever.
Adding "connclose" before call the "Curl_disconnect" fixes the problem.
-- Valentin David
- text/x-patch attachment: curl-close-all-connections.patch