url.c: fix HTTP CONNECT tunnel establishment upon delayed response
authorYang Tse <yangsita@gmail.com>
Thu, 17 Jan 2013 16:07:19 +0000 (17:07 +0100)
committerYang Tse <yangsita@gmail.com>
Thu, 17 Jan 2013 16:07:19 +0000 (17:07 +0100)
commit9fd88abb7032346e88636165e688232e36f5c336
treec5fd7d8226fadcfa44aa6e3f40deca282b1241ad
parent4ed6b07d8dbf6a61aeba1eb8ac802f0b6a65c082
url.c: fix HTTP CONNECT tunnel establishment upon delayed response

Fixes initial proxy response being processed by the tunneled protocol
handler instead of the HTTP wrapper handler. This issue would trigger
upon delayed CONNECT response from the proxy.

Additionally fixes a multi interface code-path in which connections
would not time out properly.

This does not fix known bug #39.

URL: http://curl.haxx.se/mail/lib-2013-01/0191.html
lib/url.c