[squid-users] Squid 3.5 - icap parsing error

Amos Jeffries squid3 at treenet.co.nz
Sat Aug 29 22:04:58 UTC 2020


On 29/08/20 8:29 am, VON EUW Andreas wrote:
> Hi all,
> 
>  
> 
> I'm trying to integrate a Squid Cache version 3.5.20 for
> x86_64-redhat-linux-gnu with a Symantec Protection Engine 8.1 to do
> virus scaning in a reverse proxy setup.
> 
> I do send all POST requests to our virus scan engine. But icap
> integration does not work as expected. Squid does send a OPTIONS request
> to the icap server.
> 
> We get a valid answer from Symantec Protection Engine. But squid fails
> afterwards with a parsing exception:
> 
>  
> 
> 2020/08/26 10:04:54.590| 58,3| HttpMsg.cc(173) parse: HttpMsg::parse:
> failed to find end of headers (eof: 0) in 'ICAP/1.0 200 OK
...
> 
> X-URL-Reputation-License: 1
> '
> 

Message headers are supposed to be ended by an empty line. As this log
entry says "failed to find end of headers" and you can see from the
buffer content displayed, there is no empty line. Which would look like:

> X-URL-Reputation-License: 1
>
> '

So Squid is waiting for the rest of the headers to arrive from the server.


Amos


More information about the squid-users mailing list