httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: APR pipes can't be timed out?
Date Thu, 04 Nov 1999 18:14:40 GMT
Manoj Kasichainula wrote:
> 
> On Wed, Nov 03, 1999 at 07:22:28PM +0000, Ben Laurie wrote:
> > Manoj Kasichainula wrote:
> > > I guess the proper solution would be to either add timeouts to
> > > ap_file_t or create ap_pipe_t. I'm hoping someone who is doing APR
> > > work will pick this up and implement it. Pleeeeeease?
> >
> > It'll have to be ap_pipe_t. It isn't reasonable to expect general files
> > to be timeoutable.
> 
> If it was ap_pipe_t, then we couldn't pass a pipe into any functions
> that take ap_file_t. We'd lose a lot of the flexibility that Unix (and
> even Windows, I think) gives us.
> 
> How about returning APR_ENOTIMPL when trying to set a timeout on a
> file that can't handle it? Yeah, it's icky.

I can live with that.

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

Mime
View raw message