Skip to content

Commit 632b7d8

Browse files
committed
Revert "http: check if incoming parser has already been freed"
This reverts commit 9f4c3b0.
1 parent 9f4c3b0 commit 632b7d8

File tree

2 files changed

+1
-51
lines changed

2 files changed

+1
-51
lines changed

lib/http.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ IncomingMessage.prototype._dump = function() {
420420
return;
421421

422422
this._dumped = true;
423-
if (this.socket.parser) this.socket.parser.incoming = null;
423+
this.socket.parser.incoming = null;
424424
this.push(null);
425425
readStart(this.socket);
426426
};

test/simple/test-regress-GH-4948.js

-50
This file was deleted.

0 commit comments

Comments
 (0)