http2: emit close event if request aborted · nodejs/node@2ea2725 · GitHub
Skip to content

Commit 2ea2725

Browse files
apapirovskijasnell
authored andcommitted
http2: emit close event if request aborted
Fix Http2ServerRequest and Http2ServerResponse to emit close event if the request is aborted before response.end can be called. Fixes: #15385 PR-URL: #15415 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f0e411d commit 2ea2725

2 files changed

Lines changed: 51 additions & 2 deletions

File tree

lib/internal/http2/compat.js

Lines changed: 10 additions & 2 deletions
Lines changed: 41 additions & 0 deletions

0 commit comments

Comments
 (0)