]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
clock skew debugging
authorwessels <>
Sun, 18 Oct 1998 15:05:43 +0000 (15:05 +0000)
committerwessels <>
Sun, 18 Oct 1998 15:05:43 +0000 (15:05 +0000)
src/http.cc

index cd36edf0788ea67499f83733c399a25f164032c3..87ecf4301d856270b7f1aa0073717e79eb697d5b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: http.cc,v 1.329 1998/10/17 05:38:45 wessels Exp $
+ * $Id: http.cc,v 1.330 1998/10/18 09:05:43 wessels Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -334,8 +334,8 @@ httpProcessReplyHeader(HttpStateData * httpState, const char *buf, int size)
        ctx_exit(ctx);
        if (reply->date > -1 && !httpState->peer) {
            int skew = abs(reply->date - squid_curtime);
-           if (skew > 7200)
-               debug(11, 1) ("%s's clock is skewed by %d seconds!\n",
+           if (skew > 86400)
+               debug(11, 3) ("%s's clock is skewed by %d seconds!\n",
                        httpState->request->host, skew);
        }
     }