Skip to content
项目

关于

使用 C 编写的 HTTP/3 库

开发工具

这些数字如何统计

实测星标增长

24小时
+1
7天
+2
15天
+6
1个月
+12

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…