Uh oh!
There was an error while loading. Please reload this page.
default port for the socks5h scheme - #972
Conversation
Can add sync and async tests for |
lovelydinosaur
commented
Oct 25, 2024
Thanks. Do you know implementation would need to change in establishing the connection in |
I don't think so:
|
We do already use "proxy resolves the hostname" behaviour, so our SOCKS support is "sock5h". https://superuser.com/questions/1762341/does-chromium-not-support-socks5h-with-the-h-in-the-end It's not obvious that we should add a synonym to the protocol name. (Staying in line with chromium's behaviour here seems reasonable, perhaps?) |
It is true that |
lovelydinosaur
commented
Oct 28, 2024
Okay yep. |
mateuszlitwin
commented
Oct 28, 2024
I think you are looking at the wrong revision? |
lovelydinosaur
left a comment
There was a problem hiding this comment.
Okay, yep.
Thanks! 🙏🏼
mateuszlitwin
commented
Oct 28, 2024
@tomchristie Could you revisit encode/httpx#3178 after merging this PR? I think this might have been the blocker. |
Summary
This change is needed to unblock encode/httpx#3178 and support
socks5hscheme (server-side hostname resolution socks5 proxy). Support for thesocks5his needed to ensure global environment variables likeall_proxy="socks5h://..."can be used reliably with different programs (some of which are httpx based).Checklist