http: remove duplicate assignments
authorBrian White <mscdex@gmail.com>
Mon, 23 Jul 2012 02:08:13 +0000 (23:08 -0300)
committerBert Belder <bertbelder@gmail.com>
Mon, 23 Jul 2012 09:35:52 +0000 (11:35 +0200)
Closes GH-3754

lib/http.js

index 01aa4ebde80bd21804bdcf52c98eb27a81a43bfc..f7b2f786b69e231d012c8f1daea8c0463c1d183d 100644 (file)
@@ -1482,9 +1482,7 @@ ClientRequest.prototype.onSocket = function(socket) {
     parser.incoming = null;
     req.parser = parser;
 
-    parser.socket = socket;
     socket.parser = parser;
-    parser.incoming = null;
     socket._httpMessage = req;
 
     // Setup "drain" propogation.