On 10/10/2013 7:53 p.m., Ding Guigeng wrote:
thanks a lot.
and then i found another error occurred:
WARNING: unparseable HTTP header field {share memory not exist, need create
new share memory!}
You misunderstand tht is not a message from Squid. That is the HTTP
protocol being sent by the server.
The text Squid is logging inside the {...} block is a quotation of the
bytes received from the server where Squid was expecting to find HTTP
headers.
Like this:
Message from Squid to Server:
GET
/cgi-bin/readmail?folderid=8&folderkey=8&t=readmail_group&mailid=@07d26c3f0100&mode=pre&maxage=3600&base=12.19&ver=13816&sid=NuX4cvD-5bfhMzVn'HTTP/1.1\r\n
Host: mail.qq.com\r\n
\r\n
Message from Server to Squid:
HTTP/1.1 200 OK\r\n
share memory not exist, need create new share memory!
A correct response from server would be like this:
HTTP/1.1 500 Internal Server Error\r\n
Date: Wed, 9 Oct 2013 23:53:09 GMT\r\n
Expires: Wed, 9 Oct 2013 23:53:09 GMT\r\n
Content-Control: no-store\r\n
Content-Length: 53\r\n
\r\n
share memory not exist, need create new share memory!
Amos