[squid-users] Squid 3.2.0.13 dropping first byte

From: Keith Squier <keith.squier_at_gmail.com>
Date: Sun, 26 Feb 2012 20:48:12 -0600

I am using Squid 3.2.0.13 with Fedora 16 and Firefox 10.0.1. Everything
works fine most of the time. Occasionally, Firefox will fail to display
pages or images because Squid returns them to Firefox without the first
byte. The first byte exists when received from the wire, but Squid
drops it when passing it to Firefox. A good example is
http://hahahockey.org/. The first thing in the index.html from that
site is the <!DOCTYPE ...> tag. If you look at the packets coming from
the wire using Wireshark, you will see the first "<". But, if you look
at the packet that Squid passes to Firefox, that first "<" is missing.
This is also true with the images from that same site. The first byte
is missing, so Firefox or GIMP cannot display them. If you manually
insert the missing byte using something like Vim, everything works. You
can also verify this by using wget without the proxy to get the
pages/images and then again through Squid (or even by using squidclient)
and then diff'ing the two.

I cannot find a reason as to why Squid is doing this. Has anyone else
have this problem? Any ideas as to what is causing it?

Keith
Received on Mon Feb 27 2012 - 02:48:20 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 27 2012 - 12:00:04 MST