mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:53:43 +03:00
quic: improve connect error message, debugging info, fix false connect report
- ECONNECTREFUSED has not its own fail message in quic filters - Debug logging in connect eyballing improved - Fix bug in ngtcp2/quiche that could lead to false success reporting. Reported-by: Divy Le Ray Fixes #10245 Closes #10248
This commit is contained in:
parent
0ef2926881
commit
1c5d8acf79
5 changed files with 64 additions and 38 deletions
|
|
@ -166,6 +166,10 @@ bool Curl_cf_is_socket(struct Curl_cfilter *cf);
|
|||
/**
|
||||
* Peek at the socket and remote ip/port the socket filter is using.
|
||||
* The filter owns all returned values.
|
||||
* @param psock pointer to hold socket descriptor or NULL
|
||||
* @param paddr pointer to hold addr reference or NULL
|
||||
* @param premote_ip_str pointer to hold remote addr as string or NULL
|
||||
* @param premote_port pointer to hold remote port number or NULL
|
||||
* Returns error if the filter is of invalid type.
|
||||
*/
|
||||
CURLcode Curl_cf_socket_peek(struct Curl_cfilter *cf,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue