]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: hpack: use a pool for the hpack table
authorWilly Tarreau <w@1wt.eu>
Tue, 19 May 2020 09:31:11 +0000 (11:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 19 May 2020 09:40:39 +0000 (11:40 +0200)
commit2bdcc70fa750545f4df47cd6d55fc28047db570d
tree70d6937616303519ce494a9ccb6e98dfd341c606
parent957ec59571ce7eead86fb138e506c937c271e0b6
MEDIUM: hpack: use a pool for the hpack table

Instead of using malloc/free to allocate an HPACK table, let's declare
a pool. However the HPACK size is configured by the H2 mux, so it's
also this one which allocates it after post_check.
include/common/hpack-tbl.h
src/hpack-tbl.c
src/mux_h2.c