httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: [PATCH] APRize nagle
Date Mon, 21 Aug 2000 17:15:07 GMT

> > Couldn't we move the FD_SETSIZE inside of APR?  
> 
> Sure...
> 
> >                                                  I am envisioning something
> > like:
> > 
> > apr_disablenagle(apr_socket_t *s)
> > {
> > 
> >     FD_SETSIZE magic
> >     setsockopt magic
> > }
> > 
> 
> This isn't the right interface.  FD_SETSIZE has nothing to do with 
> Nagle.
> 
> apr_create_tcp_socket() and apr_accept() could compare new descriptors
> with FD_SETSIZE, realize that APR is broken (when they're too big),
> close the socket, and return a special error code that causes the app
> (e.g., Apache) to issue a trace that the clever admin can decipher.

Sounds like a plan to me.  :-)

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message