mirror of https://github.com/nodejs/node.git
Revert "destroy instead of end http connection at end of pipeline"
This reverts commit 4ce1e1fca5
.
To fix test-http-full-response.js. Clearly this is not the correct solution.
Probably need idle timeouts.
pull/22966/head
parent
15bb392afd
commit
8ab238e7de
|
@ -606,7 +606,7 @@ function connectionListener (socket) {
|
|||
res.shouldKeepAlive = shouldKeepAlive;
|
||||
res.addListener('flush', function () {
|
||||
if (flushMessageQueue(socket, responses)) {
|
||||
socket.destroy();
|
||||
socket.end();
|
||||
}
|
||||
});
|
||||
responses.push(res);
|
||||
|
|
Loading…
Reference in New Issue