2011-05-24 17:42:02 +04:00
|
|
|
#ifndef HEADER_CURL_HTTP_PROXY_H
|
|
|
|
#define HEADER_CURL_HTTP_PROXY_H
|
2011-04-04 18:24:37 +04:00
|
|
|
/***************************************************************************
|
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2022-03-17 12:20:19 +03:00
|
|
|
* Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2011-04-04 18:24:37 +04:00
|
|
|
*
|
|
|
|
* This software is licensed as described in the file COPYING, which
|
|
|
|
* you should have received as part of this distribution. The terms
|
2020-11-04 16:02:01 +03:00
|
|
|
* are also available at https://curl.se/docs/copyright.html.
|
2011-04-04 18:24:37 +04:00
|
|
|
*
|
|
|
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
* copies of the Software, and permit persons to whom the Software is
|
|
|
|
* furnished to do so, under the terms of the COPYING file.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: curl
|
2022-05-17 12:16:50 +03:00
|
|
|
*
|
2011-04-04 18:24:37 +04:00
|
|
|
***************************************************************************/
|
2012-03-22 02:22:39 +04:00
|
|
|
|
2017-06-18 16:18:15 +03:00
|
|
|
#include "curl_setup.h"
|
|
|
|
#include "urldata.h"
|
|
|
|
|
2011-04-04 18:24:37 +04:00
|
|
|
#if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
|
|
|
|
|
|
|
|
/* Default proxy timeout in milliseconds */
|
|
|
|
#define PROXY_TIMEOUT (3600*1000)
|
|
|
|
|
2022-11-11 13:45:34 +03:00
|
|
|
CURLcode Curl_cfilter_http_proxy_add(struct Curl_easy *data,
|
|
|
|
struct connectdata *conn,
|
|
|
|
int sockindex);
|
2012-03-22 20:27:14 +04:00
|
|
|
|
2022-11-14 18:44:12 +03:00
|
|
|
CURLcode Curl_cfilter_haproxy_add(struct Curl_easy *data,
|
|
|
|
struct connectdata *conn,
|
|
|
|
int sockindex);
|
|
|
|
|
2022-11-17 12:29:50 +03:00
|
|
|
#endif /* !CURL_DISABLE_PROXY && !CURL_DISABLE_HTTP */
|
2022-11-14 18:44:12 +03:00
|
|
|
|
2011-05-24 17:42:02 +04:00
|
|
|
#endif /* HEADER_CURL_HTTP_PROXY_H */
|