Revert "destroy instead of end http connection at end of pipeline"
This reverts commit 4ce1e1fca59bc6ad6e2d19643db2ed3159ccb7dc. To fix test-http-full-response.js. Clearly this is not the correct solution. Probably need idle timeouts.
This commit is contained in:
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…
x
Reference in New Issue
Block a user