proxy: haproxy filter is only available when PROXY and HTTP are

Closes #9935
This commit is contained in:
Stefan Eissing 2022-11-17 10:29:50 +01:00 committed by Daniel Stenberg
parent 14d5589032
commit 7a19dd8a81
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 8 additions and 15 deletions

View file

@ -36,14 +36,10 @@ CURLcode Curl_cfilter_http_proxy_add(struct Curl_easy *data,
struct connectdata *conn,
int sockindex);
#endif
#if !defined(CURL_DISABLE_PROXY)
CURLcode Curl_cfilter_haproxy_add(struct Curl_easy *data,
struct connectdata *conn,
int sockindex);
#endif
#endif /* !CURL_DISABLE_PROXY && !CURL_DISABLE_HTTP */
#endif /* HEADER_CURL_HTTP_PROXY_H */