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
This commit is contained in:
Stefan Eissing 2023-01-02 14:08:16 +01:00 committed by Daniel Stenberg
parent 260fea215a
commit 4303093cd5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 257 additions and 75 deletions

View file

@ -98,6 +98,14 @@ void Curl_sndbufset(curl_socket_t sockfd);
#define Curl_sndbufset(y) Curl_nop_stmt
#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.