Re: [squid-users] "moved permanently" loop detection

From: Chudy Fernandez <chudy_fernandez_at_yahoo.com>
Date: Wed, 12 Aug 2009 04:08:03 -0700 (PDT)

I've encounter 302 loop cache hit and solved but not for 301.. can you provide some link? ----- Original Message ---- From: Mike Mitchell <Mike.Mitchell_at_sas.com> To: Henrik Nordstrom <henrik_at_henriknordstrom.net> Cc: "squid-users_at_squid-cache.org" <squid-users_at_squid-cache.org> Sent: Wednesday, August 12, 2009 1:00:39 AM Subject: RE: [squid-users] "moved permanently" loop detection 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 Wed Aug 12 2009 - 11:08:10 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 12 2009 - 12:00:02 MDT