mirror of
https://github.com/curl/curl.git
synced 2026-08-06 02:26:14 +03:00
haxproxy: send before TLS handhshake
- reverse order of haproxy and final ssl cfilter - make haproxy avaiable on PROXY builds, independent of HTTP support as it can be used with any protocol. Reported-by: Sergio-IME on github Fixes #10165 Closes #10167
This commit is contained in:
parent
1971a861bd
commit
db5f833cc7
3 changed files with 15 additions and 11 deletions
|
|
@ -1195,6 +1195,9 @@ CURLcode Curl_conn_http_proxy_add(struct Curl_easy *data,
|
|||
return result;
|
||||
}
|
||||
|
||||
#endif /* !CURL_DISABLE_PROXY &6 ! CURL_DISABLE_HTTP */
|
||||
|
||||
#if !defined(CURL_DISABLE_PROXY)
|
||||
|
||||
static CURLcode send_haproxy_header(struct Curl_cfilter*cf,
|
||||
struct Curl_easy *data)
|
||||
|
|
@ -1280,4 +1283,4 @@ CURLcode Curl_conn_haproxy_add(struct Curl_easy *data,
|
|||
return result;
|
||||
}
|
||||
|
||||
#endif /* !CURL_DISABLE_PROXY &6 ! CURL_DISABLE_HTTP */
|
||||
#endif /* !CURL_DISABLE_PROXY */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue