Commit Graph

8446 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
527cdebfee Bump package and library versions 2025-10-25 17:09:28 +09:00
Tatsuhiro Tsujikawa
a2667a6692 Merge pull request #2544 from nghttp2/bump-ngtcp2
Bump ngtcp2 and its dependencies
2025-10-22 21:25:39 +09:00
Tatsuhiro Tsujikawa
aedc348754 Bump ngtcp2 and its dependencies 2025-10-22 19:28:19 +09:00
Tatsuhiro Tsujikawa
19fbcf5238 Merge pull request #2543 from nghttp2/remove-ticket_keys-from-WorkerEvent
nghttpx: Remove unused ticket_keys from WorkerEvent
2025-10-14 21:06:32 +09:00
Tatsuhiro Tsujikawa
6fe99003df nghttpx: Remove unused ticket_keys from WorkerEvent 2025-10-14 20:33:21 +09:00
Tatsuhiro Tsujikawa
0139746d53 Merge pull request #2542 from nghttp2/optimize-quic-io
Optimize quic io
2025-10-14 19:35:06 +09:00
Tatsuhiro Tsujikawa
8dd0c86bde h2load: Prioritize QUIC UDP read event over the other events 2025-10-14 19:00:31 +09:00
Tatsuhiro Tsujikawa
5d4df477e8 h2load: Defer write to the next event loop for QUIC 2025-10-14 18:54:52 +09:00
Tatsuhiro Tsujikawa
2b355a338c nghttpx: Prioritize QUIC UDP read event over the other events 2025-10-14 18:54:44 +09:00
Tatsuhiro Tsujikawa
cfeec12a52 nghttpx: Defer write to the next event loop for QUIC 2025-10-14 18:48:38 +09:00
Tatsuhiro Tsujikawa
26e2d53536 Merge pull request #2541 from nghttp2/dependabot/go_modules/golang.org/x/net-0.46.0
build(deps): bump golang.org/x/net from 0.44.0 to 0.46.0
2025-10-14 08:35:08 +09:00
dependabot[bot]
d921c54209 build(deps): bump golang.org/x/net from 0.44.0 to 0.46.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.44.0 to 0.46.0.
- [Commits](https://github.com/golang/net/compare/v0.44.0...v0.46.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 14:36:11 +00:00
Tatsuhiro Tsujikawa
8f729331c1 Merge pull request #2540 from nghttp2/nghttpx-quic-recv-pktcnt
nghttpx: Increase number of UDP packets to read
2025-10-13 19:14:15 +09:00
Tatsuhiro Tsujikawa
a25dd12811 nghttpx: Increase number of UDP packets to read
It turns out that the limit of 10 packets per event loop is too small,
that prevents an endpoint from consuming ACKs and other control frames
(e.g., MAX_STREAM_DATA, MAX_STREAMS), resulting in the loss of
throughput.  This change increases maximum number of packets to read
to 64.
2025-10-13 18:35:42 +09:00
Tatsuhiro Tsujikawa
2f1565b0e2 Merge pull request #2538 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.55.0
build(deps): bump github.com/quic-go/quic-go from 0.54.1 to 0.55.0
2025-10-07 00:49:31 +09:00
dependabot[bot]
389ae66d12 build(deps): bump github.com/quic-go/quic-go from 0.54.1 to 0.55.0
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.54.1 to 0.55.0.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.54.1...v0.55.0)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-version: 0.55.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 14:33:55 +00:00
Tatsuhiro Tsujikawa
a60e00c628 Merge pull request #2537 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.54.1
build(deps): bump github.com/quic-go/quic-go from 0.54.0 to 0.54.1
2025-09-30 21:42:28 +09:00
dependabot[bot]
53ce088694 build(deps): bump github.com/quic-go/quic-go from 0.54.0 to 0.54.1
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.54.0 to 0.54.1.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.54.0...v0.54.1)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-version: 0.54.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 18:32:02 +00:00
Copilot
e802ccc02a Fix typos in documentation: "or3xx" → "or 3xx" and missing space after period (#2536)
Fix typos in documentation: "or3xx" → "or 3xx" and "itself.To" → "itself. To"

Co-authored-by: tatsuhiro-t <404610+tatsuhiro-t@users.noreply.github.com>
2025-09-29 23:30:52 +09:00
Tatsuhiro Tsujikawa
17428a5d09 Merge pull request #2535 from nghttp2/h2load-quic-window-bits-default
h2load: Set QUIC window-bits to 24 by default
2025-09-29 22:23:26 +09:00
Tatsuhiro Tsujikawa
83683742f1 h2load: Set QUIC window-bits to 24 by default
Reduce the default windows-bits for QUIC to 24 (16MiB).  The previous
default (1 << 30) is too large and causes too many packet losses on
very fast connection with super low RTT.
2025-09-29 21:04:48 +09:00
Tatsuhiro Tsujikawa
fa585e9182 Merge pull request #2534 from nghttp2/remove-redundant-semicolon
Remove redundant semicolon
2025-09-28 17:53:35 +09:00
Tatsuhiro Tsujikawa
7434a37016 Remove redundant semicolon 2025-09-28 12:08:38 +09:00
Tatsuhiro Tsujikawa
a2c47748f0 Merge pull request #2533 from nghttp2/iterators
src: Use std::ranges::begin and std::ranges::end consistently
2025-09-25 22:23:20 +09:00
Tatsuhiro Tsujikawa
1784c1c0d1 src: Use std::ranges::begin and std::ranges::end consistently 2025-09-25 21:39:50 +09:00
Tatsuhiro Tsujikawa
59a9534a2d Merge pull request #2532 from nghttp2/adopt-nghttp3_conn_read_stream2
src: Adopt nghttp3_conn_read_stream2
2025-09-25 20:31:28 +09:00
Tatsuhiro Tsujikawa
7fcbcd786e src: Adopt nghttp3_conn_read_stream2
Adopt nghttp3_conn_read_stream2 which requires nghttp3 v1.12.0.  To
pass the current timestamp, ngtcp2_conn_get_timestamp is used, which
requires ngtcp2 v1.16.0.
2025-09-25 18:56:05 +09:00
Tatsuhiro Tsujikawa
4e0738d24a Merge pull request #2531 from nghttp2/bump-ngtcp2
Bump ngtcp2 and its dependencies
2025-09-25 18:49:18 +09:00
Tatsuhiro Tsujikawa
1e0413f4a6 Bump ngtcp2 and its dependencies 2025-09-25 17:51:17 +09:00
Tatsuhiro Tsujikawa
06e7219d10 Merge pull request #2530 from nghttp2/examples-consistent-cond-macro-comments
examples: Consistent conditional macro comments
2025-09-24 23:35:58 +09:00
Tatsuhiro Tsujikawa
c06c069126 examples: Consistent conditional macro comments 2025-09-24 22:44:11 +09:00
Tatsuhiro Tsujikawa
d8ed2559f6 Merge pull request #2529 from nghttp2/sgi-daemonize
src: Move sgi _daemonize to util::daemonize
2025-09-24 21:52:41 +09:00
Tatsuhiro Tsujikawa
d829be3517 src: Move sgi _daemonize to util::daemonize
Move sgi _daemonize to util::daemonize so that we do not need to
handle sgi case in the multiple places.  Because we have no test
environment for sgi machine, the flags adjustment is omitted.  This is
not a problem now because we only call util::daemonize with zeros.
2025-09-24 21:26:49 +09:00
Tatsuhiro Tsujikawa
6aa9f6c72e Merge pull request #2528 from nghttp2/src-consistent-cond-macro-comments
src: Consistent conditional macro comments
2025-09-24 20:55:10 +09:00
Tatsuhiro Tsujikawa
4181fffc02 src: Consistent conditional macro comments 2025-09-24 20:29:56 +09:00
Tatsuhiro Tsujikawa
8f8eef40e8 Merge pull request #2527 from nghttp2/lib-consistent-cond-macro-comments
lib: Consistent conditional macro comments
2025-09-23 15:01:54 +09:00
Tatsuhiro Tsujikawa
3a95bf47f3 lib: Consistent conditional macro comments
Make conditional macro comments consistent.

- Repeat condition in closing #endif.
- Use #ifdef for a single macro.  Do not use #if defined(...) in this
  case.  Use defined(...) form when repeating condition in #endif.
- Apply De Morgan when negating conditions in #else.
2025-09-23 14:30:52 +09:00
Tatsuhiro Tsujikawa
c218d441ea Merge pull request #2526 from nghttp2/nullptr
src: Use nullptr in C++ code
2025-09-23 00:29:01 +09:00
Tatsuhiro Tsujikawa
1952b166e9 src: Use nullptr in C++ code 2025-09-22 22:47:05 +09:00
Tatsuhiro Tsujikawa
bcfb5d8305 Merge pull request #2525 from nghttp2/nghttpx-cert-type-constexpr
nghttpx: Define NGHTTP2_CERT_TYPE as constexpr
2025-09-22 21:45:04 +09:00
Tatsuhiro Tsujikawa
37fb82621c nghttpx: Define NGHTTP2_CERT_TYPE as constexpr 2025-09-22 20:55:09 +09:00
Tatsuhiro Tsujikawa
00bd05edcc Merge pull request #2524 from nghttp2/nghttpx-drop-tlsv1.1
nghttpx: Drop TLSv1.0 and TLSv1.1 support
2025-09-21 19:14:07 +09:00
Tatsuhiro Tsujikawa
45c67616b9 nghttpx: Drop TLSv1.0 and TLSv1.1 support
Nowadays, people always use TLSv1.3.  TLSv1.2 may be used for a
particular situation where TLSv1.3 is not available due to TLS stack
limitation.  The large companies started to drop TLSv1.1 and earlier
versions.  I do not feel keeping their support without a strong
reason, and I could not find any.
2025-09-21 18:49:15 +09:00
Tatsuhiro Tsujikawa
d94ce2a557 Merge pull request #2523 from nghttp2/nghttpx-consistent-servername-cb-behavior
nghttpx: Make servername_callback behavior consistent
2025-09-21 18:05:33 +09:00
Tatsuhiro Tsujikawa
8a5c731533 nghttpx: Make servername_callback behavior consistent
Make servername_callback behavior consistent across all supported TLS
stacks.  RFC 6066 does not provide any guidance or requirement when a
server must not acknowledge Server Name Indication.
2025-09-21 17:25:22 +09:00
Tatsuhiro Tsujikawa
6dfb3bdb8f Merge pull request #2522 from nghttp2/nghttpx-wolfssl-support-mldsa-cert-select
nghttpx: Support ML-DSA certificate selection with wolfSSL
2025-09-21 17:24:43 +09:00
Tatsuhiro Tsujikawa
43649c8004 nghttpx: Support ML-DSA certificate selection with wolfSSL 2025-09-21 16:45:32 +09:00
Tatsuhiro Tsujikawa
b35fa94ba5 Merge pull request #2521 from nghttp2/nghttpx-refactor-cert-type-detection
nghttpx: Select a certificate in a single pass
2025-09-21 15:08:32 +09:00
Tatsuhiro Tsujikawa
ee6565feb7 nghttpx: Select a certificate in a single pass
Refactored the certificate selection to select the certificate in a
single pass.  Cache the type of certificate to reduce the overhead.
2025-09-21 14:39:09 +09:00
Tatsuhiro Tsujikawa
7caa11f09e Merge pull request #2520 from nghttp2/nghttpx-cert-select-fast-path
nghttpx: Add the fast path when selecting a certificate
2025-09-20 19:38:42 +09:00