Commit Graph

8446 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
d159ff9baa Merge pull request #2446 from nghttp2/app-cleanup
App cleanup
2025-05-31 10:47:00 +09:00
Tatsuhiro Tsujikawa
4ef64cab52 Use std::unordered_map::contains 2025-05-31 09:56:34 +09:00
Tatsuhiro Tsujikawa
a7ae4f80ab Remove unused bio_method 2025-05-31 09:56:34 +09:00
Tatsuhiro Tsujikawa
075788af7c Remove unnecessary <map> include 2025-05-31 09:56:34 +09:00
Tatsuhiro Tsujikawa
24d4afb967 Use std::chrono::floor 2025-05-31 09:56:34 +09:00
Tatsuhiro Tsujikawa
a4d961eb17 Merge pull request #2445 from nghttp2/unordered_set
Use std::unordered_set if applicable
2025-05-31 09:56:04 +09:00
Tatsuhiro Tsujikawa
1d8abe7d1c Use std::unordered_set if applicable 2025-05-31 09:30:27 +09:00
Tatsuhiro Tsujikawa
6ad6c61af2 Merge pull request #2444 from trofi/gcc-16-include-fix
src/template.h: add missing `cstdint` include
2025-05-31 09:17:40 +09:00
Sergei Trofimovich
1440e88347 src/template.h: add missing cstdint include
Without the change build against upcoming gcc-16 fails as:

    template.h:457:9: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
      457 |   const uint8_t, N == std::dynamic_extent ? std::dynamic_extent : N * sizeof(T)>
          |         ^~~~~~~
