httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: errnos and buff.c
Date Wed, 16 Dec 1998 16:36:07 GMT
Marc Slemko wrote:
> 
> 
> As a module author, simply treat any error return from an Apache write
> function (excluding, for particular functions, possibly EINTR, which isn't
> normally returned since it is abstracted out, and EAGAIN, if you are using
> a nonblocking socket for something else using Apache functions) as a fatal
> write error.
> 
> If you want to also check r->connection->aborted, then you can, but it
> may or may not get set so you can't depend on it.
> 

As I understand it, if it's set, then you should be able to trust that,
right? You just can't assume if unset that all is well.

-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message