Remove debugging messages in HTTP client

This commit is contained in:
Ryan committed 2009-08-13 15:03:28 +02:00
1 parent 79ff085c4a
commit af40ae6b8f
1 file changed
+2 -2
+2 -2
View 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
}
});