-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Cannot reuse a TLS socket for a HTTP2 session #33343
Comments
The latest code does not reproduce this issue. |
What latest code? Do you mean Node.js master branch? |
Yes, it may have been fixed in some commit, I didn't reproduce this issue in macOS v10.14. |
Indeed, it's fixed on the master branch. Feel free to close the issue, but I'd prefer to keep this open until there's a release that fixes it. |
Closing since a fix has been released a while ago. |
I ran into this too. I've done some quick tests with the repro above, and:
Doing some digging through the changelog, looks like this is the fix: #33209. That hasn't yet been backported to v12 though. It'd be great if that could be included in the next v12 release to get this fixed, since it causes some big problems for lots of interesting HTTP/2 use cases (like detecting HTTP/2 support during TLS setup, as in https://github.com/szmarczak/http2-wrapper/). I'm not sure where to get started with making that happen, but maybe @addaleax can help? |
Same here, I tested v8.17.0, v10.22.0, v12.18.3, v14.8.0, and only v12.18.3 could reproduce this problem. see my reproduce: https://github.com/fenying/nodejs-bug-code-h2-binding |
This is a really serious bug, could it please be opened up? cc @addaleax |
Especially serious since 12 is LTS. My |
@grantila Correct me if I’m wrong, but based on the conversation above, backporting #33209 to v12.x would fix this, right? I’ll open a backport PR as suggested over there, there isn’t really anything to do here in the issue anymore. If there’s still problems with backporting, feel free to help with debugging those |
@grantila Also, I might be wrong, but if the fix works, then |
I'll be damned, it does work @addaleax, thanks! |
by applying the workaround as in nodejs/node#33343 fix #104
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
What do you see instead?
Additional information
Reference: #16256
The text was updated successfully, but these errors were encountered: