]> granicus.if.org Git - curl/commit
multi-socks: fix connect to proxy
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Apr 2011 07:39:33 +0000 (09:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Apr 2011 08:06:49 +0000 (10:06 +0200)
commit4a42e5cdaa344755c6bf5317908849619f61798b
treee7e1e5a713be3510a778a3c7217cd63552044158
parent53ef3493bfd4ddaf71adea051ea530b87abfd5a9
multi-socks: fix connect to proxy

When connecting to a socks or similar proxy we do the proxy handshake at
once when we know the TCP connect is completed and we only consider the
"connection" complete after the proxy handshake. This fixes test 564
which is now no longer considered disabled.

Reported by: Dmitri Shubin
Bug: http://curl.haxx.se/mail/lib-2011-04/0127.html
lib/connect.c
lib/multi.c
tests/data/DISABLED
tests/data/test564