>Number: 3455
>Category: mod_proxy
>Synopsis: 500 Proxy Error raised too often
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Nov 26 10:10:01 PST 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.3
>Environment:
SunOS redrum 5.5.1 Generic_103640-06 sun4m sparc SUNW,SPARCstation-20
>Description:
Connecting via mod_proxy to an URL which is valid but for which the server is
tempoaraily unavailable, the error report incorrectly indicates an internal
error in the proxy server. However, it also reports the correct reason.
Also, when a DNS lookup times out, the same error is raised even though the
cause is a network bottleneck.
>How-To-Repeat:
Set up a server as a proxy. Connect to another server via a valid URL. Disable
the target server. Repeat the test.
>Fix:
This is my naive suggestion.
In mod_proxy, proxy_util.c
change line 843 ("return HTTP_INTERNAL_SERVER_ERROR")
to "return HTTP_SERVICE_UNAVAILABLE"
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]