]> git.ipfire.org Git - thirdparty/curl.git/commit
multi: remove_handle: move pending connections
authorDaniel Stenberg <daniel@haxx.se>
Sun, 29 Mar 2015 21:48:32 +0000 (23:48 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 29 Mar 2015 21:49:12 +0000 (23:49 +0200)
commit787c2ae91b1f172ce9fdd2b6613c6217c00a85b3
tree4c034d419b40b6ea88a5e0e7ae189483744c4bf2
parent31987c340ec99ec3f1e5943acd9509f4e3bf6a71
multi: remove_handle: move pending connections

If the handle removed from the multi handle happens to be the one
"owning" the pipeline other transfers will be waiting indefinitely. Now
we move such handles back to connect to have them race (again) for
getting the connection and thus avoid hanging.

Bug: http://curl.haxx.se/bug/view.cgi?id=1465
Reported-by: Jiri Dvorak
lib/multi.c