304 Not Modified errors, Henrik's patch doesn't help

From: Andre Albsmeier <andre.albsmeier@dont-contact.us>
Date: Mon, 6 Dec 1999 10:18:38 +0100

We use squid to connect either to some internal websites directly or via
upstream proxies (squid, Peregrine and NetHawk) to the internet. The
browser is netscape-4.7 on various platforms.

We have a curious problem with squid-2.2.STABLE5 (and earlier versions):

Sometimes, when connecting to a site that already had been connected
before, some parts of the page won't load correctly but instead is full
with "304 Not modified" results or improperly loaded images. This
doesn't happen on all websites but for example on dict.leo.org.

I have done some debugging on this and noticed that this mainly appears
when the browser sends a request containing an If-Modified-Since: line
in the header. I can circumvent this problem by patching the browser
binary so that the If-Modified-Since will appear as X-XModified-Since
lines and being ignored therefore or by adding a line to squid.conf
which reads

anonymize_headers deny If-Modified-Since

Then I found Henrik Nordstrom's squid-2.2.STABLE4.unexpected_304_reply.patch
and applied it manually to STABLE5 but this didn't solve the problem.

I am currently living with the anonymize_header line above, but I would
be more interested in solving this problem really.

Any ideas?

Thanks,

        -Andre
Received on Mon Dec 06 1999 - 02:31:39 MST

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