diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-03-21 23:22:39 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-03-22 00:12:37 +0100 |
commit | c83de6d07625b813e3bbc31f9a0827c3a0007355 (patch) | |
tree | d55e987d195fc5dd5d0c3d23b4cc306c48667db6 /lib/http_proxy.h | |
parent | 805788e0434f4f09d8049c51000af604efb800ed (diff) | |
download | curl-c83de6d07625b813e3bbc31f9a0827c3a0007355.tar.gz |
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
Diffstat (limited to 'lib/http_proxy.h')
-rw-r--r-- | lib/http_proxy.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/http_proxy.h b/lib/http_proxy.h index 3caf9287f..197996f9e 100644 --- a/lib/http_proxy.h +++ b/lib/http_proxy.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -21,6 +21,9 @@ * KIND, either express or implied. * ***************************************************************************/ + +CURLcode Curl_proxy_connect(struct connectdata *conn); + #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP) /* ftp can use this as well */ CURLcode Curl_proxyCONNECT(struct connectdata *conn, |