]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: qpack: move encoded macros to qpack-t.h to avoid duplication 20260527-fle-ia-review flx04/20260527-fle-ia-review
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 27 May 2026 16:38:32 +0000 (18:38 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 27 May 2026 16:40:53 +0000 (18:40 +0200)
commit7ad81403d05a1defdb0124aa1c191e2970301b5f
tree23488743af007eeb63710d5e7e087c33f8275da4
parent8874f06b9ef9dcece53210b16f5677a7c81c1e78
CLEANUP: qpack: move encoded macros to qpack-t.h to avoid duplication

QPACK_LFL_WLN_BIT and related encoded field line bitmasks were defined
in both qpack-enc.c and qpack-dec.c. Moved them to qpack-t.h where
they are shared between encoder and decoder, eliminating the duplicate
definitions.

Should be backported to ease any further commit to come.
include/haproxy/qpack-t.h
src/qpack-dec.c
src/qpack-enc.c