[squid-users] "moved permanently" loop detection

From: Mike Mitchell <Mike.Mitchell_at_sas.com>
Date: Mon, 10 Aug 2009 16:58:34 -0400

Would it be possible to add a simple loop detection for "moved permanently" response codes?
We've been hit a couple of times with loops from URLs like http://wwwcache.localtechwire.com/favicon.png.
I know the fix should really go into the browser, but IE is broken and Microsoft won't fix it.
See http://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=357905

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.

Mike Mitchell
SAS Institute Inc.
Mike.Mitchell_at_sas.com
(919) 531-6793
Received on Mon Aug 10 2009 - 20:58:46 MDT

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