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
WSS over HTTP/2 returns invalid RST_STREAM frame #1752
Comments
rst_stream is almost always called from the h2 parser... in the case a ws-over-h2 is closing though, it can't reference the h2n parser sid context to get the sid to send... it's unrelated at that time. https://bugzilla.mozilla.org/show_bug.cgi?id=1590299 #1752
rst_stream is almost always called from the h2 parser... in the case a ws-over-h2 is closing though, it can't reference the h2n parser sid context to get the sid to send... it's unrelated at that time. https://bugzilla.mozilla.org/show_bug.cgi?id=1590299 #1752
I pushed a patch on master and v3.2-stable that should solve the wrong sid on RST_STREAM when it's ws-over-h2 (only). I'm not sure that's the root cause of the problem, since it's already decided to close the wsi at that point and the bugzilla bug is complaining the ws link is closing unexpectedly. Also I opened a firefox bugzilla 9 months ago about ws-over-h2 behaviour I can still see from the lws testserver even with this patch, it may be related |
Btw https://libwebsockets.org/testserver is updated to current master and should demonstrate the RST_STREAM fix. It still passes all h2spec tests in CI as well. |
This issue was first reported to Mozilla in bug 1590299.
The text was updated successfully, but these errors were encountered: