Roy T. Fielding wrote:
>
> If a soft timeout (or lingerout) occurs while trying to flush a
> buffer or write inside buff.c or fread'ing from a CGI's output,
> then the timeout would be ignored. This fix is rather nasty,
> since what we would really like to do is flush the output if we
> timeout on a read, but we can't do that without differentiating
> between read and write timeouts, and we can't do that without
> rewriting most of the server.
>
> What we really need is a global (per-thread) timeout that sets a
> single flag, and then have all of our code check for that flag and
> recover gracefully based upon what it was trying to do at the time.
> Something to remember for 1.2.
>
+1.
--
chuck
Chuck Murcko
The Topsail Group, West Chester PA USA
chuck@topsail.org