cfilter: re-add conn as parameter to cfilter setup methods

- `Curl_ssl_get_config()` now returns the first config if no SSL proxy
  filter is active

- socket filter starts connection only on first invocation of its
  connect method

Fixes #9982
Closes #9983
This commit is contained in:
Stefan Eissing 2022-11-26 12:43:56 +01:00 committed by Daniel Stenberg
parent 3e33681eaf
commit f18956d0ca
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
16 changed files with 68 additions and 47 deletions

View file

@ -33,9 +33,11 @@
#define PROXY_TIMEOUT (3600*1000)
CURLcode Curl_conn_http_proxy_add(struct Curl_easy *data,
struct connectdata *conn,
int sockindex);
CURLcode Curl_conn_haproxy_add(struct Curl_easy *data,
struct connectdata *conn,
int sockindex);
#endif /* !CURL_DISABLE_PROXY && !CURL_DISABLE_HTTP */