]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hpack: provide a function to encode a short indexed header
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Dec 2018 05:16:45 +0000 (06:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Dec 2018 08:06:46 +0000 (09:06 +0100)
commit30eb809fdbf7782057e6063c5de9768e674b3516
treef79d9729c0056e38e1c9f4fc5607ef86e5f728fa
parentbad0a381d3a6b632d3fe97747bf0d5b845da998f
MINOR: hpack: provide a function to encode a short indexed header

Most direct calls to HPACK functions are made to encode short header
fields like methods, schemes or statuses, whose lengths and indexes
are known. Let's have a small function to do this.
include/common/hpack-enc.h