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
Ryan Dahl 2010-05-09 21:29:51 -07:00
parent 15bb392afd
commit 8ab238e7de
1 changed files with 1 additions and 1 deletions

View File

@ -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);