mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Remove debugging messages in HTTP client
This commit is contained in:
1 parent
79ff085c4a
commit
af40ae6b8f
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user