He got hit with another one today. The access log fills to the
maximum file size, then squid dies.
Having squid return a reasonable error to the client may be a
problem. It would probably be sufficient if squid did not cache
the 301/302 return if the Location: field points to the requested
URL. We'd still have the loop, but the remote access to the
web server will rate-limit the loop and make it more apparent to
the web administrators.
Mike Mitchell
-----Original Message-----
From: Henrik Nordstrom [mailto:henrik_at_henriknordstrom.net]
Sent: Monday, August 10, 2009 7:46 PM
To: Mike Mitchell
Cc: squid-users_at_squid-cache.org
Subject: Re: [squid-users] "moved permanently" loop detection
mån 2009-08-10 klockan 16:58 -0400 skrev Mike Mitchell:
> I was thinking a simple string compare of the requested URL and the contents of the 'Location:' field. If the two are the same it's a loop.
If it's cacheble yes.
Regards
Henrik
Received on Tue Aug 11 2009 - 17:00:55 MDT
This archive was generated by hypermail 2.2.0 : Thu Aug 13 2009 - 12:00:03 MDT