diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-24 23:41:58 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-26 10:04:47 +0100 |
commit | 1dc8aa870e879d3b2ff0334cdb11842d6321d61f (patch) | |
tree | 29ccd68e0b9821ba440200513b28c4666c17daa9 /lib/http_proxy.h | |
parent | 560fc170ec8976019544546762d565bbf786fdc9 (diff) | |
download | curl-1dc8aa870e879d3b2ff0334cdb11842d6321d61f.tar.gz |
hostip/proxy: remove conn->data use
Closes #6513
Diffstat (limited to 'lib/http_proxy.h')
-rw-r--r-- | lib/http_proxy.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/http_proxy.h b/lib/http_proxy.h index a595e8b55..a78db0d04 100644 --- a/lib/http_proxy.h +++ b/lib/http_proxy.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2021, 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 @@ -27,14 +27,14 @@ #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP) /* ftp can use this as well */ -CURLcode Curl_proxyCONNECT(struct connectdata *conn, +CURLcode Curl_proxyCONNECT(struct Curl_easy *data, int tunnelsocket, const char *hostname, int remote_port); /* Default proxy timeout in milliseconds */ #define PROXY_TIMEOUT (3600*1000) -CURLcode Curl_proxy_connect(struct connectdata *conn, int sockindex); +CURLcode Curl_proxy_connect(struct Curl_easy *data, int sockindex); bool Curl_connect_complete(struct connectdata *conn); bool Curl_connect_ongoing(struct connectdata *conn); |