-
Notifications
You must be signed in to change notification settings - Fork 2k
Reject websocket extensions? #1508
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
Comments
#882 might cover this |
I think this does it, but not sure, (certainly sends blank extensions to my websocket), seems to be hard to get the details of the response in chrome dev tools
|
Was a bug with large packets (I ended up decoding the header twice, but had already eaten header data) in my websocket implementation I think the above code does still do what I want, but it would be good to know if the proxy does propogate my header changes |
I'm currently routing websocket connections via http-proxy to my own c++ websocket app.
When I send large text frames from my client (chrome), I'm getting some odd opcodes, reserved bits set etc, which I don't recognise, so I kick the client(proxy) from my server (app)
After some debugging, I believe these are opcodes from deflate extensions (still figuring it out).
I don't ever get this problem when I connect directly to my app/websocket code (sending huge frames without missing a beat)
I think the proxy is accepting the deflate extension, although I reject it, and I'm getting deflate-compressed packets(hence the opcodes)
I have 2 questions
Maybe I've overlooked some specific documentation over this, or searched issues for the wrong terms.
The text was updated successfully, but these errors were encountered: