]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Fri, 11 Jul 2014 00:15:30 +0000 (18:15 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Fri, 11 Jul 2014 00:15:30 +0000 (18:15 -0600)
src/PeerPoolMgr.cc
src/ssl/PeerConnector.h

index 7ffc9f6290f564a3949e9f8f65e87845356fc149..d96a787c2e96bed129933766253945852808ac7e 100644 (file)
@@ -115,7 +115,7 @@ PeerPoolMgr::handleOpenedConnection(const CommConnectCbParams &params)
                             MyAnswerDialer(this, &PeerPoolMgr::handleSecuredPeer));
 
         const int peerTimeout = peer->connect_timeout > 0 ?
-            peer->connect_timeout : Config.Timeout.peer_connect;
+                                peer->connect_timeout : Config.Timeout.peer_connect;
         const int timeUsed = squid_curtime - params.conn->startTime();
         // Use positive timeout when less than one second is left for conn.
         const int timeLeft = max(1, (peerTimeout - timeUsed));
index ea31d87b4b9986dd14c9f9255b3624e805d881c4..4607e025e3ad2ad007fbcb6484eef4268fce290c 100644 (file)
@@ -77,7 +77,7 @@ public:
  * establishment timeout and close the connection on timeouts. This is probably
  * better than having dedicated (or none at all!) timeouts for peer selection,
  * DNS lookup, TCP handshake, SSL handshake, etc. Some steps may have their
- * own timeout, but not all steps should be forced to have theirs. 
+ * own timeout, but not all steps should be forced to have theirs.
  * XXX: tunnel.cc and probably other subsystems does not have an "overall
  * connection establishment" timeout. We need to change their code so that they
  * start monitoring earlier and close on timeouts. This change may need to be
@@ -126,7 +126,7 @@ protected:
 
     /// Sets the read timeout to avoid getting stuck while reading from a
     /// silent server
-    void setReadTimeout(); 
+    void setReadTimeout();
 
     void initializeSsl(); ///< Initializes SSL state