Commit Graph

8474 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
a1e9e5f640 Merge pull request #2389 from nghttp2/rewrite-utos
Rewrite util::utos functions
2025-05-19 21:27:40 +09:00
Tatsuhiro Tsujikawa
2f02abfe7a Rewrite util::utos functions 2025-05-19 21:04:10 +09:00
Tatsuhiro Tsujikawa
3bca3282f1 Merge pull request #2388 from nghttp2/rewrite-quote_string
Rewrite util::quote_string
2025-05-19 19:07:03 +09:00
Tatsuhiro Tsujikawa
646615022d Rewrite util::quote_string 2025-05-19 18:34:25 +09:00
Tatsuhiro Tsujikawa
dd293082fc Merge pull request #2387 from nghttp2/constinit
Declare hex_to_uint_tbl constinit
2025-05-19 18:18:42 +09:00
Tatsuhiro Tsujikawa
9e235fe957 Declare hex_to_uint_tbl constinit 2025-05-19 17:52:59 +09:00
Tatsuhiro Tsujikawa
2b47d4b525 Merge pull request #2386 from nghttp2/rewrite-percent-encoding
Rewrite percent encoding
2025-05-18 22:43:01 +09:00
Tatsuhiro Tsujikawa
fa5ac09ade Remove old implementation 2025-05-18 22:22:41 +09:00
Tatsuhiro Tsujikawa
a993d99977 Make util::is_hex_digit and util::hex_to_uint constexpr 2025-05-18 22:22:41 +09:00
Tatsuhiro Tsujikawa
d400319bcc Remove unused util::percent_encode 2025-05-18 21:51:09 +09:00
Tatsuhiro Tsujikawa
10d00c8a53 Rewrite util::percent_encode_token 2025-05-18 21:51:09 +09:00
Tatsuhiro Tsujikawa
b559f69199 Rewrite util::percent_decode 2025-05-18 21:15:36 +09:00
Tatsuhiro Tsujikawa
4513bfc3fc Merge pull request #2385 from nghttp2/immutablestring-literal
Add ImmutableString string literal
2025-05-18 18:30:38 +09:00
Tatsuhiro Tsujikawa
5e373a3514 Add ImmutableString string literal 2025-05-18 17:51:54 +09:00
Tatsuhiro Tsujikawa
0df91a4b0c Merge pull request #2384 from nghttp2/ranges-template
template: Adopt std::ranges
2025-05-18 17:51:09 +09:00
Tatsuhiro Tsujikawa
c362f9d36c template: Adopt std::ranges 2025-05-18 17:26:54 +09:00
Tatsuhiro Tsujikawa
9b568cf542 Merge pull request #2383 from nghttp2/ranges-memchunk
memchunk: Adopt std::ranges
2025-05-18 09:51:14 +09:00
Tatsuhiro Tsujikawa
6be52029db memchunk: Adopt std::ranges 2025-05-18 09:20:16 +09:00
Tatsuhiro Tsujikawa
fef9e8fb20 Merge pull request #2382 from nghttp2/buffer-ranges
buffer: Adopt std::ranges
2025-05-17 19:39:03 +09:00
Tatsuhiro Tsujikawa
09bb8350e8 buffer: Adopt std::ranges 2025-05-17 19:13:44 +09:00
Tatsuhiro Tsujikawa
10ebb3825a Merge pull request #2381 from nghttp2/nghttpx-ranges-shrpx
shrpx: Adopt std::ranges
2025-05-17 11:47:17 +09:00
Tatsuhiro Tsujikawa
8bdf022465 shrpx: Adopt std::ranges 2025-05-17 10:59:15 +09:00
Tatsuhiro Tsujikawa
14f1169a5a Merge pull request #2380 from nghttp2/nghttpx-remove-memcached-session-cache
Nghttpx remove memcached session cache
2025-05-17 10:49:54 +09:00
Tatsuhiro Tsujikawa
93dd369b0e Update bash_completion 2025-05-17 10:13:16 +09:00
Tatsuhiro Tsujikawa
bb3c2a3664 Update manual pages 2025-05-17 10:12:58 +09:00
Tatsuhiro Tsujikawa
11903f36a9 nghttpx: Remove TLS session cache with memcached
Nowadays, TLS session caching is done via ticket and no server side
storage is required, remove TLS session cache with memcached.
2025-05-17 10:06:58 +09:00
Tatsuhiro Tsujikawa
afedd3aa06 Merge pull request #2379 from nghttp2/rename-stream-root
Rename root to nghttp2_stream_root
2025-05-16 21:29:59 +09:00
Tatsuhiro Tsujikawa
242c0c3988 Rename root to nghttp2_stream_root
Rename root to nghttp2_stream_root to avoid potential name crash.
2025-05-16 21:03:12 +09:00
Tatsuhiro Tsujikawa
ed3b31fa4c Merge pull request #2378 from nghttp2/nghttpx-remove-ocsp
Nghttpx remove ocsp
2025-05-16 21:00:21 +09:00
Tatsuhiro Tsujikawa
b7be212c30 Update bash_completion 2025-05-16 20:33:00 +09:00
Tatsuhiro Tsujikawa
ac92a4daae Update manual pages 2025-05-16 20:33:00 +09:00
Tatsuhiro Tsujikawa
ed1c6ed344 nghttpx: Remove OCSP stapling
This commit removes OCSP stapling features and the following options
are deprecated and have no effect:

