fix(rustproxy-http): remove Host header from HTTP/2 upstream requests while preserving it for HTTP/1 retries

This commit is contained in:
2026-03-12 22:41:20 +00:00
parent b92587cc16
commit c96a493fb6
3 changed files with 22 additions and 2 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2026-03-12 - 25.10.7 - fix(rustproxy-http)
remove Host header from HTTP/2 upstream requests while preserving it for HTTP/1 retries
- strips the Host header before sending HTTP/2 upstream requests so :authority from the URI is used instead
- avoids 400 responses from nginx caused by sending both Host and :authority headers
- keeps a cloned header set for bodyless request retries so HTTP/1 fallback still retains the Host header
## 2026-03-12 - 25.10.6 - fix(rustproxy-http)
use the requested domain as HTTP/2 authority instead of the backend host and port