ls-hpack
« Back to VersTracker
Description:
HTTP/2 HPACK header compression library
Type: Formula  |  Tracked Since: Feb 13, 2026
Links: Homepage  |  GitHub  |  formulae.brew.sh
Stars: 50  |  Forks: 25  |  Language: C  |  Category: Networking
Tags: http2 compression networking c-library headers
Install: brew install ls-hpack
About:
LsHpack is a C library implementing the HPACK compression format as defined in the HTTP/2 specification (RFC 7541). It provides efficient encoding and decoding of HTTP header fields to reduce overhead and improve performance in HTTP/2 communications. Its main value is offering a robust, standalone compression component for servers, clients, and proxies implementing HTTP/2.
Key Features:
  • Implements RFC 7541 HPACK compression
  • Written in C for high performance and portability
  • Standalone library with minimal dependencies
  • Provides both encoding and decoding functionality
  • Designed for integration into HTTP/2 stacks
Use Cases:
  • Building or extending an HTTP/2 server or client
  • Adding HPACK compression support to a web proxy
  • Educational reference for HTTP/2 header compression implementation
Alternatives:
  • nghttp2 – Full-featured HTTP/2 library including HPACK, whereas ls-hpack is a focused HPACK-only component.
  • h2o – Optimized HTTP server with built-in HPACK; ls-hpack is a library for custom integration.
Version History
Detected Version Rev Change Commit
Feb 13, 2026 2:20pm 0 META 14406c15