mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
destroy instead of end http connection at end of pipeline
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user