Re: Squid-3 and large response headers

From: Henrik Nordström <henrik@dont-contact.us>
Date: Wed, 09 Jan 2008 09:55:31 +0100

tis 2008-01-08 klockan 23:39 -0700 skrev Alex Rousskov:

> The ICAPXaction::readBuf data member stores incoming headers. It is
> initialized as follows:
>
> readBuf.init(SQUID_TCP_SO_RCVBUF, SQUID_TCP_SO_RCVBUF);

Ok. So it should then be limited to TCP_SO_RCVBUF before seeing the same
problem. Better than the 4k limit seen elsewhere, but still a problem.

The problem in the HTTP server-side client code was that it never
allowed the buffer to grow to make room for the full response header.
And with the buffer initialized at 4k it easily got stuck there..

Regards
Henrik

Received on Wed Jan 09 2008 - 01:58:05 MST

This archive was generated by hypermail pre-2.1.9 : Wed Jan 30 2008 - 12:00:09 MST