]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 5 Feb 2013 01:13:29 +0000 (18:13 -0700)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 5 Feb 2013 01:13:29 +0000 (18:13 -0700)
src/client_side.cc
src/store_swapout.cc

index 93d0143253473254fc008834f15516ad6710a8f1..800fc25a4770553bf9dd4f539a6f2d8f1bb4c8e6 100644 (file)
@@ -2295,7 +2295,7 @@ parseHttpRequest(ConnStateData *csd, HttpParser *hp, HttpRequestMethod * method_
 #endif
 
     debugs(33,5, HERE << "repare absolute URL from " <<
-                    (csd->transparent()?"intercept":(csd->port->flags.accelSurrogate ? "accel":"")));
+           (csd->transparent()?"intercept":(csd->port->flags.accelSurrogate ? "accel":"")));
     /* Rewrite the URL in transparent or accelerator mode */
     /* NP: there are several cases to traverse here:
      *  - standard mode (forward proxy)
@@ -4033,8 +4033,8 @@ clientHttpConnectionsOpen(void)
         }
 
         if (s->flags.tunnelSslBumping &&
-            !s->staticSslContext &&
-            !s->generateHostCertificates) {
+                !s->staticSslContext &&
+                !s->generateHostCertificates) {
             debugs(1, DBG_IMPORTANT, "Will not bump SSL at http_port " << s->s << " due to SSL initialization failure.");
             s->flags.tunnelSslBumping = false;
         }
index d36c86ccb7d1ae9a7803c96b7ec54f463320f0be..08f8878bb27131ac21f7f65d472807695da73c27 100644 (file)
@@ -440,16 +440,16 @@ StoreEntry::mayStartSwapOut()
         if (expectedEnd < 0 && store_status != STORE_OK) {
             const int64_t maxKnownSize = mem_obj->availableForSwapOut();
             debugs(20, 7, HERE << "maxKnownSize= " << maxKnownSize);
-                /*
-                 * NOTE: the store_maxobjsize here is the max of optional
-                 * max-size values from 'cache_dir' lines.  It is not the
-                 * same as 'maximum_object_size'.  By default, store_maxobjsize
-                 * will be set to -1.  However, I am worried that this
-                 * deferance may consume a lot of memory in some cases.
-                 * Should we add an option to limit this memory consumption?
-                 */
-                debugs(20, 5,  HERE << "Deferring swapout start for " <<
-                       (store_maxobjsize - maxKnownSize) << " bytes");
+            /*
+             * NOTE: the store_maxobjsize here is the max of optional
+             * max-size values from 'cache_dir' lines.  It is not the
+             * same as 'maximum_object_size'.  By default, store_maxobjsize
+             * will be set to -1.  However, I am worried that this
+             * deferance may consume a lot of memory in some cases.
+             * Should we add an option to limit this memory consumption?
+             */
+            debugs(20, 5,  HERE << "Deferring swapout start for " <<
+                   (store_maxobjsize - maxKnownSize) << " bytes");
             return true; // may still fit, but no final decision yet
         }
     }