httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] ENOBUFS is not a shooting offense.
Date Tue, 15 Jan 2002 19:42:37 GMT
"Bill Stoddard" <bill@wstoddard.com> writes:

> Apache on HPUX will return ENOBUFS when resources are low. When ENOBUFS is returned,
the
> TCP connection has whacked the connection before the call to accept() completed. This
> patch will enable the child process to stay up and running.
> 
> This patch enables Apache on HPUX to more gracefully handle low resource conditions.
Any
> concerns with committing this?

> +#ifdef ENOBUFS
> +                    /* HPUX 11 generates ENOBUFS when resources are low.
> +                     * Ignore ENOBUFS rather than taking down the child
> +                     */
> +                case ENOBUFS:
> +#endif

The comment is very HP specific but the code isn't.  That makes me
nervous.

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message