httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@topsail.org>
Subject Re: [PATCH] Handle timeouts in buffers as well as connection
Date Sun, 20 Apr 1997 18:08:47 GMT
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

Mime
View raw message