./www/nghttp2, Implementation of HTTP/2 in C

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ] [ Image Add to tracker ]


Branch: CURRENT, Version: 1.68.0nb1, Package name: nghttp2-1.68.0nb1, Maintainer: pkgsrc-users

nghttp2 is an implementation of HTTP/2 in C.


Required to run:
[textproc/libxml2] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 1651.766 KB

Version history: (Expand)


CVS history: (Expand)


   2026-01-07 09:49:50 by Thomas Klausner | Files touched by this commit (2525)
Log message:
*: recursive bump for icu 78.1
   2025-10-25 13:41:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
nghttp2[-tools]: updated to 1.68.0

1.68.0

build(deps): bump actions/github-script from 7 to 8
build(deps): bump actions/setup-go from 5 to 6
build(deps): bump actions/stale from 9 to 10
Increase glitch counter for unexpected builtin extension frames
Fix assertion failure
Remove session_update_glitch_ratelim called from deep inside the chain
build(deps): bump golang.org/x/net from 0.43.0 to 0.44.0
nghttpd: Make the supported groups configurable
Use SSL_CTX_set1_groups_list
nghttpx: Add groups option
nghttpx: Prefer ML-DSA certificate over ECDSA
nghttpx: Select ECDSA cert based on EVP_PKEY_base_id
nghttpx: Select certificate with BoringSSL
nghttpx: Select certificate with wolfSSL
nghttpx: Add the fast path when selecting a certificate
nghttpx: Select a certificate in a single pass
nghttpx: Support ML-DSA certificate selection with wolfSSL
nghttpx: Make servername_callback behavior consistent
nghttpx: Drop TLSv1.0 and TLSv1.1 support
nghttpx: Define NGHTTP2_CERT_TYPE as constexpr
src: Use nullptr in C++ code
lib: Consistent conditional macro comments
src: Consistent conditional macro comments
src: Move sgi _daemonize to util::daemonize
examples: Consistent conditional macro comments
Bump ngtcp2 and its dependencies
src: Adopt nghttp3_conn_read_stream2
src: Use std::ranges::begin and std::ranges::end consistently
Remove redundant semicolon
h2load: Set QUIC window-bits to 24 by default
Fix typos in documentation: "or3xx" → "or 3xx" and missing \ 
space after period
build(deps): bump github.com/quic-go/quic-go from 0.54.0 to 0.54.1
build(deps): bump github.com/quic-go/quic-go from 0.54.1 to 0.55.0
nghttpx: Increase number of UDP packets to read
build(deps): bump golang.org/x/net from 0.44.0 to 0.46.0
Optimize quic io
nghttpx: Remove unused ticket_keys from WorkerEvent
Bump ngtcp2 and its dependencies
   2025-09-15 16:45:36 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
nghttp2[-tools]: updated to 1.67.1

1.67.1
Remove session_update_glitch_ratelim called from deep inside the chain
   2025-09-02 20:44:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
nghttp2 nghttp2-tools: updated to 1.67.0

1.67.0

Do not trigger android workflow on tag event
Port ngtcp2 map changes
src: Adopt IP_PMTUDISC_PROBE
Map seed
Bump github.com/quic-go/quic-go from 0.52.0 to 0.53.0
Bump golang.org/x/net from 0.41.0 to 0.42.0
Bump github.com/quic-go/quic-go from 0.53.0 to 0.54.0
Use allocator-aware free in failure path
lib: Use nghttp2_mem_free
src: Rewrite util::is_hex_string
GHA: Run android workflow on branches event
Make error handling robust
Update doc
Bump actions/checkout from 4 to 5
Bump golang.org/x/net from 0.42.0 to 0.43.0
Add "glitch" counter
Bump clang-format to 19
GHA: Bump clang to 19
Make glitch counter configurable
tests: Swap the positions of expected and actual values
Bump ngtcp2 and its dependencies
Adopt ngtcp2 nghttp3 features
Adopt libngtcp2_crypto_libressl changes
src: Adopt designated initializers for ngtcp2_callbacks
src: Adopt designated initializers
src: constexpr fixup
src: Adopt NGTCP2_WRITE_STREAM_FLAG_PADDING
Test lib before building applications
Bump libbpf to v1.6.2
Added nghttp3's pattern targets
Bump ngtcp2 to v1.15.1
   2025-06-30 20:35:30 by Adam Ciarcinski | Files touched by this commit (6) | Package updated
