QPACK compression library for use with HTTP/3
QPACK is the compression mechanism used by HTTP/3 to compress HTTP headers. It is in the process of being standardazed by the QUIC Working Group. The QPACK Internet-Draft is has been stable for some time and we don't expect functional changes to it before the final RFC is released.
ls-qpack is a full-featured, tested, and fast QPACK library. The QPACK encoder produces excellent compression results based on an innovative mnemonic technique (to be described in a future article). It boasts the fastest Huffman encoder and decoder.
The library is production quality. It is used in OpenLiteSpeed, LiteSpeed Web Server, and LiteSpeed Web ADC.
The library is robust:
Server
or User-Agent
. Instead, it uses its mnemonic compression technique to
achieve good compression results for any input.HEADERS
frame. Instead, the decoder can be
supplied input byte-by-byte.The ls-qpack library is implemented in vanilla C99. It makes it a good candidate for wrapping into a library for a higher-level language. As of this writing, we know of the following wrappers:
Before the QPACK RFC is released, the three parts of the version are:
Once the RFC is released, MARJO will be set to 1 and the version will follow the usual MAJOR.MINOR.PATCH pattern.
The API is documented in the header file, lsqpack.h. One example how it is used in real code can be seen in lsquic, a QUIC and HTTP/3 library developed by LiteSpeed Technologies.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。