You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Manoj Kasichainula <ma...@raleigh.ibm.com> on 1999/06/02 07:35:00 UTC
[PATCH] Timeouts in hybrid server's buff
The attached patch redoes the way timeouts work in the hybrid server.
Before, each call into buff.c that used timeouts had to pass in a
time_t that indicated the timeout for that particular call. This patch
changes timeouts to work more like apache-nspr implemented them.
Now, the timeout for a particular buff is set using bsetopt(blah blah
BO_TIMEOUT). This allows us to essentially return to the old API for
all the buff calls, so module writers have a little less work to do.
We also avoid passing an extra argument through a long stack of
function calls.
Re: [PATCH] Timeouts in hybrid server's buff
Posted by Dean Gaudet <dg...@arctic.org>.
+1000
Thanks
Dean
On Wed, 2 Jun 1999, Manoj Kasichainula wrote:
> The attached patch redoes the way timeouts work in the hybrid server.
> Before, each call into buff.c that used timeouts had to pass in a
> time_t that indicated the timeout for that particular call. This patch
> changes timeouts to work more like apache-nspr implemented them.
>
> Now, the timeout for a particular buff is set using bsetopt(blah blah
> BO_TIMEOUT). This allows us to essentially return to the old API for
> all the buff calls, so module writers have a little less work to do.
> We also avoid passing an extra argument through a long stack of
> function calls.
>
>