Skip to content
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

fix(node-http-handler): handle close event in H2 from server side #3619

Merged
merged 1 commit into from
May 18, 2022

Conversation

AllanZhengYP
Copy link
Contributor

@AllanZhengYP AllanZhengYP commented May 18, 2022

Issue

May fixes #3577 (comment).

Description

I found the H2 handler's session cache cannot evict the session if the session is closed from the server side. Hence when making the new request, the users will see error that the request made on destroyed session.

This change handles this event. I also re-evaluated the current session events, and made sure the necessary events are handled.

Testing

Unit test

Additional Infomation

Whether this will fix the mentioned issue cannot be fully confirmed without server-side logs. But I could reproduce the same mentioned issue by server-side closing the session.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP requested a review from a team as a code owner May 18, 2022 17:20
@github-actions
Copy link

github-actions bot commented Jun 2, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants