mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
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:
parent
3e33681eaf
commit
f18956d0ca
16 changed files with 68 additions and 47 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue