- From: Ben Schwartz <bemasc@meta.com>
- Date: Mon, 28 Sep 2026 11:50:15 -0400
- To: Thomas Fossati <tho.ietf@gmail.com>
- Cc: art@ietf.org, draft-ietf-httpbis-connect-tcp.all@ietf.org, ietf-http-wg@w3.org, last-call@ietf.org
On Mon, Sep 28, 2026 at 4:49 AM Thomas Fossati via Datatracker <noreply@ietf.org> wrote: ... > Section 3.1 defines behavior for two cases: > (a) 101 if the TCP connection is established successfully > (b) 4xx if the request is malformed or impermissible > > This leaves the reader wondering what the proxy should return when the request > is well-formed and permissible but the TCP connection attempt fails for > whatever reason (destination unreachable, connection refused, DNS failure, > timeout, etc.)? I guess it's 5xx, but it might be worth stating this explicitly. I agree that more guidance would be valuable here. Currently, RFC 9110 & friends do not provide specific guidance about status codes for HTTP CONNECT. I believe this has resulted in some real divergence: Apache mod_proxy, Nginx, Squid, Envoy, etc. all seem to have slightly different ideas about when to use 502 vs. 503, for example. I've drafted some proposed guidance here: https://github.com/httpwg/http-extensions/pull/3519. I made it vague enough to encompass the variety of CONNECT implementations, but leaning in a particular direction (503 is for _proxy_ outages). Please review. > Nits: > > * s/unuthorized/unauthorized/ Fixed!
Received on Monday, 28 September 2026 15:50:31 UTC