Search squid archive

Re: Handling slow HTTP client

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

 



ons 2009-11-25 klockan 23:20 +0800 skrev Ryan Chan:
> Hi,
> 
> On Mon, Nov 23, 2009 at 9:59 AM, Henrik Nordstrom
> <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
> > sön 2009-11-22 klockan 21:57 +0800 skrev Ryan Chan:
> >
> > See read_ahead_gap
> >
> 
> ..New directive to set the response buffer size.
> 
> Seems it is used to buffer response, but not request?

Correct.

Buffering of requests is usually not such big problem as most requests
is fairly small, but if you need to delay forwarding of requests to
allow Squid to buffer PUT/POST data then Squid-2.HEAD has some tweaks
for this.

http://www.squid-cache.org/Doc/config/request_body_delay_forward_size/

Not yet ported to Squid-3.

Be warned that setting this too high opens up for a memory consumption
based denial of service attack, so use it carefully.

Regards
Henrik


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

  Powered by Linux