]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix debug sections
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 28 Jan 2011 13:52:16 +0000 (15:52 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 28 Jan 2011 13:52:16 +0000 (15:52 +0200)
src/ipc/Forwarder.cc
src/ipc/Inquirer.cc
src/ipc/UdsOp.cc
src/snmpx/Forwarder.cc
src/snmpx/Inquirer.cc

index bfb3eb02e85d0405f1459a3e62b471a538eca39f..f60515a8050db7fd50cb1d0c455bfb8867440224 100644 (file)
@@ -44,7 +44,7 @@ Ipc::Forwarder::start()
     debugs(54, 3, HERE);
 
     typedef NullaryMemFunT<Forwarder> Dialer;
-    AsyncCall::Pointer callback = JobCallback(16, 5, Dialer, this, Forwarder::handleRemoteAck);
+    AsyncCall::Pointer callback = JobCallback(54, 5, Dialer, this, Forwarder::handleRemoteAck);
     if (++LastRequestId == 0) // don't use zero value as request->requestId
         ++LastRequestId;
     request->requestId = LastRequestId;
@@ -99,7 +99,7 @@ Ipc::Forwarder::RequestTimedOut(void* param)
     Must(param != NULL);
     Forwarder* fwdr = static_cast<Forwarder*>(param);
     // use async call to enable job call protection that time events lack
-    CallJobHere(16, 5, fwdr, Forwarder, requestTimedOut);
+    CallJobHere(54, 5, fwdr, Forwarder, requestTimedOut);
 }
 
 /// called when Coordinator fails to start processing the request [in time]
@@ -126,7 +126,7 @@ Ipc::Forwarder::handleTimeout()
 void
 Ipc::Forwarder::handleException(const std::exception& e)
 {
-    debugs(16, 3, HERE << e.what());
+    debugs(54, 3, HERE << e.what());
     mustStop("exception");
 }
 
index 309232e03dafbdaa44a29e46ab6ec4ae9c00d451..9c6e123d896e43f50276a87caaa7481fe6b83f91 100644 (file)
@@ -64,7 +64,7 @@ Ipc::Inquirer::inquire()
     }
 
     Must(request->requestId == 0);
-    AsyncCall::Pointer callback = asyncCall(16, 5, "Mgr::Inquirer::handleRemoteAck",
+    AsyncCall::Pointer callback = asyncCall(54, 5, "Mgr::Inquirer::handleRemoteAck",
                                             HandleAckDialer(this, &Inquirer::handleRemoteAck, NULL));
     if (++LastRequestId == 0) // don't use zero value as request->requestId
         ++LastRequestId;
@@ -178,7 +178,7 @@ Ipc::Inquirer::RequestTimedOut(void* param)
     Must(param != NULL);
     Inquirer* cmi = static_cast<Inquirer*>(param);
     // use async call to enable job call protection that time events lack
-    CallJobHere(16, 5, cmi, Inquirer, requestTimedOut);
+    CallJobHere(54, 5, cmi, Inquirer, requestTimedOut);
 }
 
 /// called when the strand failed to respond (or finish responding) in time
index a4da136956172d9f103dc7ba02339b40871fdfbc..88b1053ad47fff8086ee70713afbebd1f9fe4015 100644 (file)
@@ -146,7 +146,7 @@ int Ipc::ImportFdIntoComm(int fd, int socktype, int protocol, Ipc::FdNoteId note
         comm_import_opened(fd, ipAddr, COMM_NONBLOCKING, Ipc::FdNote(noteId), addr_info);
         ipAddr.FreeAddrInfo(addr_info);
     } else {
-        debugs(16, DBG_CRITICAL, HERE << "ERROR: FD " << fd << ' ' << xstrerror());
+        debugs(54, DBG_CRITICAL, HERE << "ERROR: FD " << fd << ' ' << xstrerror());
         ::close(fd);
         fd = -1;
     }
index 8cba9b7f8e27b0a5eb5bdd3b7267f06a860b3e6b..6c30c17ae94b59a4dc63482a0988af2c96e9db6c 100644 (file)
@@ -25,7 +25,7 @@ Snmp::Forwarder::Forwarder(const Pdu& aPdu, const Session& aSession, int aFd,
 {
     debugs(49, 5, HERE << "FD " << aFd);
     Must(fd >= 0);
-    closer = asyncCall(16, 5, "Snmp::Forwarder::noteCommClosed",
+    closer = asyncCall(49, 5, "Snmp::Forwarder::noteCommClosed",
                        CommCbMemFunT<Forwarder, CommCloseCbParams>(this, &Forwarder::noteCommClosed));
     comm_add_close_handler(fd, closer);
 }
index 2c9fb4b51c061bfa3b0fb36218665c98b165fa1b..73ae1d442a7a00dbf534f3fe4ebd083156f733f8 100644 (file)
@@ -24,7 +24,7 @@ Snmp::Inquirer::Inquirer(const Request& aRequest, const Ipc::StrandCoords& coord
         fd(ImportFdIntoComm(aRequest.fd, SOCK_DGRAM, IPPROTO_UDP, Ipc::fdnInSnmpSocket))
 {
     debugs(49, 5, HERE);
-    closer = asyncCall(16, 5, "Snmp::Inquirer::noteCommClosed",
+    closer = asyncCall(49, 5, "Snmp::Inquirer::noteCommClosed",
                        CommCbMemFunT<Inquirer, CommCloseCbParams>(this, &Inquirer::noteCommClosed));
     comm_add_close_handler(fd, closer);
 }