Search squid archive

Re: testing http acceleration - seems like it isn't working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux