-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for SOCKS5 state machine #3
Comments
I came across https://github.com/glyph/automat some time ago, would it be a good fit? It might be overkill if the state machine is simple though since h11 implemented its own. |
Eh, let's implement our own state machine, I think there's only a few states for TCP:
Let's keep the states identical for SOCKS4 and SOCKS5 cuz 4 doesn't really have a state machine. :) We'll have to figure out how to handle SOCKS5 UDP for HTTP/3. |
I believe this is covered now?
UDP is addressed separately in #4 |
Forgot to close this! |
We shouldn't be able to make requests before we're authenticated successfully.
The text was updated successfully, but these errors were encountered: