Browse Source

Don't free http parser for the client!

Fixes test-http-client-race.js, test-http.js
v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
6f21ac1282
  1. 1
      lib/http.js

1
lib/http.js

@ -574,7 +574,6 @@ function Client ( ) {
self.addListener("end", function () { self.addListener("end", function () {
parser.finish(); parser.finish();
freeParser(parser);
debug("self got end closing. readyState = " + self.readyState); debug("self got end closing. readyState = " + self.readyState);
self.close(); self.close();

Loading…
Cancel
Save