Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

nghttp3

> 编程语言
Open source

HTTP/3 library written in C

1.1K stars0 likes0 views
WebsiteGitHub

About

HTTP/3 library written in C

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

.. code-block:: shell

$ 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:

  • Extensible Prioritization Scheme for HTTP _
  • Bootstrapping WebSockets with HTTP/3 _
  • The ORIGIN Extension in HTTP/3 _

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

  • client: https://github.com/ngtcp2/ngtcp2/blob/main/examples/client.cc
  • server: https://github.com/ngtcp2/ngtcp2/blob/main/examples/server.cc
  • curl: https://github.com/curl/curl/blob/master/lib/vquic/curl_ngtcp2.c

License

The MIT License

Copyright (c) 2019 nghttp3 contributors

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Chttp3qpackquicrfc9114

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言