]> git.kaiwu.me - haproxy.git/commit
CLEANUP: h2: remove dead code around FND_AUTH in h2_prepare_htx_reqline()
authorWilly Tarreau <w@1wt.eu>
Thu, 3 Sep 2026 12:23:01 +0000 (14:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 3 Sep 2026 14:25:08 +0000 (16:25 +0200)
commit3bdca45a6eb7c6bb8c13cecda23e45170af3a1f8
treeeb77c0a0aafec5720779adb55a4f3738d517fa17
parent86a4ebc761a278838e8cb06f3a292282ba704c65
CLEANUP: h2: remove dead code around FND_AUTH in h2_prepare_htx_reqline()

In h2_prepare_htx_reqline(), we test (fields & H2_PHDR_FND_AUTH) in the
"else" branch of the same condition. Let's just drop it since it will
never match.
src/h2.c