Log message:
nghttp2 nghttp2-tools: updated to 1.66.0

1.66.0

Bump github.com/quic-go/quic-go to v0.50.0
build(deps): bump golang.org/x/net from 0.35.0 to 0.37.0
h2load: Check the return value from OBJ_nid2sn
build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0
Remove go toolchain
build(deps): bump github.com/quic-go/quic-go from 0.50.0 to 0.50.1
nghttpx: Close h1 connection on CONNECT failure
doc:rubydomain: Fix build failure with rubydomain namespace
Update integration tests
quic: Use secure random generator for ngtcp2_rand
Revert "quic: Use secure random generator for ngtcp2_rand"
quic: Use secure random generator for ngtcp2_rand
GHA: Replace macos-13 with macos-15
build(deps): bump golang.org/x/net from 0.38.0 to 0.39.0
Bump ngtcp2
Fixed android support
GHA: Add android workflow
build(deps): bump github.com/quic-go/quic-go from 0.50.1 to 0.51.0
h2load, nghttpx: Add libngtcp2_crypto_ossl support
nghttpx: Refactor QUIC packet write
h2load: Refactor QUIC packet write path
nghttpx: Adopt std::span::first
Refactor allocator
http2: Adopt std::ranges
shrpx_http: Adopt std::ranges
nghttpx: Tweak DNS timeout and retry
Fix CMake existence check for GetTickCount64
Nghttpx log ranges
shrpx_http2_downstream_connection: Adopt std::ranges
shrpx_http2_upstream: Adopt std::ranges
Update README.rst
shrpx_http3_upstream: Adopt std::ranges
Remove util::copy_lit
Rewrite starts_with, ends_with and streq with std::ranges
Do not submit RST_STREAM more than once
nghttpx: Rework frontend address resolution for QUIC packets
nghttpx: Fix Forwarded By
shrpx_https_upstream: Adopt std::ranges
Ranges base64
StringRef: Piggyback std::hashstd::string_view
Nghttpx ranges part1
shrpx_tls: Adopt std::ranges
Bump munit
integration: Disable IPv6 on backend for external DNS tests
Add helper template for StringRef from contiguous range
shrpx_worker: Adopt std::ranges
Add template to copy lowercased string
build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0
Single pass header name lowecase
Make string comparison functions constexpr
Nghttpx ranges part2
Rewrite format_hex
Nghttpx ranges part3
shrpx_config: Adopt std::ranges
nghttpx: Listen TCP and UNIX domain sockets on worker thread
Nghttpx remove ocsp
Rename root to nghttp2_stream_root
Nghttpx remove memcached session cache
shrpx: Adopt std::ranges
buffer: Adopt std::ranges
memchunk: Adopt std::ranges
template: Adopt std::ranges
Add ImmutableString string literal
Rewrite percent encoding
Declare hex_to_uint_tbl constinit
Rewrite util::quote_string
Rewrite util::utos functions
Rewrite util::decode_hex
Make util::format_hex constexpr
Remove util::inp_strlower in favor of util::tolower
Refactor util::make_http_hostport and util::make_hostport
Refine output iterator requirements
Make base64 encoder/decoder constexpr
Optimize util::utos
Optimize util::format_hex
Optimize util::utox
Disallow array to substitute R &&
Hide *_XDIGITS inside table generator functions
Rewrite format_iso8601 with std::chrono
Util refactor format date
Hide iso8601_date in unnamed namespace
Rewrite format_iso8601_basic with std::chrono
Rewrite format_common_log
Rewrite format_http_date with std::chrono
Amend date
Generate tables for character predicate functions
nghttpx: No need to capitalize HTTP/1.1 field name
Rewrite util::upcase
Write http status string directly
Allow Writing data to Memchunks directly
util: Adopt std::ranges
Refactor util::to_numeric_addr
Remove Memchunks::append(const char (&)[N])
Add test for Memchunks::reserve
Remove draft h2 alpn support
Make util::utos require std::unsigned_integral
Nghttpx ranges part4
docker: Fix build failure
Bump mruby to 3.4.0+
Update android dockerfile
Safer way to write data directly to Memchunks buffer
Remove Memchunks::append return value
nghttp: Adopt std::ranges
nghttpd: Adopt std::ranges
h2load: Adopt std::ranges
Rewrite util::to_token68
Remove unused shrpx_exec
Avoid integer overflow in table generation
nghttpx: Fix logger does not show address correctly
Revert "nghttpx: No need to capitalize HTTP/1.1 field name"
Refactor http2::capitalize
Bump quic-go to v0.52.0
nghttpx: Fix integral logging is always done in 64 bits integer
nghttpx: Write log without snprintf
Remove NGHTTP2_MAX_UINT64_DIGITS
Cxx wconversion
Reduce cast to socklen_t
Remove unnecessary const_cast<sockaddr *>
Unordered map
src/template.h: add missing cstdint include
Use std::unordered_set if applicable
App cleanup
App cleanup part2
Bump ngtcp2 and its dependencies
Bump llhttp to v9.3.0
Bump libbpf to v1.5.1
src: Refactor siphash key generation
nghttpx: Implement rate limiting for incoming QUIC traffic
Src refactor
Replace stringref with stringview
Use as_string_view to simplify the construction
nghttpd: Support SSLKEYLOGFILE
Remove the availability check for thread_local
nghttpx: Use std::getline to read QUIC secrets
nghttpx: Check error when reading the configuration file
Bump golang.org/x/net from 0.40.0 to 0.41.0
nghttpx: Preserve WeightGroup cycles between backend replaces
   2025-04-17 23:53:13 by Thomas Klausner | Files touched by this commit (2449)
