http2: do not falsely emit 'aborted' on push · nodejs/node@ca933ce · GitHub
Skip to content

Commit ca933ce

Browse files
apapirovskiBethGriggs
authored andcommitted
http2: do not falsely emit 'aborted' on push
A push stream should have its writable side closed upon receipt, to avoid emitting the 'aborted' event when the readable side is closed. Backport-PR-URL: #22850 PR-URL: #22878 Fixes: #22851 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 49f44f3 commit ca933ce

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

lib/internal/http2/core.js

Lines changed: 1 addition & 0 deletions

test/parallel/test-http2-server-push-stream.js

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)