summaryrefslogtreecommitdiff
path: root/lib/_http_server.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_http_server.js')
-rw-r--r--lib/_http_server.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/_http_server.js b/lib/_http_server.js
index 2c48ab9191..862b7c970b 100644
--- a/lib/_http_server.js
+++ b/lib/_http_server.js
@@ -618,8 +618,6 @@ function resOnFinish(req, res, socket, state, server) {
assert(state.incoming.length === 0 || state.incoming[0] === req);
state.incoming.shift();
- // Reset the .incoming property so that the request object can be gc'ed.
- if (socket.parser) socket.parser.incoming = null;
// If the user never called req.read(), and didn't pipe() or
// .resume() or .on('data'), then we call req._dump() so that the