Bruno Guerreiro wrote:
Hi Amos,
-----Original Message-----
From: Amos Jeffries [mailto:squid3@xxxxxxxxxxxxx]
Sent: quarta-feira, 1 de Abril de 2009 2:38
To: Bruno Guerreiro
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re: Invalid Response/Malformed
<snip>
By all appearances you are getting a unspecified length object back,
with
probably no data length.
This is an invalid HTTP reply exactly as the error message said.
From this info I have no idea at present why the server would be
generating such replies.
Amos
Hmm, but then how can I Access other sites also send a unspecified
length back? Or am I missing something?
wget --server-response http://www.google.pt
--2009-04-01 11:11:39-- http://www.google.pt/
Resolving www.google.pt... 74.125.43.99, 74.125.43.103, 74.125.43.104,
...
Connecting to www.google.pt|74.125.43.99|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.0 200 OK
Cache-Control: private, max-age=0
Date: Wed, 01 Apr 2009 10:11:39 GMT
Expires: -1
Content-Type: text/html; charset=ISO-8859-1
Server: HAL 9000
Set-Cookie:
PREF=ID=473c55dd32d735e5:TM=1238580699:LM=1238580699:S=YTk2s6Pk1NlyJjv6;
expires=Fri, 01-Apr-2011 10:11:39 GMT; path=/; domain=.google.pt
Length: unspecified [text/html]
Saving to: `index.html'
TIA,
Bruno Guerreiro
I think they send unspecified length with data >1 bytes.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
Current Beta Squid 3.1.0.6