[squid-users] Squid 3.1 and strange "Bad header encountered" error

From: David B. <haazeloud_at_gmail.com>
Date: Tue, 08 Jun 2010 10:14:34 +0200

Hi Squid users,

I think I need some help to understand a new error with squid. :(
I've got several squid boxes, all in 3.0 branch (reverse proxy cache).
All is ok.

Now, I've tried to upgrade one (and only one boxe) to 3.1 branch
(Starting Squid Cache version 3.1.3 for x86_64-pc-linux-gnu...).
This a debian package of squid.

Several times a day, the new squid 3.1 give me theses errors :
2010/06/07 20:14:15| WARNING: HTTP: Invalid Response: Bad header
encountered from http://mypeer_example.com/myimg.gif
<http://image.jeuxvideo.com/pics/forums/bt_forum_profil.gif> AKA
mypeer_example.com
<http://image.jeuxvideo.com/pics/forums/bt_forum_profil.gif>.myimg.gif

No errors like thos on all other 3.0 squid boxes.
No error or warning on the cache peer farm. :(

This user seems to have a similar issue.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582270

Any idea ?

Best regards.

Squid conf :
----------------------------------------
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 1025-65535 # unregistered ports
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
icp_access allow all
htcp_access deny all
http_port 80 vhost

cache_peer XXX.YYY.ZZZ.AAA parent 80 0 no-query originserver no-digest

cache_peer_domain XXX.YYY.ZZZ.AAA mypeer_example.com
<http://image.jeuxvideo.com/pics/forums/bt_forum_profil.gif>

hierarchy_stoplist cgi-bin ?

cache_mem 6144 MB
cache_dir aufs /data/cache 32768 16 256
maximum_object_size 4096 KB
maximum_object_size_in_memory 256 KB

cache_log /data/logs/squid/cache.log
cache_store_log none
access_log none

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320

pconn_timeout 60 seconds
read_timeout 5 minutes
request_timeout 5 seconds
quick_abort_max 0 KB
quick_abort_min 0 KB
client_db off
half_closed_clients off
client_persistent_connections on
server_persistent_connections on

visible_hostname www.mypeer_example.com
<http://image.jeuxvideo.com/pics/forums/bt_forum_profil.gif>
unique_hostname squid1.mypeer_example.com
<http://image.jeuxvideo.com/pics/forums/bt_forum_profil.gif>
via off

snmp_port 0
snmp_access deny all

icp_port 3130
udp_incoming_address 192.168.0.11
udp_outgoing_address 255.255.255.255

coredump_dir /var/spool/squid3

cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA
Received on Tue Jun 08 2010 - 08:14:42 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 08 2010 - 12:00:05 MDT