You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that when send an http3 request firstly, the dns result is ai_socktype=1(SOCK_DGRAM) and ai_protocol=17(IPPROTO_UDP) and was cached. Then use this dns cache to create a tcp socket, the params is ai_socktype=1(SOCK_STREAM) and ai_protocol=17(IPPROTO_UDP), which is an error input(a stream socket can't use for udp protocol). So system return error - Protocol not supported.
I did this
CURLOPT_FRESH_CONNECT
andCURLOPT_FORBID_REUSE
to 1, for avoid reusing http3 connectionI expected the following
Curl_socket()
:Curl_resolv()
andCurl_socket()
ai_socktype=1(SOCK_DGRAM)
andai_protocol=17(IPPROTO_UDP)
and was cached. Then use this dns cache to create a tcp socket, the params isai_socktype=1(SOCK_STREAM)
andai_protocol=17(IPPROTO_UDP)
, which is an error input(a stream socket can't use for udp protocol). So system return error - Protocol not supported.curl/libcurl version
operating system
The text was updated successfully, but these errors were encountered: