Search squid archive

Re: "moved permanently" loop detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
To: Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx>
Cc: "squid-users@xxxxxxxxxxxxxxx" <squid-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, August 12, 2009 1:00:39 AM
Subject: RE:  "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@xxxxxxxxxxxxxxxxxxx]
Sent: Monday, August 10, 2009 7:46 PM
To: Mike Mitchell
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  "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


      


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux