httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: [PATCH] apr_sockaddr_t & friends
Date Mon, 13 Nov 2000 14:09:12 GMT
On 13 Nov 2000, Jeff Trawick wrote:

> "David Reid" <dreid@jetnet.co.uk> writes:
> 
> > When I connect via the localhost sendfile dies as the fd passed in is -1
> >   Connecting via a remote host is fine as writev is used and that
> > seems OK.
> 
> Passing in -1 for the descriptor is certainly nasty!  It sounds like
> the file has been closed through pool cleanup.  Wasn't there a thread
> on new-httpd about that this weekend?

Jeff, you beat me to it.  :-)

This is a bug in the default handler.  The easy solution is to remove the
apr_close from default handler.  The bigger job is to partially re-write
that code to use buckets.  I was going to do this today unless somebody
else beats me to it.

Ryan

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


Mime
View raw message