Commit Graph

8189 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
b27c5481ef nghttpx: Rework frontend address resolution for QUIC packets
Instead of getnameinfo every time when forwarding a QUIC packet
internally, cache binary representation of frontend address on
startup, and compare them.
2025-05-09 20:53:54 +09:00
Tatsuhiro Tsujikawa
fe6288421f Merge pull request #2355 from nghttp2/rst-stream-to-closed-stream
Do not submit RST_STREAM more than once
2025-05-09 19:55:46 +09:00
Tatsuhiro Tsujikawa
6e60f76825 Do not submit RST_STREAM more than once
Do not submit RST_STREAM more than once for a same stream with
nghttp2_submit_rst_stream.  Historically, nghttp2_submit_rst_stream
allows this.  nghttp2 also allows receiving multiple RST_STREAM
frames.  To keep compatibility, nghttp2_submit_rst_stream does not
fail if it attempts to submit RST_STREAM to already closed stream.
2025-05-09 18:41:30 +09:00
Tatsuhiro Tsujikawa
5784ff5b46 Merge pull request #2353 from nghttp2/rewrite-starts-with
Rewrite starts_with, ends_with and streq with std::ranges
2025-05-07 23:45:42 +09:00
Tatsuhiro Tsujikawa
d75fddda00 Rewrite starts_with, ends_with and streq with std::ranges 2025-05-07 22:47:35 +09:00
Tatsuhiro Tsujikawa
c17cf5f1f5 Merge pull request #2352 from nghttp2/remove-copy_lit
Remove util::copy_lit
2025-05-07 22:44:29 +09:00
Tatsuhiro Tsujikawa
2fb05c54ad Remove util::copy_lit 2025-05-07 21:25:41 +09:00
Tatsuhiro Tsujikawa
9555260a65 Merge pull request #2351 from nghttp2/nghttpx-ranges-http3-upstream
shrpx_http3_upstream: Adopt std::ranges
2025-05-07 21:25:13 +09:00
Tatsuhiro Tsujikawa
4ce6c8e1dc Merge pull request #2350 from Karthikdasari0423/patch-1
Update README.rst
2025-05-07 20:34:48 +09:00
Tatsuhiro Tsujikawa
6677faed55 shrpx_http3_upstream: Adopt std::ranges 2025-05-07 19:50:46 +09:00
Tatsuhiro Tsujikawa
8a8838de29 Merge pull request #2349 from nghttp2/nghttpx-ranges-http2-upstream
shrpx_http2_upstream: Adopt std::ranges
2025-05-07 19:49:51 +09:00
Karthik Dasari
fa453878c4 Update README.rst
Update clang-15 to clang-18 in README file.
2025-05-07 16:18:23 +05:30
Tatsuhiro Tsujikawa
93072a2828 shrpx_http2_upstream: Adopt std::ranges 2025-05-07 19:02:15 +09:00
Tatsuhiro Tsujikawa
f52d191a69 Merge pull request #2348 from nghttp2/nghttpx-http2-dconn
shrpx_http2_downstream_connection: Adopt std::ranges
2025-05-07 18:48:41 +09:00
Tatsuhiro Tsujikawa
84f36115e5 shrpx_http2_downstream_connection: Adopt std::ranges 2025-05-06 22:51:47 +09:00
Tatsuhiro Tsujikawa
8dd0637645 Merge pull request #2345 from nghttp2/nghttpx-log-ranges
Nghttpx log ranges
2025-05-05 09:58:48 +09:00
Tatsuhiro Tsujikawa
4d6bca22cc Merge pull request #2342 from zjturner/fix_gettickcount64_check
Fix CMake existence check for GetTickCount64
2025-05-03 09:14:12 +09:00
Tatsuhiro Tsujikawa
7bb4146e58 shrpx_log: Make write_seq take std::input_range 2025-05-02 23:35:58 +09:00
Tatsuhiro Tsujikawa
ed5f3df612 shrpx_log: Rewrite with std::span 2025-05-02 23:35:58 +09:00
Tatsuhiro Tsujikawa
f402668a4e shrpx_log: Fix left over for std::ranges migration 2025-05-02 23:35:58 +09:00
Tatsuhiro Tsujikawa
f723380e32 shrpx_log: Do not return d_last which does not change 2025-05-02 23:35:58 +09:00
Tatsuhiro Tsujikawa
1db823f451 shrpx_log: Adopt std::ranges 2025-05-02 23:35:58 +09:00
Tatsuhiro Tsujikawa
fcd710e31d Merge pull request #2344 from nghttp2/nghttpx-dns
nghttpx: Tweak DNS timeout and retry
2025-05-02 23:35:35 +09:00
Tatsuhiro Tsujikawa
6922b336b0 nghttpx: Tweak DNS timeout and retry
Decrease DNS timeout to 250ms, which is the minimum duration allowed
in c-ares.  The number of retries is 3, which is the default value of
c-ares.
2025-05-02 22:59:41 +09:00
Tatsuhiro Tsujikawa
6edf4343b2 Merge pull request #2343 from nghttp2/ranges-http
shrpx_http: Adopt std::ranges
2025-05-02 21:10:05 +09:00
Tatsuhiro Tsujikawa
81864f3c7f shrpx_http: Adopt std::ranges 2025-05-02 17:21:05 +09:00
Zachary Turner
2a0c0a2598 Fix check for GetTickCount64 2025-05-01 11:41:10 -07:00
Tatsuhiro Tsujikawa
3db4000c80 Merge pull request #2341 from nghttp2/ranges-http2
http2: Adopt std::ranges
2025-05-01 18:48:18 +09:00
Tatsuhiro Tsujikawa
c7b33ceea9 http2: Adopt std::ranges 2025-05-01 18:12:32 +09:00
Tatsuhiro Tsujikawa
e47a2cc34a Merge pull request #2340 from nghttp2/refactor-allocator
Refactor allocator
2025-05-01 18:11:56 +09:00
Tatsuhiro Tsujikawa
aa77184ed5 allocator: Use auto 2025-05-01 17:37:51 +09:00
Tatsuhiro Tsujikawa
58ff9e5188 allocator: Adopt std::ranges 2025-05-01 17:37:51 +09:00
Tatsuhiro Tsujikawa
a0bf1d13bb Remove inline from count_string_ref_count 2025-05-01 17:37:51 +09:00
Tatsuhiro Tsujikawa
c47ab92f69 Remove BlockAllocator template parameter 2025-05-01 17:37:51 +09:00
Tatsuhiro Tsujikawa
ad4b9529dc Merge pull request #2339 from nghttp2/adopt-span-first
nghttpx: Adopt std::span::first
2025-05-01 17:36:08 +09:00
Tatsuhiro Tsujikawa
b5819be055 nghttpx: Adopt std::span::first 2025-05-01 17:06:55 +09:00
Tatsuhiro Tsujikawa
21dfefa0c3 Merge pull request #2337 from nghttp2/h2load-refactor-quic-write-path
h2load: Refactor QUIC packet write path
2025-04-28 22:02:11 +09:00
Tatsuhiro Tsujikawa
4c013d1087 h2load: Refactor QUIC packet write path
Refactor QUIC packet write path in h2load.  h2load now falls back to
non-GSO write after GSO failed.
2025-04-28 21:38:55 +09:00
Tatsuhiro Tsujikawa
825b296d12 Merge pull request #2336 from nghttp2/nghttpx-refactor-quic-packet-write
nghttpx: Refactor QUIC packet write
2025-04-27 21:01:18 +09:00
Tatsuhiro Tsujikawa
514b7743d6 nghttpx: Refactor QUIC packet write 2025-04-27 19:33:52 +09:00
Tatsuhiro Tsujikawa
5265110509 Merge pull request #2333 from nghttp2/quic-ossl
h2load, nghttpx: Add libngtcp2_crypto_ossl support
2025-04-22 20:35:51 +09:00
Tatsuhiro Tsujikawa
aa96bfcb27 Merge pull request #2335 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.51.0
build(deps): bump github.com/quic-go/quic-go from 0.50.1 to 0.51.0
2025-04-22 19:23:09 +09:00
dependabot[bot]
c7f062aeca build(deps): bump github.com/quic-go/quic-go from 0.50.1 to 0.51.0
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.50.1 to 0.51.0.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.50.1...v0.51.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 15:42:10 +00:00
Tatsuhiro Tsujikawa
32eeffcd11 h2load, nghttpx: Add libngtcp2_crypto_ossl support 2025-04-19 16:49:02 +09:00
Tatsuhiro Tsujikawa
67a93b53a3 Merge pull request #2332 from nghttp2/gha-android-docker
GHA: Add android workflow
2025-04-19 15:52:54 +09:00
Tatsuhiro Tsujikawa
941024f193 GHA: Add android workflow 2025-04-19 15:30:10 +09:00
Tatsuhiro Tsujikawa
127adf6acf Merge pull request #2330 from feicong/master
Fixed android support
2025-04-19 00:34:06 +09:00
feicong
ff3655c7cd Update Dockerfile.android
Co-authored-by: Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com>
2025-04-18 19:37:21 +08:00
Tatsuhiro Tsujikawa
b58c6402f9 Merge pull request #2331 from nghttp2/bump-ngtcp2
Bump ngtcp2
2025-04-18 19:42:19 +09:00
Tatsuhiro Tsujikawa
0af7b9bb84 Bump ngtcp2 2025-04-18 19:06:21 +09:00