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
I met with a weird issue. When using socks5 proxy, reqwest will use HTTP/1.1 during request, though HTTP/2 when using http/https proxy. Through Charles and verbose log I found that no ALPN were sent when using socks5 proxy.
I met with a weird issue. When using socks5 proxy, reqwest will use HTTP/1.1 during request, though HTTP/2 when using http/https proxy. Through Charles and verbose log I found that no ALPN were sent when using socks5 proxy.
I checked source code and noticed such codes:
reqwest/src/connect.rs
Lines 148 to 150 in ddf7f24
reqwest/src/connect.rs
Lines 205 to 225 in ddf7f24
I think here should clone
tls
instead oftls_proxy
sincetls_proxy.alpn_protocols.clear()
introduced in #466 fixing #459.I simply verified my thoughts with testing, but I'm still uncertain, so I submit this issue.
The text was updated successfully, but these errors were encountered: