http2: fix premature destroy · nodejs/node@3c8c53f · GitHub
Skip to content

Commit 3c8c53f

Browse files
apapirovskiBethGriggs
authored andcommitted
http2: fix premature destroy
Check stream._writableState.finished instead of stream.writable as the latter can lead to premature calls to destroy and dropped writes on busy processes. Backport-PR-URL: #22850 PR-URL: #21051 Fixes: #20750 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 322f39d commit 3c8c53f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/internal/http2/core.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)