Log message:
*: recursive bump for icu 77 and libxml2 2.14
   2025-03-02 21:36:09 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
nghttp2: update to 1.65.0.

lib

RFC 7540 Priorities implementation has been removed. Here is the summary of the \ 
behavioral changes in the public API functions:

    nghttp2_session_change_stream_priority: This function is noop. It always \ 
returns 0.
    nghttp2_session_create_idle_stream: This function is noop. It always returns 0.
    nghttp2_submit_request: pri_spec is ignored.
    nghttp2_submit_request2: pri_spec is ignored.
    nghttp2_submit_headers: pri_spec is ignored.
    nghttp2_submit_priority: This function is noop. It always returns
    nghttp2_stream_get_parent: This function always returns NULL.
    nghttp2_stream_get_next_sibling: This function always returns NULL.
    nghttp2_stream_get_previous_sibling: This function always returns NULL.
    nghttp2_stream_get_first_child: This function always returns NULL.
    nghttp2_stream_get_weight: This function always returns NGHTTP2_DEFAULT_WEIGHT.
    nghttp2_stream_get_sum_dependency_weight: This function always returns 0.

nghttp2_option_set_server_fallback_rfc7540_priorities and \ 
nghttp2_option_set_no_closed_streams have also been deprecated, and have no \ 
effect.

QNX build support has been added.

cmake

Disable src tests if BUILD_TESTING is OFF.

src

url-parser has been replaced with urlparse.

h2load

Account for bytes on closing connections.

nghttp

nghttp now does not create the initial dependency tree. --no-dep and \ 
--no-rfc7540-pri options have been deprecated.

nghttp now always sends NGHTTP2_SETTINGS_NO_RFC7540_PRIORITIES HTTP/2 setting. \ 
--extpri option has been added to set priority for a given URI.

nghttpd

This change deprecates --no-rfc7540-pri option. SETTINGS_NO_RFC7540_PRIORITIES \ 
HTTP/2 setting is now always sent.
   2025-02-09 01:28:21 by Roland Illig | Files touched by this commit (12)
Log message:
don't add unknown configure option for libiconv in a few packages