destroy instead of end http connection at end of pipeline

pull/22966/head
Ryan Dahl 2010-05-05 01:32:18 -07:00
parent 3674563dd5
commit 4ce1e1fca5
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.end();
socket.destroy();
}
});
responses.push(res);