]> granicus.if.org Git - curl/commit
CONNECT: Revert Curl_proxyCONNECT back to 7.29.0 design
authorDaniel Stenberg <daniel@haxx.se>
Sat, 19 Jul 2014 21:58:58 +0000 (23:58 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Jul 2014 21:00:19 +0000 (23:00 +0200)
commita4cece3d47cf092da00cf9910e87bb60b9eff533
tree0655fd947c08bd67a3ce7ffb9d751e74dfb80af5
parentd242839af8511b389f0edd6519bdae6cd860e8a9
CONNECT: Revert Curl_proxyCONNECT back to 7.29.0 design

This reverts commit cb3e6dfa3511 and instead fixes the problem
differently.

The reverted commit addressed a test failure in test 1021 by simplifying
and generalizing the code flow in a way that damaged the
performance. Now we modify the flow so that Curl_proxyCONNECT() again
does as much as possible in one go, yet still do test 1021 with and
without valgrind. It failed due to mistakes in the multi state machine.

Bug: http://curl.haxx.se/bug/view.cgi?id=1397
Reported-by: Paul Saab
lib/http_proxy.c
lib/multi.c