Skip to content

Commit 74046ce

Browse files
lpincatargos
authored andcommitted
http2: do not override the allowHalfOpen option
The constructors of `tls.Server` and `Http2Server` call the super constructors without options so the `allowHalfOpen` option is never used regardless of its value. PR-URL: #27623 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent c33e834 commit 74046ce

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎lib/internal/http2/core.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2643,7 +2643,6 @@ function connectionListener(socket) {
26432643
functioninitializeOptions(options){
26442644
assertIsObject(options,'options');
26452645
options={ ...options};
2646-
options.allowHalfOpen=true;
26472646
assertIsObject(options.settings,'options.settings');
26482647
options.settings={ ...options.settings};
26492648

0 commit comments

Comments
 (0)