- fetch-ocsp-response-file
- no-ocsp
- no-verify-ocsp
- ocsp-update-interval
2025-05-16 20:33:00 +09:00
Tatsuhiro Tsujikawa
f804e92785 Merge pull request #2377 from nghttp2/nghttpx-listeners-per-worker
nghttpx: Listen TCP and UNIX domain sockets on worker thread
2025-05-16 19:14:12 +09:00
Tatsuhiro Tsujikawa
9275353a47 nghttpx: Listen TCP and UNIX domain sockets on worker thread
Previously, nghttpx listens TCP and UNIX domain sockets on a dedicated
thread, and then distributes the accepted connection to the one of
worker threads.  With this commit, nghttpx listens those sockets on
each worker thread.  For TCP sockets, SO_REUSEPORT is used to load
balance the connections.  This removes the need for inheriting file
descriptors via environment variables.  For UNIX domain sockets,
because there is no SO_REUSEPORT equivalent for them, they are created
as before, but they are handled per worker.

The support for legacy deprecated environment variables has been
removed.

ocsp-startup option has been deprecated due to this change.  OCSP will
be remove very soon.
2025-05-16 18:46:02 +09:00
Tatsuhiro Tsujikawa
d1bc03bd57 Merge pull request #2375 from nghttp2/nghttpx-ranges-config
shrpx_config: Adopt std::ranges
2025-05-13 23:14:36 +09:00
Tatsuhiro Tsujikawa
853b9ccd3c shrpx_config: Adopt std::ranges 2025-05-13 22:21:56 +09:00
Tatsuhiro Tsujikawa
dd02d164ba Merge pull request #2374 from nghttp2/nghttpx-ranges-part3
Nghttpx ranges part3
2025-05-13 21:59:22 +09:00
Tatsuhiro Tsujikawa
c36d0cb807 http3: Adopt std::ranges 2025-05-13 21:29:08 +09:00
Tatsuhiro Tsujikawa
68ed952004 shrpx_quic_connection_handler: Adopt std::ranges 2025-05-13 21:29:08 +09:00
Tatsuhiro Tsujikawa
f7f8592d6d shrpx_quic: Adopt std::ranges 2025-05-13 21:29:08 +09:00
Tatsuhiro Tsujikawa
500eb25302 shrpx_dns_tracker: Adopt std::ranges 2025-05-13 21:29:08 +09:00
Tatsuhiro Tsujikawa
d074d20ad4 shrpx_api_downstream_connection: Adopt std::ranges 2025-05-13 21:29:08 +09:00
Tatsuhiro Tsujikawa
66e5d45994 shrpx_router: Adopt std::ranges 2025-05-13 21:29:08 +09:00
Tatsuhiro Tsujikawa
e68fa65166 Merge pull request #2373 from nghttp2/rewrite-format_hex
Rewrite format_hex
2025-05-13 21:09:47 +09:00
Tatsuhiro Tsujikawa
d5b11e6f94 Rewrite format_hex 2025-05-13 20:39:17 +09:00
Tatsuhiro Tsujikawa
51909d8bf8 Merge pull request #2372 from nghttp2/nghttpx-ranges-part2
Nghttpx ranges part2
2025-05-13 20:38:20 +09:00
Tatsuhiro Tsujikawa
299b6a4e31 shrpx_worker_process: Adopt std::ranges 2025-05-13 20:02:22 +09:00
Tatsuhiro Tsujikawa
a7407b28ce shrpx_memcached_connection: Adopt std::ranges 2025-05-13 20:02:22 +09:00
Tatsuhiro Tsujikawa
4397a37b31 shrpx_downstream_connection_pool: Adopt std::ranges 2025-05-13 20:02:22 +09:00
Tatsuhiro Tsujikawa
996b02c2fe Merge pull request #2371 from nghttp2/str-cmp-constexpr
Make string comparison functions constexpr
2025-05-13 20:01:36 +09:00