1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

Return consistent error status for proxy unable to connect

PR 46971


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@806920 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Kew
2009-08-23 02:00:43 +00:00
parent fadce7cbef
commit 93cdac913c
3 changed files with 6 additions and 5 deletions

View File

@@ -199,7 +199,7 @@ static int proxy_connect_handler(request_rec *r, proxy_worker *worker,
return DECLINED;
}
else {
return HTTP_BAD_GATEWAY;
return HTTP_SERVICE_UNAVAILABLE;
}
}