-
Notifications
You must be signed in to change notification settings - Fork 198
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
It's hard to extend protocol #79
Comments
besids this , cmux use first N bytes to seperate protocol, N is various。 When cmux match protocol in the order of http(use first 8 bytes) then socks5(use first byte) , the socks handler will never reached! |
(I have little experience with cmux, but) can't you just create your own matcher by defining a |
maybe you need to Match connections in order, first socks then http |
some protocols are private and strange, so I'd like provide a method to write customer defined protocol Matcher.
The text was updated successfully, but these errors were encountered: