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: https://github.com/nodejs/node/pull/27623 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
639b85950b
commit
3309c856bc
@ -2641,7 +2641,6 @@ function connectionListener(socket) {
|
||||
function initializeOptions(options) {
|
||||
assertIsObject(options, 'options');
|
||||
options = { ...options };
|
||||
options.allowHalfOpen = true;
|
||||
assertIsObject(options.settings, 'options.settings');
|
||||
options.settings = { ...options.settings };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user