httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davi Arnaut <d...@haxent.com.br>
Subject mod_proxy yields a 404 on timeout
Date Thu, 20 Apr 2006 01:57:45 GMT

Hi,

When mod_proxy fails to connect to a backend (ap_proxy_connect_backend) due to
a timeout, or something else, and the connection is a standard proxy request
(i.e. non-reverse) it returns a status code 404 (Not found). Is there any reason
why we are not returning a 500 (Gateway Timeout) code ?

Quoting RFC 2616:

10.5.5 504 Gateway Timeout

   The server, while acting as a gateway or proxy, did not receive a
   timely response from the upstream server specified by the URI (e.g.
   HTTP, FTP, LDAP) or some other auxiliary server (e.g. DNS) it needed
   to access in attempting to complete the request.

--
Davi Arnaut

Mime
View raw message