We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5166653 commit 4341817Copy full SHA for 4341817
lib/_http_server.js
@@ -481,6 +481,9 @@ function connectionListener(socket) {
481
function parserOnIncoming(req, shouldKeepAlive) {
482
incoming.push(req);
483
484
+ // Set to zero to communicate that we have finished parsing.
485
+ socket.parser.parsingHeadersStart = 0;
486
+
487
// If the writable end isn't consuming, then stop reading
488
// so that we don't become overwhelmed by a flood of
489
// pipelined requests that may never be resolved.
0 commit comments