mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:23:31 +03:00
ngtcp2: share common functionality
Share common functions/structs between ngtcp2 HTTP/3 and the proxy version. Fix bugs in proxy implementation when it comes to stream and pollset handling and transfer lifetimes. Curl_multi_xfer_sockbuf_borrow: work without multi When a connection gets shutdown by a share, the easy handle used is share->admin and it does not have a multi handle. In that case let Curl_multi_xfer_sockbuf_borrow() allocate a buffer to be freed on release. This happens when a TLS filter sends its last notify through a HTTP/3 proxy tunnel. Closes #21871
This commit is contained in:
parent
4fcf9c8f59
commit
f924489b25
43 changed files with 3254 additions and 4970 deletions
|
|
@ -900,7 +900,8 @@ static CURLcode oldap_connecting(struct Curl_easy *data, bool *done)
|
|||
result = oldap_perform_bind(data, OLDAP_BIND);
|
||||
break;
|
||||
}
|
||||
result = Curl_ssl_cfilter_add(data, conn, FIRSTSOCKET);
|
||||
result = Curl_ssl_cfilter_add(
|
||||
data, Curl_conn_get_origin(conn, FIRSTSOCKET), conn, FIRSTSOCKET);
|
||||
if(result)
|
||||
break;
|
||||
FALLTHROUGH();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue