diff options
author | Stefan Eissing <stefan@eissing.org> | 2023-01-02 14:08:16 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-01-08 11:06:30 +0100 |
commit | 4303093cd532cf48f1ec2db5899cf60c95a116d4 (patch) | |
tree | 30f1dbe9e180b0c6dbfcabb281384c8eace3a4d0 /lib/cf-socket.h | |
parent | 260fea215adf0cffed91fb9cb331e163431ebc5b (diff) | |
download | curl-4303093cd532cf48f1ec2db5899cf60c95a116d4.tar.gz |
msh3: run again in its cfilter
- test 2500, single GET works
- test 2501, single POST stalls
- test 2502, multiple, sequential GETs each use a new connection since
MsH3ConnectionGetState(qconn) no longer reports CONNECTED after one
GET.
Closes #10204
Diffstat (limited to 'lib/cf-socket.h')
-rw-r--r-- | lib/cf-socket.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/cf-socket.h b/lib/cf-socket.h index b770b2ae2..8e30d2862 100644 --- a/lib/cf-socket.h +++ b/lib/cf-socket.h @@ -99,6 +99,14 @@ void Curl_sndbufset(curl_socket_t sockfd); #endif /** + * Assign the address `ai` to the Curl_sockaddr_ex `dest` and + * set the transport used. + */ +void Curl_sock_assign_addr(struct Curl_sockaddr_ex *dest, + const struct Curl_addrinfo *ai, + int transport); + +/** * Creates a cfilter that opens a TCP socket to the given address * when calling its `connect` implementation. * The filter will not touch any connection/data flags and can be |