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 HTTP_BAD_GATEWAY


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 a BAD GATEWAY.



--
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Reply via email to