Re: Re: squid_curtime can be smaller than e->lastref time?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 8 Apr 2002 10:26:22 +0200

On Monday 08 April 2002 07:19, ÂíÁÕ wrote:

> From your reply, I learned that the squid_curtime can be smaller
> when you have changed your system clock "backwards". Are there
> existing any other cases that squid_curtime is smaller? (I mean as
> a squid server running perfectly for a big cummunity, we should not
> change the system time.)

Not that I know of. Why?

Pleaase note that the condition you originally asked on is a <= test,
not a < test.

> IMHO,I always take it for granted that squid use second as the
> minimum metric for time recording. As I have only read a part of
> source codes of squid, maybe my opinion is not right. Am I right?

Timing related to requests and numerous other items uses more
detailed time metrics. You also have the variables "current_dtime"
and "current_time".

Regards
Henrik
Received on Mon Apr 08 2002 - 03:24:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:58 MST