httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <>
Subject Re: [PATCH] mod_proxy run cleanup on balancer failure
Date Thu, 29 Sep 2005 13:40:21 GMT
Mladen Turk wrote:

> if (access_status != OK) {
>      if (access_status != HTTP_SERVICE_UNAVAILABLE)
>     return access_status;
>      else
>     goto cleanup;
> }

I guess that makes sense.  I just want to chatch the following cases:

No available workers - all in error or busy
worker failed - ie connect timeout
random weirdness - for whatever reason we are going to return 

The goal is, if possible, in request_status, a developer may try to 
"catch" the error so that the end user does not see it.  In our 
situation, for example, we would rather return a stale page rather than 

Brian Akins
Lead Systems Engineer
CNN Internet Technologies

View raw message