2025-05-30 21:20:51 +01:00
Tatsuhiro Tsujikawa
4e34e45be6 Merge pull request #2443 from nghttp2/unordered_map
Unordered map
2025-05-30 23:22:22 +09:00
Tatsuhiro Tsujikawa
3ebd7f9966 Remove std::map::emplace detection 2025-05-30 22:55:45 +09:00
Tatsuhiro Tsujikawa
ef7b349928 Use std::unordered_map if applicable 2025-05-30 22:55:45 +09:00
Tatsuhiro Tsujikawa
abdd0ea313 Merge pull request #2442 from nghttp2/remove-const_cast-sockaddr
Remove unnecessary const_cast<sockaddr *>
2025-05-30 22:54:44 +09:00
Tatsuhiro Tsujikawa
7eb7740e01 Remove unnecessary const_cast<sockaddr *> 2025-05-30 21:57:38 +09:00
Tatsuhiro Tsujikawa
bbc091d762 Merge pull request #2441 from nghttp2/socklen_t
Reduce cast to socklen_t
2025-05-30 21:32:16 +09:00
Tatsuhiro Tsujikawa
4fa4e5fdad Reduce cast to socklen_t 2025-05-30 20:50:48 +09:00
Tatsuhiro Tsujikawa
06b758de98 Merge pull request #2440 from nghttp2/cxx-wconversion
Cxx wconversion
2025-05-30 20:23:58 +09:00
Tatsuhiro Tsujikawa
c98c67ae73 Bump neverbleed 2025-05-30 19:41:35 +09:00
Tatsuhiro Tsujikawa
32e26bcf68 Add -Wconversion flag to C++ compiler 2025-05-30 19:41:35 +09:00
Tatsuhiro Tsujikawa
b420749135 Merge pull request #2439 from nghttp2/remove-NGHTTP2_MAX_UINT64_DIGITS
Remove NGHTTP2_MAX_UINT64_DIGITS
2025-05-28 01:07:03 +09:00
Tatsuhiro Tsujikawa
47e886b5a0 Remove NGHTTP2_MAX_UINT64_DIGITS
Remove NGHTTP2_MAX_UINT64_DIGITS.  Rely on
std::numeric_limits<T>::digits10 instead.
2025-05-27 23:13:42 +09:00
Tatsuhiro Tsujikawa
cf5b34a12e Merge pull request #2438 from nghttp2/nghttpx-log-without-snprintf
nghttpx: Write log without snprintf
2025-05-27 23:13:09 +09:00
Tatsuhiro Tsujikawa
91328046dd nghttpx: Write log without snprintf
Write log without snprintf.  For syslog, printf-like format is
unavoidable.  Construct a message as much as possible, and then pass
the entire log message.
2025-05-27 22:49:53 +09:00
Tatsuhiro Tsujikawa
d34515372a Merge pull request #2437 from nghttp2/nghttpx-fix-integral-logging
nghttpx: Fix integral logging is always done in 64 bits integer
2025-05-27 21:44:34 +09:00
Tatsuhiro Tsujikawa
2a79151248 nghttpx: Fix integral logging is always done in 64 bits integer 2025-05-27 21:22:54 +09:00
Tatsuhiro Tsujikawa
b07227a169 Merge pull request #2436 from nghttp2/bump-quic-go
Bump quic-go to v0.52.0
2025-05-27 20:30:54 +09:00
Tatsuhiro Tsujikawa
1213986096 Bump quic-go to v0.52.0 2025-05-27 19:40:49 +09:00
Tatsuhiro Tsujikawa
fe0f31a85c Merge pull request #2435 from nghttp2/refactor-capitalize
Refactor http2::capitalize
2025-05-27 19:40:15 +09:00
Tatsuhiro Tsujikawa
550000f160 Refactor http2::capitalize 2025-05-27 19:20:19 +09:00
Tatsuhiro Tsujikawa
36a9d3620e Merge pull request #2434 from nghttp2/revert-2409-no-capitalize-http-field-name
Revert "nghttpx: No need to capitalize HTTP/1.1 field name"
2025-05-27 18:48:16 +09:00
Tatsuhiro Tsujikawa
e6463c00f7 Revert "nghttpx: No need to capitalize HTTP/1.1 field name"
This reverts commit e0089070f5.
2025-05-27 18:23:39 +09:00
Tatsuhiro Tsujikawa
c827d07c10 Merge pull request #2432 from nghttp2/fix-logger-format_hex
nghttpx: Fix logger does not show address correctly
2025-05-27 00:00:13 +09:00
Tatsuhiro Tsujikawa
f8e31cf478 nghttpx: Fix logger does not show address correctly 2025-05-26 23:18:00 +09:00
Tatsuhiro Tsujikawa
963cbb4cce Merge pull request #2431 from nghttp2/avoid-int-overflow
Avoid integer overflow in table generation
2025-05-26 19:26:18 +09:00
Tatsuhiro Tsujikawa
a1e557a725 Avoid integer overflow in table generation 2025-05-26 17:48:55 +09:00
Tatsuhiro Tsujikawa
a6c036e719 Merge pull request #2430 from nghttp2/remove-shrpx_exec
Remove unused shrpx_exec
2025-05-25 23:15:48 +09:00
Tatsuhiro Tsujikawa
80627afe00 Remove unused shrpx_exec 2025-05-25 22:46:35 +09:00
Tatsuhiro Tsujikawa
052a3fafa9 Merge pull request #2429 from nghttp2/rewrite-to_token68
Rewrite util::to_token68
2025-05-25 22:33:07 +09:00
Tatsuhiro Tsujikawa
5535d099f6 Rewrite util::to_token68 2025-05-25 19:41:01 +09:00
Tatsuhiro Tsujikawa
23e555662e Merge pull request #2428 from nghttp2/h2load-ranges
h2load: Adopt std::ranges
2025-05-25 19:15:27 +09:00
Tatsuhiro Tsujikawa
bbe10abe2e h2load: Adopt std::ranges 2025-05-25 18:08:01 +09:00
Tatsuhiro Tsujikawa
a86e70d278 Merge pull request #2427 from nghttp2/nghttpd-ranges
nghttpd: Adopt std::ranges
2025-05-25 18:07:18 +09:00
Tatsuhiro Tsujikawa
ba484c41a9 nghttpd: Adopt std::ranges 2025-05-25 17:38:45 +09:00
Tatsuhiro Tsujikawa
413674f3ab Merge pull request #2426 from nghttp2/nghttp-ranges
nghttp: Adopt std::ranges
2025-05-25 17:38:17 +09:00
Tatsuhiro Tsujikawa
e907529aaf nghttp: Adopt std::ranges 2025-05-25 16:53:20 +09:00
Tatsuhiro Tsujikawa
05f517b118 Merge pull request #2425 from nghttp2/remove-memchunks-append-return-value
Remove Memchunks::append return value
2025-05-25 11:51:45 +09:00
Tatsuhiro Tsujikawa
d99de27967 Remove Memchunks::append return value
Make Memchunks::append return nothing because it always stores
everything given.
2025-05-25 11:17:15 +09:00
Tatsuhiro Tsujikawa
ceeb73fbfb Merge pull request #2424 from nghttp2/safer-memchunks-reserve-append
Safer way to write data directly to Memchunks buffer
2025-05-25 11:16:16 +09:00
Tatsuhiro Tsujikawa
f336a3dfde Safer way to write data directly to Memchunks buffer 2025-05-25 10:50:08 +09:00
Tatsuhiro Tsujikawa
196e533430 Merge pull request #2423 from nghttp2/update-android-dockerfile
Update android dockerfile
2025-05-24 22:18:45 +09:00