Browse Source

http: Remove socket ondata/onend in parser cleanup

v0.9.1-release
isaacs 13 years ago
parent
commit
0a414f4caa
  1. 3
      lib/http.js

3
lib/http.js

@ -1256,6 +1256,9 @@ ClientRequest.prototype.onSocket = function(socket) {
var freeParser = function() {
if (parser) {
parsers.free(parser);
parser.socket.onend = null;
parser.socket.ondata = null;
parser.socket = null;
parser = null;
}
};

Loading…
Cancel
Save