commit | 318adf43648143292a6e6b74d4600b4908172598 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 22 12:09:16 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 22 12:13:43 2020 +0200 |
tree | 335f8f8793dc6bd4c5bfbd4a6dd95a333f039364 | |
parent | 0ff9b3d64fdf0707da8c9a0ae00a7cf753200e36 [diff] |
CONTRIB: hpack: make use of the simplified standalone HPACK API As reported in oss-fuzz issue 22388, the contrib/hpack code doesn't build anymore for now. Thanks to previous patch we can now just define HPACK_STANDALONE in the few files which include hpack-tbl.h and we can declare a dummy pool to hold the DHT size. This is enough to make the code work again outside of the haproxy process. It was successfully tested using: $ echo 82 84 87 90 | ./decode