direct responce from ICAP server in REQMOD

From: Tsantilas Christos <>
Date: Wed, 28 Mar 2007 21:03:28 +0300

 When an ICAP server responds with an http response in request
modification, the web client waits more data from
the proxy. Iam using the squid3-icap branch.

An example of such ICAP response is:

ICAP/1.0 200 OK
Connection: keep-alive
Encapsulated: res-hdr=0, res-body=108

HTTP/1.0 403 Forbidden
Content-Type: text/html
Content-Language: en
Connection: close

<H1>Permition deny!<H1>

The proxy server sends the correct data to the client, but does not
close the connection after send all data.
Adding the line
in ClientHttpRequest::endRequestSatisfaction method solves the problem
but I think that the solution is not so simple, we need to know how to
setup the StoreEntry...

Received on Wed Mar 28 2007 - 12:02:07 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Apr 01 2007 - 12:00:01 MDT