Re: [PATCH] add support for write I/O timeout

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 22 Dec 2009 01:11:50 +1300

Tsantilas Christos wrote:
>
> This patch add support for write timeouts.
> The patch also exist for squid3.1 branch
> The development sponsored by the Measurement Factory
>
>
> Description:
> The write I/O timeout should trigger if Squid has data to write but
> the connection is not ready to accept more data for the specified time.
> If the write times out, the Comm caller's write handler is called with
> an ETIMEDOUT COMM_ERROR error.
>
> Comm may process a single write request in several chunks, without
> caller's knowledge. The waiting time is reset internally by Comm after
> each chunk is written.
>
> Default timeout value is 15 minutes.
>
> The implementation requires no changes in Comm callers but it adds write
> timeouts to all connections, including the connections that have
> context-specific write timeouts. I think that is fine.
>
>
> -
> Christos
>

+1. ... and applied.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.15
Received on Mon Dec 21 2009 - 12:12:01 MST

This archive was generated by hypermail 2.2.0 : Mon Dec 21 2009 - 12:00:02 MST