You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http2: emit error on canceled streams when aborted event is not emitted
When a client HTTP/2 stream's writable side is already ended (e.g.
GET requests), receiving RST code 8 (NGHTTP2_CANCEL) emitted neither
the 'aborted' nor the 'error' event, causing the stream to close
silently. This happened because the 'aborted' event is only emitted
when the writable side is still open, but the NGHTTP2_CANCEL code was
unconditionally excluded from error generation assuming the 'aborted'
event would cover it.
Fix by only skipping error generation for NGHTTP2_CANCEL when the
'aborted' event was actually emitted.
Fixes: #56627
0 commit comments