commit 7ad6ba5669f36531e38425603aaf63921bc25ff7
parent 35fc61a8ec0a5eb58b4b283ab6c751738134bc0f
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 6 Aug 2026 16:21:59 +0200
another header proxies should strip
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/backend/paivana-httpd_reverse.c b/src/backend/paivana-httpd_reverse.c
@@ -501,6 +501,10 @@ is_hop_by_hop_header (const char *name)
static const char *const hop_headers[] = {
MHD_HTTP_HEADER_CONNECTION,
MHD_HTTP_HEADER_KEEP_ALIVE,
+ /* RFC 9110 section 7.6.1 names it explicitly among the fields an
+ intermediary should remove; libmicrohttpd has no
+ MHD_HTTP_HEADER_* for it. */
+ "Proxy-Connection",
MHD_HTTP_HEADER_PROXY_AUTHENTICATE,
MHD_HTTP_HEADER_PROXY_AUTHORIZATION,
MHD_HTTP_HEADER_TE,