Curl_connected_proxy: skip the bits.tcpconnect check
authorDaniel Stenberg <daniel@haxx.se>
Mon, 2 Aug 2010 21:17:30 +0000 (23:17 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 2 Aug 2010 21:17:30 +0000 (23:17 +0200)
commita1a5ba3d0adad64c4c028d5d3f2903abd0efb510
tree62bd6d6ac372d7d2b145868a175ccd97a254c7e8
parent687df5c8c39c370a59999b9afc0917d808d978b7
Curl_connected_proxy: skip the bits.tcpconnect check

Simply because the TCP might be connected already we cannot skip the
proxy connect procedure. We need to be careful to not overload more
meaning to the bits.tcpconnect field like this.

With this fix, SOCKS proxies work again when the multi interface is
used. I believe this regression was added with commit 4b351d018e,
released as 7.20.1.

Left todo: add a test case that verifies this functionality that
prevents us from breaking it again in the future!

Reported by: Robin Cornelius
Bug: http://curl.haxx.se/bug/view.cgi?id=3033966
lib/url.c