httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Kasichainula <>
Subject Re: APR pipes can't be timed out?
Date Thu, 04 Nov 1999 07:07:39 GMT
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.

Manoj Kasichainula - manojk at io dot com -

View raw message