Browse Source

Remove debugging messages in HTTP client

v0.7.4-release
Ryan 16 years ago
parent
commit
af40ae6b8f
  1. 4
      src/http.js

4
src/http.js

@ -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
}
});

Loading…
Cancel
Save