]> git.kaiwu.me - haproxy.git/commit
MINOR: http_ana: always drop the Expect header in HTTP/1.0
authorWilly Tarreau <w@1wt.eu>
Mon, 23 Nov 2026 08:47:23 +0000 (09:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 23 Nov 2026 22:24:23 +0000 (23:24 +0100)
commitced0ded1d5a4346d0839cb8f0b645a4e9a8c59a5
treeff7354b2f7f4ebc705f3b48b9d6801ada9827f29
parent26f3b4bf32502347d3d0d22c1f3c7f45f3e31633
MINOR: http_ana: always drop the Expect header in HTTP/1.0

The Expect header wasn't specified in HTTP/1.0, and its only known
value 100-continue isn't usable there. Yet it continues to fool various
servers and reverse-proxies. Let's just drop it when seen in 1.0 requests
to be sure not to respond.
src/http_ana.c