From: wessels <> Date: Sun, 18 Oct 1998 15:05:43 +0000 (+0000) Subject: clock skew debugging X-Git-Tag: SQUID_3_0_PRE1~2550 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1c811def8b8a35a2c9a44ccdd1f0cc2614c2f1e;p=thirdparty%2Fsquid.git clock skew debugging --- diff --git a/src/http.cc b/src/http.cc index cd36edf078..87ecf4301d 100644 --- a/src/http.cc +++ b/src/http.cc @@ -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); } }