Re: [squid-users] testing http acceleration - seems like it isn't working

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 02 May 2012 11:55:10 +1200

On 02.05.2012 06:37, Chris Fulton wrote:
> Hi,
>
> I'm running a simple test like this:
>
> In one window I am running:
>
> tail -f /var/log/httpd/access_log
>
> In another window (on a different machine) I am running:
>
> wget http://www.test.com/testfile.zip
>
> I would expect apache to log the event as soon as the socket closes,
> which would be before the wget client is finished downloading it. I
> am
> under the impression that squid is supposed to allow apache to close
> the socket and then squid will deal with sending data down the wire
> to
> slow client.
>
> Unfortunately, no matter how much I try and slow down my wget client
> (tc, or simply downloading a large file) apache is waiting until the
> client has downloaded the file to log the request. This means squid
> isn't doing accel properly?
>

The feature you are looking for was removed some time ago. It opens the
proxy to Slow-Loris style DoS amplification attacks against the backend.

"Acceleration" in Squid is oriented around multiplexing, caching,
validation, and related byte reduction optimizations.

Amos
Received on Tue May 01 2012 - 23:55:14 MDT

This archive was generated by hypermail 2.2.0 : Wed May 02 2012 - 12:00:03 MDT