Browse Source

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.
v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
8ab238e7de
  1. 2
      lib/http.js

2
lib/http.js

@ -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…
Cancel
Save