Skip to content

Commit

Permalink
[minor] Do not set allowHalfOpen to false
Browse files Browse the repository at this point in the history
Use the default value when the HTTP server is created internally.
  • Loading branch information
lpinca committed Dec 1, 2017
1 parent a166af4 commit b3bc7db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/WebSocketServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class WebSocketServer extends EventEmitter {
});
res.end(body);
});
this._server.allowHalfOpen = false;
this._server.listen(options.port, options.host, options.backlog, callback);
} else if (options.server) {
this._server = options.server;
Expand Down

0 comments on commit b3bc7db

Please sign in to comment.