Remove debugging messages in HTTP client
authorRyan <ry@tinyclouds.org>
Thu, 13 Aug 2009 13:03:28 +0000 (15:03 +0200)
committerRyan <ry@tinyclouds.org>
Thu, 13 Aug 2009 13:03:28 +0000 (15:03 +0200)
src/http.js

index 5895d59..568d0a7 100644 (file)
@@ -437,11 +437,11 @@ node.http.createClient = function (port, host) {
       return;
     }
      
-    node.debug("HTTP CLIENT onDisconnect. readyState = " + client.readyState);
+    //node.debug("HTTP CLIENT onDisconnect. readyState = " + client.readyState);
 
     // If there are more requests to handle, reconnect.
     if (requests.length > 0 && client.readyState != "opening") {
-      node.debug("HTTP CLIENT: reconnecting readyState = " + client.readyState);
+      //node.debug("HTTP CLIENT: reconnecting readyState = " + client.readyState);
       client.connect(port, host); // reconnect
     }
   });