Skip to content
Projects

About

HTTP/3 library written in C

Developer Tools

How these counts are measured

Measured star growth

in 24h
+1
in 7 days
+2
in 15 days
+6
in 1 month
+12

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

nghttp3

nghttp3 is an implementation of RFC 9114 HTTP/3 mapping over QUIC and RFC 9204 QPACK in C.

It does not depend on any particular QUIC transport implementation.

Documentation

Online documentation is available.

Requirements

nghttp3 requires a C11 compiler to build. The modern compilers such as clang >= 19, gcc >= 15, and MSVC 2022 (1944) are known to work.

Build from git

$ git clone https://github.com/ngtcp2/nghttp3
$ cd nghttp3
$ git submodule update --init
$ autoreconf -i
$ ./configure
$ make -j$(nproc) check

HTTP/3

This library implements RFC 9114 HTTP/3. It does not support server push.

The following extensions have been implemented:

It can also send and receive SETTINGS_H3_DATAGRAM from HTTP Datagrams and the Capsule Protocol.

QPACK

This library implements RFC 9204 QPACK. It supports dynamic table.

Optimizations

This library optionally uses AVX2, if available, to optimize its performance. To compile with AVX2, add -mavx2 to CFLAGS. Note that by default, CFLAGS is set to -g -O2. When specifying CFLAGS, include them as well (e.g., -g -O2 -mavx2).

Examples

License

The MIT License

Copyright (c) 2019 nghttp3 contributors

Explore related projects

Loading…