Don't free http parser for the client!
authorRyan Dahl <ry@tinyclouds.org>
Wed, 24 Mar 2010 04:41:17 +0000 (21:41 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Wed, 24 Mar 2010 04:41:42 +0000 (21:41 -0700)
Fixes test-http-client-race.js, test-http.js

lib/http.js

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