-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
The HTTP2 streams sometimes don't emit the end
event
#32978
Comments
@szmarczak In events where 'end' is not emitted, is there an unusual delay before it's emitted, or is it not emitted at all (and the session closes abruptly with/without throwing)? |
Not emitted at all. It doesn't throw, just hangs. |
Given the flaky nature of this issue, I can narrow this down to the fact that either Facebook sent you a "falsely" chunk (improbable) or the chunk size you received was over the highwatermark (which paused the stream and since you're waiting for the 'end' event before resuming, it hung up). |
But there is a |
Refer this (L1023). Lines 1009 to 1025 in a4e273b
|
A more consistent repro would be to create a http2 server that does what @rexagod mentioned or inspect the network traffic of facebook.com on wireshark |
Hi everyone, any fix or solution for this ? |
HI everyone |
Fixed in #33875 |
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
It reproduces 80% of the time. Sometimes it emits the
end
event as expected.What is the expected behavior?
got settings got headers [Object: null prototype] { ... } [numbers here] +got end
What do you see instead?
Additional information
curl works as expected:
First discovered by @kaatt szmarczak/http2-wrapper#38
The text was updated successfully, but these errors were encountered: