apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@covalent.net>
Subject Re: [PATCH] Fix POD reading...
Date Sat, 21 Jul 2001 16:52:50 GMT
On Saturday 21 July 2001 09:44, William A. Rowe, Jr. wrote:
> From: "Ryan Bloom" <rbb@covalent.net>
> Sent: Saturday, July 21, 2001 11:29 AM
>
> > On Saturday 21 July 2001 09:16, Justin Erenkrantz wrote:
> > > On Sat, Jul 21, 2001 at 08:07:50AM -0400, Jeff Trawick wrote:
> > > > Here is my copy of the program.  It seems to work properly whether or
> > > > not apr_file_read() is used.
> > >
> > > Yup.  Resetting the variable one did it.  No problem here but my own
> > > stupidity.
> > >
> > > Now the question is whether we should switch threaded MPM to use
> > > apr_file_read rather than apr_recv?  Does it make a difference?
> >
> > We set that MPM to use the pipe as a socket so that we can use apr_poll
> > on the pipe.  The underlying apr_recv and apr_read are basically the same
> > function, so it really shouldn't matter.
>
> Not on Win32 they aren't (read != recv).  This was the cause of years of
> mod_proxy headaches when that module wasn't well maintained.

Well yeah, but that's why APR_FILE_AS_SOCKET exists.  :-)

Ryan

_____________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
Covalent Technologies			rbb@covalent.net
-----------------------------------------------------------------------------

Mime
View raw message