> > If a proxy server, when initiating a connection to the real server, > > gets ECONNREFUSED, EHOSTDOWN, or EHOSTUNREACH, what error should > > it return to the client? Some existing proxy servers return 500, > > It should return 502 (Bad Gateway). Are you sure? I'm surprised at that. The RFC says 502 means: The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. I would have thought "invalid response" means a response that is contrary to (non-conforming with) the specification. I would take it to mean the upstream server actually responded, but incorrectly. How do you define "invalid response"? - BobReceived on Monday, 13 May 2002 12:40:49 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:22:09 GMT