-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
src,http2: ensure cleanup if a frame is not sent #47244
Conversation
Call to JS and close the session if a frame is not sent even there is no frameError listener registered by user.
Review requested:
|
The evidence of the absence of 'frameError' listener is the blame is that if you add such a listener to the http2Session in the server side in the test, client can get a response. node/lib/internal/http2/core.js Lines 602 to 615 in 8e203f1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@mcollina are we ready to merge this? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was afraid it would revert the memory leak fix I did a while ago. But, the since the CI is green I think we are good. LGTM.
@RafaelGSS could you reopen that issue? |
Landed in 18e1f3c |
Why? I meant I didn't approve this PR before because I was waiting for the CI to run to guarantee this won't bring back the memory leak issue. |
Call to JS and close the session if a frame is not sent even there is no frameError listener registered by user. PR-URL: #47244 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Call to JS and close the session if a frame is not sent even there is no frameError listener registered by user. PR-URL: #47244 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Call to JS and close the session if a frame is not sent even there is no frameError listener registered by user. PR-URL: #47244 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Call to JS and close the session if a frame is not sent even there is no frameError listener registered by user. PR-URL: #47244 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Fix 41582
Call to JS and close the session if a frame is not sent even there is no frameError listener registered by user.