CONNECT: fix multi interface regression
authorDaniel Stenberg <daniel@haxx.se>
Wed, 21 Mar 2012 22:22:39 +0000 (23:22 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Mar 2012 23:12:37 +0000 (00:12 +0100)
commitc83de6d07625b813e3bbc31f9a0827c3a0007355
treed55e987d195fc5dd5d0c3d23b4cc306c48667db6
parent805788e0434f4f09d8049c51000af604efb800ed
CONNECT: fix multi interface regression

The refactoring of HTTP CONNECT handling in commit 41b0237834232 that
made it protocol independent broke it for the multi interface. This fix
now introduce a better state handling and moved some logic to the
http_proxy.c source file.

Reported by: Yang Tse
Bug: http://curl.haxx.se/mail/lib-2012-03/0162.html
lib/http.c
lib/http_proxy.c
lib/http_proxy.h
lib/multi.c
lib/url.c
lib/urldata.h