diff options
author | Stefan Eissing <stefan@eissing.org> | 2022-11-26 12:43:56 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-11-26 16:56:46 +0100 |
commit | f18956d0ca75eca21b800056ea0a245491e664e2 (patch) | |
tree | 036e8dbb946a30e83106220b74feaf803bfadd8b /lib/http.c | |
parent | 3e33681eaf6fa95ff684840cb3eed0f3fbb6270c (diff) | |
download | curl-f18956d0ca75eca21b800056ea0a245491e664e2.tar.gz |
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
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c index 105e8cf8c..66d3b4dd6 100644 --- a/lib/http.c +++ b/lib/http.c @@ -219,7 +219,7 @@ const struct Curl_handler Curl_handler_wss = { #endif static CURLcode h3_setup_conn(struct Curl_easy *data, - struct connectdata *conn) + struct connectdata *conn) { #ifdef ENABLE_QUIC /* We want HTTP/3 directly, setup the filter chain ourself, @@ -243,7 +243,7 @@ static CURLcode h3_setup_conn(struct Curl_easy *data, DEBUGF(infof(data, "HTTP/3 direct conn setup(conn #%ld, index=%d)", conn->connection_id, FIRSTSOCKET)); - return Curl_conn_socket_set(data, FIRSTSOCKET); + return Curl_conn_socket_set(data, conn, FIRSTSOCKET); #else /* ENABLE_QUIC */ (void)conn; |