httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: mod_proxy in Apache 2.2 and HTTP_INTERNAL_SERVER_ERROR
Date Fri, 14 Dec 2007 07:15:04 GMT
Mladen Turk wrote:
> Jir wrote:
>>
>> is there any reason why HTTP_INTERNAL_SERVER_ERROR returned by proxy 
>> handler cannot failover to another worker?
> 
> Because HTTP_INTERNAL_SERVER_ERROR is used to represent either
> misconfiguration or even worse things like memory allocation
> failures. In essence non recoverable error.
> However, I'm not saying some scheme handler doesn't have
> bug returning HTTP_INTERNAL_SERVER_ERROR instead something
> else.

Considering we have...

   #define HTTP_BAD_GATEWAY                   502
   #define HTTP_SERVICE_UNAVAILABLE           503
   #define HTTP_GATEWAY_TIME_OUT              504

it seems like most of the INTERNAL_SERVER_ERROR's should be considered
for more explicit messages, eh?

Mime
View raw message