Tatsuhiro Tsujikawa
49908f9920
Update manual pages
2025-09-15 20:31:11 +09:00
Tatsuhiro Tsujikawa
a1342ac318
Bump package and library versions
2025-09-15 20:28:26 +09:00
Tatsuhiro Tsujikawa
c8c97a7632
Remove session_update_glitch_ratelim called from deep inside the chain
...
Calling session_update_glitch_ratelim from
session_handle_invalid_stream2 makes handling error quite difficult
because it might be called in nested function calls. It seems to me
that adding that is accidental.
2025-09-15 20:27:10 +09:00
Tatsuhiro Tsujikawa
45ac57609b
Update manual pages
2025-09-02 19:20:04 +09:00
Tatsuhiro Tsujikawa
3190d030f7
Bump package and library versions
2025-09-02 19:20:04 +09:00
Tatsuhiro Tsujikawa
6979a07da6
Update AUTHORS
2025-09-02 19:20:04 +09:00
Tatsuhiro Tsujikawa
768e383662
Merge pull request #2503 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 to v1.15.1
2025-09-02 19:19:24 +09:00
Tatsuhiro Tsujikawa
6fd2f9e027
Bump ngtcp2 to v1.15.1
2025-09-02 18:27:22 +09:00
Tatsuhiro Tsujikawa
54359802fa
Merge pull request #2500 from bmarques1995/master
...
Added nghttp3's pattern targets
2025-09-02 18:23:38 +09:00
bmarques1995
bc57689f17
Added nghttp3's pattern targets
2025-09-01 00:15:48 -03:00
Tatsuhiro Tsujikawa
3ae75e840e
Merge pull request #2499 from nghttp2/bump-libbpf
...
Bump libbpf to v1.6.2
2025-08-31 16:52:59 +09:00
Tatsuhiro Tsujikawa
7f79fbfa3e
Bump libbpf to v1.6.2
2025-08-31 16:24:02 +09:00
Tatsuhiro Tsujikawa
4c10abe99e
Merge pull request #2497 from nghttp2/test-lib-before-app
...
Test lib before building applications
2025-08-30 20:35:23 +09:00
Tatsuhiro Tsujikawa
2fed8b4945
Test lib before building applications
2025-08-30 19:29:06 +09:00
Tatsuhiro Tsujikawa
f266ee500d
Merge pull request #2496 from nghttp2/quic-padding
...
src: Adopt NGTCP2_WRITE_STREAM_FLAG_PADDING
2025-08-30 19:17:14 +09:00
Tatsuhiro Tsujikawa
708912fe20
Merge pull request #2495 from nghttp2/constexpr-fixup
...
src: constexpr fixup
2025-08-30 19:11:59 +09:00
Tatsuhiro Tsujikawa
f90a801609
src: Adopt NGTCP2_WRITE_STREAM_FLAG_PADDING
...
Adopt NGTCP2_WRITE_STREAM_FLAG_PADDING to increase opportunities for
GSO.
2025-08-30 18:42:07 +09:00
Tatsuhiro Tsujikawa
107b7814fa
src: constexpr fixup
...
- Use inline constexpr for constexpr variable with external linkage
- Use static constexpr where they should
- Use consteval for functions to generate a lookup table
2025-08-30 18:37:06 +09:00
Tatsuhiro Tsujikawa
bd70a1546c
Merge pull request #2494 from nghttp2/src-designated-initializers
...
src: Adopt designated initializers
2025-08-26 19:05:25 +09:00
Tatsuhiro Tsujikawa
6e660ddc4b
src: Adopt designated initializers
2025-08-26 18:12:09 +09:00
Tatsuhiro Tsujikawa
ea28e672ae
Merge pull request #2493 from nghttp2/ngtcp2-callback-designated-init
...
src: Adopt designated initializers for ngtcp2_callbacks
2025-08-25 21:50:54 +09:00
Tatsuhiro Tsujikawa
fe8685e37f
src: Adopt designated initializers for ngtcp2_callbacks
2025-08-25 21:01:08 +09:00
Tatsuhiro Tsujikawa
62c12b673b
Merge pull request #2492 from nghttp2/ngtcp2-crypto-libressl
...
Adopt libngtcp2_crypto_libressl changes
2025-08-25 19:16:15 +09:00
Tatsuhiro Tsujikawa
9ba0b7fde0
Adopt libngtcp2_crypto_libressl changes
2025-08-25 18:26:10 +09:00
Tatsuhiro Tsujikawa
f9f5db5b6a
Merge pull request #2491 from nghttp2/adopt-ngtcp2-nghttp3-features
...
Adopt ngtcp2 nghttp3 features
2025-08-24 21:20:57 +09:00
Tatsuhiro Tsujikawa
7ef3a91d9b
src: Adopt ngtcp2_conn_write_aggregate_pkt, require ngtcp2 >= v1.15.0
2025-08-24 20:52:11 +09:00
Tatsuhiro Tsujikawa
e435050378
src: Specify nghttp3_rand callback, require nghttp3 >= v1.11.0
2025-08-24 19:10:49 +09:00
Tatsuhiro Tsujikawa
8f5b450237
Merge pull request #2490 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and its dependencies
2025-08-24 12:04:15 +09:00
Tatsuhiro Tsujikawa
5f5fdc780f
Bump ngtcp2 and its dependencies
2025-08-24 11:16:06 +09:00
Tatsuhiro Tsujikawa
fd48570e7f
Merge pull request #2489 from nghttp2/fix-test-assertions
...
tests: Swap the positions of expected and actual values
2025-08-24 11:15:35 +09:00
Tatsuhiro Tsujikawa
daa4260f61
tests: Swap the positions of expected and actual values
2025-08-24 10:44:30 +09:00
Tatsuhiro Tsujikawa
451853f39b
Merge pull request #2488 from nghttp2/configurable-glitch-counter
...
Make glitch counter configurable
2025-08-24 10:43:54 +09:00
Tatsuhiro Tsujikawa
dfab53ef65
Make glitch counter configurable
2025-08-23 19:49:14 +09:00
Tatsuhiro Tsujikawa
5d4d517535
Merge pull request #2487 from nghttp2/gha-bump-clang
...
GHA: Bump clang to 19
2025-08-23 18:59:00 +09:00
Tatsuhiro Tsujikawa
c36b8ee88a
GHA: Bump clang to 19
2025-08-23 18:21:56 +09:00
Tatsuhiro Tsujikawa
2e84de0be9
Merge pull request #2486 from nghttp2/bump-clang-format
...
Bump clang-format to 19
2025-08-23 18:21:03 +09:00
Tatsuhiro Tsujikawa
e18beaa3bd
Bump clang-format to 19
2025-08-23 17:41:35 +09:00
Tatsuhiro Tsujikawa
4890cb0fb8
Merge pull request #2485 from nghttp2/glitch-counter
...
Add "glitch" counter
2025-08-23 17:38:37 +09:00
Tatsuhiro Tsujikawa
06fb688be2
Add "glitch" counter
...
Any suspicious activity such as DATA frames to a stream which does not
exist are counted to so called "glitch" counter. If it increases more
than the configured rate, GOAWAY is sent and the connection is closed.
2025-08-23 17:04:27 +09:00
Tatsuhiro Tsujikawa
56d5406bce
Merge pull request #2483 from nghttp2/dependabot/go_modules/golang.org/x/net-0.43.0
...
Bump golang.org/x/net from 0.42.0 to 0.43.0
2025-08-19 18:40:59 +09:00
Tatsuhiro Tsujikawa
0196b2cc03
Merge pull request #2482 from nghttp2/dependabot/github_actions/actions/checkout-5
...
Bump actions/checkout from 4 to 5
2025-08-19 18:21:13 +09:00
dependabot[bot]
de7da99453
Bump golang.org/x/net from 0.42.0 to 0.43.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.42.0 to 0.43.0.
- [Commits](https://github.com/golang/net/compare/v0.42.0...v0.43.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-18 21:33:06 +00:00
dependabot[bot]
40124de400
Bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-18 21:08:56 +00:00
Tatsuhiro Tsujikawa
6d7f80ed7f
Merge pull request #2481 from nghttp2/fix-doc
...
Update doc
2025-08-18 00:24:32 +09:00
Tatsuhiro Tsujikawa
7bf98f2729
Update doc
2025-08-17 21:39:52 +09:00
Tatsuhiro Tsujikawa
e434b74e50
Merge pull request #2480 from nghttp2/robust-error-handling
...
Make error handling robust
2025-08-17 18:12:44 +09:00
Tatsuhiro Tsujikawa
7784fa979d
Make error handling robust
...
Stream errors are now promoted to connection errors. This means that
an event that previously just resets a single stream now closes a
connection entirely. The promoted errors are mostly implementation
errors. Some involve HTTP fields, but they are already treated stream
error. People who care about that should have already raised any
issues. We do not have any outstanding related issues now, so it
seems OK to treat it as connection error.
We have some contradictory specifications around
nghttp2_on_invalid_header and nghttp2_on_invalid_header2 callbacks.
nghttp2_on_invalid_header says that if it is omitted, a stream is
reset. Meanwhile, nghttp2_on_invalid_header2 says that if it is
omitted, invalid field is silently ignored. In actual implementation,
if both omitted, we treat it as stream error. In practice, it is
often required not to bail out if invalid header is received. In this
change, if both callbacks are omitted, invalid field is silently
ignored as the documentation of nghttp2_on_invalid_header2 says. The
connection error promotion is applied here as well. So if invalid
field is received, and callback returns
NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE, it is treated as connection
error.
2025-08-17 16:50:49 +09:00
Tatsuhiro Tsujikawa
8391ae7a57
Merge pull request #2478 from nghttp2/fix-gha-android-build
...
GHA: Run android workflow on branches event
2025-08-09 18:36:27 +09:00
Tatsuhiro Tsujikawa
d63d2568b7
GHA: Run android workflow on branches event
2025-08-09 17:00:29 +09:00
Tatsuhiro Tsujikawa
d8d94e7a69
Merge pull request #2475 from nghttp2/rewrite-is_hex_string
...
src: Rewrite util::is_hex_string
2025-07-29 18:06:51 +09:00
Tatsuhiro Tsujikawa
ef3b25e152
src: Rewrite util::is_hex_string
2025-07-29 17:36:46 +09:00
Tatsuhiro Tsujikawa
52ae8b7d9f
Merge pull request #2474 from nghttp2/mem-free
...
lib: Use nghttp2_mem_free
2025-07-25 18:59:14 +09:00
Tatsuhiro Tsujikawa
d204cd0880
lib: Use nghttp2_mem_free
2025-07-25 18:30:51 +09:00
Tatsuhiro Tsujikawa
32a5793b02
Merge pull request #2473 from geoffhill/patch-1
...
Use allocator-aware free in failure path
2025-07-25 18:27:41 +09:00
Tatsuhiro Tsujikawa
b81979f35b
Merge pull request #2472 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.54.0
...
Bump github.com/quic-go/quic-go from 0.53.0 to 0.54.0
2025-07-24 20:51:16 +09:00
Geoff Hill
808271a5a9
Use allocator-aware free in failure path
...
This change avoids free(3) from stdlib in favor of nghttp2_mem_free() for freeing a buffer in an error path. The buffer is allocated with nghttp2_mem_malloc().
2025-07-23 10:41:05 -07:00
dependabot[bot]
4bfd528d44
Bump github.com/quic-go/quic-go from 0.53.0 to 0.54.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.53.0 to 0.54.0.
- [Release notes](https://github.com/quic-go/quic-go/releases )
- [Commits](https://github.com/quic-go/quic-go/compare/v0.53.0...v0.54.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-version: 0.54.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-21 16:57:05 +00:00
Tatsuhiro Tsujikawa
2fefe482bf
Merge pull request #2471 from nghttp2/dependabot/go_modules/golang.org/x/net-0.42.0
...
Bump golang.org/x/net from 0.41.0 to 0.42.0
2025-07-16 18:39:22 +09:00
dependabot[bot]
1c2ba03f94
Bump golang.org/x/net from 0.41.0 to 0.42.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.41.0 to 0.42.0.
- [Commits](https://github.com/golang/net/compare/v0.41.0...v0.42.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.42.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-14 17:26:26 +00:00
Tatsuhiro Tsujikawa
5edfa62c7b
Merge pull request #2468 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.53.0
...
Bump github.com/quic-go/quic-go from 0.52.0 to 0.53.0
2025-07-01 21:06:26 +09:00
Tatsuhiro Tsujikawa
efad89d9d2
Merge pull request #2469 from nghttp2/map-seed
...
Map seed
2025-07-01 20:27:22 +09:00
Tatsuhiro Tsujikawa
a8dfe825d0
src: Specify nghttp2_rand_callback
2025-07-01 19:25:33 +09:00
Tatsuhiro Tsujikawa
a9b0230e57
Add nghttp2_rand_callback
...
Add nghttp2_rand_callback. Seed nghttp2_map with the unpredictable
value from the callback.
2025-07-01 19:25:33 +09:00
Tatsuhiro Tsujikawa
01b16f64f4
Port ngtcp2_map changes
2025-07-01 18:25:24 +09:00
dependabot[bot]
b41ca012b4
Bump github.com/quic-go/quic-go from 0.52.0 to 0.53.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.52.0 to 0.53.0.
- [Release notes](https://github.com/quic-go/quic-go/releases )
- [Commits](https://github.com/quic-go/quic-go/compare/v0.52.0...v0.53.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-version: 0.53.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-30 17:49:27 +00:00
Tatsuhiro Tsujikawa
d2b58bd0cd
Merge pull request #2467 from nghttp2/pmtudisc-probe
...
src: Adopt IP_PMTUDISC_PROBE
2025-06-29 18:03:23 +09:00
Tatsuhiro Tsujikawa
fc43fc1805
src: Adopt IP_PMTUDISC_PROBE
...
It seems that IP_PMTUDISC_PROBE works in some advertent situations.
2025-06-29 17:37:55 +09:00
Tatsuhiro Tsujikawa
1616d9ef05
Merge pull request #2465 from nghttp2/ngtcp2-map-port
...
Port ngtcp2 map changes
2025-06-21 19:01:20 +09:00
Tatsuhiro Tsujikawa
05b29df6eb
Port ngtcp2 map changes
2025-06-21 18:34:09 +09:00
Tatsuhiro Tsujikawa
9f0c59d6dd
Merge pull request #2463 from nghttp2/android-docker-avoid-tag-event
...
Do not trigger android workflow on tag event
2025-06-17 21:58:51 +09:00
Tatsuhiro Tsujikawa
af02195b60
Do not trigger android workflow on tag event
2025-06-17 21:35:43 +09:00
Tatsuhiro Tsujikawa
0f46173c2d
Bump package version
2025-06-17 19:18:12 +09:00
Tatsuhiro Tsujikawa
ac22e0efe3
Update manual pages
2025-06-17 18:56:00 +09:00
Tatsuhiro Tsujikawa
031ae82552
Bump package and library versions
2025-06-17 18:52:43 +09:00
Tatsuhiro Tsujikawa
6b3e58127d
Update AUTHORS
2025-06-17 18:46:32 +09:00
Tatsuhiro Tsujikawa
5e576bda7d
Merge pull request #2462 from nghttp2/nghttpx-preserve-weightgroup-cycle
...
nghttpx: Preserve WeightGroup cycles between backend replaces
2025-06-16 21:28:02 +09:00
Tatsuhiro Tsujikawa
6039258f01
nghttpx: Preserve WeightGroup cycles between backend replaces
...
Preserve cycle in WeightGroups if name and weight of WeightGroups
under a single pattern do not change after replacing backends via
backendconfig API call. It does not matter if backend addresses under
those groups are changed.
2025-06-16 20:59:10 +09:00
Tatsuhiro Tsujikawa
121e401166
Merge pull request #2460 from nghttp2/dependabot/go_modules/golang.org/x/net-0.41.0
...
Bump golang.org/x/net from 0.40.0 to 0.41.0
2025-06-10 08:25:19 +09:00
dependabot[bot]
67ab8145c7
Bump golang.org/x/net from 0.40.0 to 0.41.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.40.0 to 0.41.0.
- [Commits](https://github.com/golang/net/compare/v0.40.0...v0.41.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.41.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-09 14:45:27 +00:00
Tatsuhiro Tsujikawa
68b663eaba
Merge pull request #2459 from nghttp2/conf-file-check-error
...
nghttpx: Check error when reading the configuration file
2025-06-09 21:17:43 +09:00
Tatsuhiro Tsujikawa
c9f3166c4d
nghttpx: Check error when reading the configuration file
2025-06-09 20:33:42 +09:00
Tatsuhiro Tsujikawa
eafb876a5b
Merge pull request #2458 from nghttp2/quic-secret-getline
...
nghttpx: Use std::getline to read QUIC secrets
2025-06-09 20:32:31 +09:00
Tatsuhiro Tsujikawa
c8790efadf
nghttpx: Use std::getline to read QUIC secrets
2025-06-09 19:42:02 +09:00
Tatsuhiro Tsujikawa
fbcf341878
Merge pull request #2457 from nghttp2/thread-local
...
Remove the availability check for thread_local
2025-06-09 19:24:52 +09:00
Tatsuhiro Tsujikawa
1adb1d9bb7
Remove the availability check for thread_local
2025-06-09 18:51:39 +09:00
Tatsuhiro Tsujikawa
c9bf55f125
Merge pull request #2455 from starrify/nghttpd-support-sslkeylogfile
...
nghttpd: Support SSLKEYLOGFILE
2025-06-09 18:51:02 +09:00
Tatsuhiro Tsujikawa
2b07607cac
Merge pull request #2456 from nghttp2/as-string-view
...
Use as_string_view to simplify the construction
2025-06-09 18:29:23 +09:00
Peng-Yu Chen
556fa9f781
nghttpd: Support SSLKEYLOGFILE
2025-06-09 10:18:05 +01:00
Tatsuhiro Tsujikawa
827da803f6
Use as_string_view to simplify the construction
2025-06-09 18:04:20 +09:00
Tatsuhiro Tsujikawa
b1496253d0
Merge pull request #2454 from nghttp2/replace-stringref-with-stringview
...
Replace stringref with stringview
2025-06-08 22:27:07 +09:00
Tatsuhiro Tsujikawa
811608bef8
Update script
2025-06-08 21:36:23 +09:00
Tatsuhiro Tsujikawa
db304adf70
Remove unnecessary casts and some adjustments
2025-06-08 21:19:59 +09:00
Tatsuhiro Tsujikawa
ef94a3be9a
Replace StringRef with std::string_view
2025-06-08 21:00:56 +09:00
Tatsuhiro Tsujikawa
2f283177f7
Merge pull request #2453 from nghttp2/src-refactor
...
Src refactor
2025-06-08 18:00:53 +09:00
Tatsuhiro Tsujikawa
b13eb2c13f
util::format_duration: Use std::string_view for unit
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
9707f9bfbe
util::show_candidates: Use std::string_view for cands
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
53785c2434
tls::get_tls_protocol: Return std::string_view
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
4f450d0f5a
Router::add_node: Receive pattern as StringRef
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
86a36fec8a
RNode: Store s as std::string_view
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
5ccd54734a
Rewrite http::colorize_headers
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
ecf42e76a8
FieldStore: Pass StringRef rather than const char * and its length
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
c72e5f116d
Remove unused http2::dump_nv overloads
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
d79fd53b67
http2::get_header: Take std::string_view
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
0bfdc8682d
Remove http2::get_header overloads that take HeaderIndex
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
af5f768a52
Remove unused http2::copy_url_component
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
9a51528aab
Remove unused http2::lws
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
e403873ac8
Refactor levenshtein to accept std::string_view
2025-06-08 17:38:00 +09:00
Tatsuhiro Tsujikawa
e004f75e77
Merge pull request #2452 from nghttp2/nghttpx-quic-read-rate
...
nghttpx: Implement rate limiting for incoming QUIC traffic
2025-06-08 12:45:58 +09:00
Tatsuhiro Tsujikawa
55e02bdb70
nghttpx: Implement rate limiting for incoming QUIC traffic
2025-06-08 12:06:58 +09:00
Tatsuhiro Tsujikawa
d28170aaeb
Merge pull request #2451 from nghttp2/refactor-siphash-keygen
...
src: Refactor siphash key generation
2025-06-06 20:37:19 +09:00
Tatsuhiro Tsujikawa
d2e9479da4
src: Refactor siphash key generation
2025-06-06 19:32:19 +09:00
Tatsuhiro Tsujikawa
e0c815249d
Merge pull request #2450 from nghttp2/bump-libbpf
...
Bump libbpf to v1.5.1
2025-06-04 20:39:58 +09:00
Tatsuhiro Tsujikawa
f5053fb2ad
Bump libbpf to v1.5.1
2025-06-04 18:57:06 +09:00
Tatsuhiro Tsujikawa
53ca70ae70
Merge pull request #2449 from nghttp2/bump-llhttp
...
Bump llhttp to v9.3.0
2025-06-04 18:40:44 +09:00
Tatsuhiro Tsujikawa
eea717d21b
Bump llhttp to v9.3.0
2025-06-04 18:18:57 +09:00
Tatsuhiro Tsujikawa
2e86b1bd77
Merge pull request #2448 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and its dependencies
2025-06-03 22:55:08 +09:00
Tatsuhiro Tsujikawa
8b638f219c
Bump ngtcp2 and its dependencies
2025-06-03 21:46:00 +09:00
Tatsuhiro Tsujikawa
91340d59bb
Merge pull request #2447 from nghttp2/app-cleanup-part2
...
App cleanup part2
2025-05-31 17:11:43 +09:00
Tatsuhiro Tsujikawa
3eafe7e630
Remove unnecessary cast
2025-05-31 16:34:30 +09:00
Tatsuhiro Tsujikawa
923014d163
Remove noexcept
2025-05-31 16:34:30 +09:00
Tatsuhiro Tsujikawa
4fe2aab723
Might be easier to read
2025-05-31 16:34:30 +09:00
Tatsuhiro Tsujikawa
65c9142cd1
Use is_digit
2025-05-31 16:34:30 +09:00
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
Tatsuhiro Tsujikawa
eefe3759f1
Use ARG instead of ENV because they are build time variables
2025-05-24 21:36:19 +09:00
Tatsuhiro Tsujikawa
fd18019e84
Fix deprecated warning about ENV syntax
2025-05-24 21:30:20 +09:00
Tatsuhiro Tsujikawa
8dfd1c3f95
Migrate deprecated MAINTAINER instruction to LABEL
2025-05-24 21:02:44 +09:00
Tatsuhiro Tsujikawa
d448ee9fa5
Bump NDK version to r27c
2025-05-24 20:56:00 +09:00
Tatsuhiro Tsujikawa
0f6f47ebc9
Dockerfile.android: Bump ubuntu to 24.04
2025-05-24 20:56:00 +09:00
Tatsuhiro Tsujikawa
03c416a2ca
Merge pull request #2422 from nghttp2/bump-mruby
...
Bump mruby to 3.4.0+
2025-05-24 20:50:42 +09:00
Tatsuhiro Tsujikawa
2ac38479f5
Bump mruby to 3.4.0+
...
3.4.0 breaks out-of-tree build. Fast forward to the commit that fixes
it.
2025-05-24 19:09:13 +09:00
Tatsuhiro Tsujikawa
a4e447bd84
Merge pull request #2421 from nghttp2/fix-dockerfile
...
docker: Fix build failure
2025-05-24 19:08:43 +09:00
Tatsuhiro Tsujikawa
bf292cc752
docker: Fix build failure
2025-05-24 18:41:28 +09:00
Tatsuhiro Tsujikawa
3ed14f2b38
Merge pull request #2420 from nghttp2/nghttpx-ranges-part4
...
Nghttpx ranges part4
2025-05-24 18:40:33 +09:00
Tatsuhiro Tsujikawa
c3574b711d
Adopt std::ranges for tests
2025-05-24 18:14:49 +09:00
Tatsuhiro Tsujikawa
8d9c80a285
nghttpx: Fix std::ranges adoption remnants
2025-05-24 18:14:49 +09:00
Tatsuhiro Tsujikawa
34b18758cb
Merge pull request #2418 from nghttp2/utos-require-unsigned
...
Make util::utos require std::unsigned_integral
2025-05-24 17:58:49 +09:00
Tatsuhiro Tsujikawa
89fb8dd503
Make util::utos require std::unsigned_integral
2025-05-24 17:34:23 +09:00
Tatsuhiro Tsujikawa
7634e06611
Merge pull request #2417 from nghttp2/remove-draft-h2-alpn-support
...
Remove draft h2 alpn support
2025-05-24 16:58:18 +09:00
Tatsuhiro Tsujikawa
9278383c1a
Remove util::get_default_alpn
2025-05-24 16:36:20 +09:00
Tatsuhiro Tsujikawa
86ba78b461
Remove draft h2 ALPN support
2025-05-24 16:36:20 +09:00
Tatsuhiro Tsujikawa
82320337ea
Merge pull request #2416 from nghttp2/memchunk-reserve-test
...
Add test for Memchunks::reserve
2025-05-24 16:26:28 +09:00
Tatsuhiro Tsujikawa
3b7cabf15a
Add test for Memchunks::reserve
2025-05-24 15:56:57 +09:00
Tatsuhiro Tsujikawa
63aa83ac42
Merge pull request #2415 from nghttp2/remove-memchunk-append-char-array
...
Remove Memchunks::append(const char (&)[N])
2025-05-24 15:56:30 +09:00
Tatsuhiro Tsujikawa
9a09d9602b
Remove Memchunks::append(const char (&)[N])
2025-05-24 15:18:37 +09:00
Tatsuhiro Tsujikawa
9ac5a1a773
Merge pull request #2414 from nghttp2/refactor-to_numeric_addr
...
Refactor util::to_numeric_addr
2025-05-24 15:18:13 +09:00
Tatsuhiro Tsujikawa
1814fc1f2f
Refactor util::to_numeric_addr
2025-05-24 14:44:12 +09:00
Tatsuhiro Tsujikawa
23f2cb85fe
Merge pull request #2413 from nghttp2/ranges-util
...
util: Adopt std::ranges
2025-05-24 14:42:25 +09:00
Tatsuhiro Tsujikawa
1c07b88b2a
util: Adopt std::ranges
2025-05-24 14:05:07 +09:00
Tatsuhiro Tsujikawa
44484e2ed5
Merge pull request #2412 from nghttp2/memchunk-direct-write
...
Allow Writing data to Memchunks directly
2025-05-24 14:04:48 +09:00
Tatsuhiro Tsujikawa
78f542d59e
Allow Writing data to Memchunks directly
2025-05-24 13:40:15 +09:00
Tatsuhiro Tsujikawa
99f658d600
Merge pull request #2411 from nghttp2/status-write
...
Write http status string directly
2025-05-24 13:34:07 +09:00
Tatsuhiro Tsujikawa
aa2955c8fb
Write http status string directly
2025-05-24 13:11:52 +09:00
Tatsuhiro Tsujikawa
d995c75173
Merge pull request #2410 from nghttp2/rewrite-upcase
...
Rewrite util::upcase
2025-05-24 12:45:17 +09:00
Tatsuhiro Tsujikawa
bb7a0c78ce
Rewrite util::upcase
2025-05-24 12:18:34 +09:00
Tatsuhiro Tsujikawa
4993297326
Merge pull request #2409 from nghttp2/no-capitalize-http-field-name
...
nghttpx: No need to capitalize HTTP/1.1 field name
2025-05-24 11:54:53 +09:00
Tatsuhiro Tsujikawa
e0089070f5
nghttpx: No need to capitalize HTTP/1.1 field name
2025-05-24 11:16:14 +09:00
Tatsuhiro Tsujikawa
c3c418ce7a
Merge pull request #2408 from nghttp2/pred-func-tables
...
Generate tables for character predicate functions
2025-05-24 11:11:01 +09:00
Tatsuhiro Tsujikawa
2643afa593
Generate tables for character predicate functions
2025-05-24 10:46:30 +09:00
Tatsuhiro Tsujikawa
1a118fc0b2
Merge pull request #2407 from nghttp2/amend-date
...
Amend date
2025-05-23 23:21:28 +09:00
Tatsuhiro Tsujikawa
1af84eca7b
Amend date
...
- Use std::chrono::system_clock::from_time_t
- Allocate extra byte for terminal NUL just in case
2025-05-23 22:59:34 +09:00
Tatsuhiro Tsujikawa
e3fbf4b0f1
Merge pull request #2406 from nghttp2/rewrite-format_http_date
...
Rewrite format_http_date with std::chrono
2025-05-23 22:14:12 +09:00
Tatsuhiro Tsujikawa
ac080aeabb
Rewrite format_http_date with std::chrono
2025-05-23 21:43:05 +09:00
Tatsuhiro Tsujikawa
f59f7b6ded
Merge pull request #2405 from nghttp2/rewrite-format_common_log
...
Rewrite format_common_log
2025-05-23 21:20:54 +09:00
Tatsuhiro Tsujikawa
d73b5d42e9
Rewrite format_common_log
2025-05-23 20:46:33 +09:00
Tatsuhiro Tsujikawa
8b0c12219a
Merge pull request #2404 from nghttp2/rewrite-format_iso8601_basic
...
Rewrite format_iso8601_basic with std::chrono
2025-05-23 19:45:54 +09:00
Tatsuhiro Tsujikawa
f0fce329b3
Rewrite format_iso8601_basic with std::chrono
2025-05-23 19:11:02 +09:00
Tatsuhiro Tsujikawa
c39db11532
Merge pull request #2403 from nghttp2/hide-iso8601_date
...
Hide iso8601_date in unnamed namespace
2025-05-23 19:10:33 +09:00
Tatsuhiro Tsujikawa
be06de738c
Hide iso8601_date in unnamed namespace
2025-05-23 18:50:09 +09:00
Tatsuhiro Tsujikawa
3b82d4848a
Merge pull request #2402 from nghttp2/util-refactor-format-date
...
Util refactor format date
2025-05-22 22:28:16 +09:00
Tatsuhiro Tsujikawa
5504920feb
Make MONTH and DAY_OF_WEEK array of std::string_view
2025-05-22 21:50:48 +09:00
Tatsuhiro Tsujikawa
faa3831d05
Rewrite cpydig
2025-05-22 21:41:17 +09:00
Tatsuhiro Tsujikawa
75d836c21e
Merge pull request #2401 from nghttp2/chrono-format_iso8601
...
Rewrite format_iso8601 with std::chrono
2025-05-22 21:31:09 +09:00
Tatsuhiro Tsujikawa
0b730de705
Rewrite format_iso8601 with std::chrono
2025-05-22 21:11:11 +09:00
Tatsuhiro Tsujikawa
4f2b72dbeb
Merge pull request #2400 from nghttp2/hide-xdigits
...
Hide *_XDIGITS inside table generator functions
2025-05-22 20:43:46 +09:00
Tatsuhiro Tsujikawa
5faf84cf2f
Hide *_XDIGITS inside table generator functions
2025-05-22 20:23:30 +09:00
Tatsuhiro Tsujikawa
784c1dbe36
Merge pull request #2399 from nghttp2/range-disallow-array
...
Disallow array to substitute R &&
2025-05-22 19:43:57 +09:00
Tatsuhiro Tsujikawa
74c6a20d96
Disallow array to substitute R &&
...
C array is sometimes very dangerous for this purpose, for example, if
it contains NULL terminated string. In such case, passing entire
array is unacceptable.
2025-05-22 19:13:46 +09:00
Tatsuhiro Tsujikawa
901d8d777c
Merge pull request #2398 from nghttp2/faster-utox
...
Optimize util::utox
2025-05-22 00:45:52 +09:00
Tatsuhiro Tsujikawa
880fa82e65
Optimize util::utox
2025-05-21 23:10:03 +09:00
Tatsuhiro Tsujikawa
855e65b9c8
Merge pull request #2397 from nghttp2/faster-format_hex
...
Optimize util::format_hex
2025-05-21 21:20:06 +09:00
Tatsuhiro Tsujikawa
a2f37abdbe
Optimize util::format_hex
2025-05-21 20:49:44 +09:00
Tatsuhiro Tsujikawa
e9b9de1006
Merge pull request #2396 from nghttp2/faster-utos
...
Optimize util::utos
2025-05-21 19:44:13 +09:00
Tatsuhiro Tsujikawa
ab32a1bb40
Optimize util::utos
2025-05-21 19:10:05 +09:00
Tatsuhiro Tsujikawa
e81aeb6fe4
Merge pull request #2395 from nghttp2/base64-constexpr
...
Make base64 encoder/decoder constexpr
2025-05-20 23:19:31 +09:00
Tatsuhiro Tsujikawa
a404ba5c12
Make base64 encoder/decoder constexpr
2025-05-20 22:49:00 +09:00
Tatsuhiro Tsujikawa
7d15a7aa6b
Merge pull request #2394 from nghttp2/refine-output-iterator
...
Refine output iterator requirements
2025-05-20 22:38:37 +09:00
Tatsuhiro Tsujikawa
d41fd15d23
Refine output iterator requirements
2025-05-20 21:53:55 +09:00
Tatsuhiro Tsujikawa
c1f08ca2f6
Merge pull request #2393 from nghttp2/refactor-make_hostport
...
Refactor util::make_http_hostport and util::make_hostport
2025-05-20 21:53:25 +09:00
Tatsuhiro Tsujikawa
aeb5185a44
Refactor util::make_http_hostport and util::make_hostport
2025-05-20 21:33:54 +09:00
Tatsuhiro Tsujikawa
88171ab2bf
Merge pull request #2392 from nghttp2/remove-inp_strlower
...
Remove util::inp_strlower in favor of util::tolower
2025-05-20 18:30:03 +09:00
Tatsuhiro Tsujikawa
02d1de1d9d
Remove util::inp_strlower in favor of util::tolower
2025-05-20 18:01:25 +09:00
Tatsuhiro Tsujikawa
339bc419bf
Merge pull request #2391 from nghttp2/constexpr-format_hex
...
Make util::format_hex constexpr
2025-05-19 23:54:36 +09:00
Tatsuhiro Tsujikawa
81e817f695
Make util::format_hex constexpr
2025-05-19 23:03:05 +09:00
Tatsuhiro Tsujikawa
6659de1cfd
Merge pull request #2390 from nghttp2/rewrite-decode_hex
...
Rewrite util::decode_hex
2025-05-19 22:52:33 +09:00
Tatsuhiro Tsujikawa
9e11a12c72
Rewrite util::decode_hex
2025-05-19 22:28:08 +09:00
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
Tatsuhiro Tsujikawa
f27d667cec
Make string comparison functions constexpr
2025-05-13 19:14:00 +09:00
Tatsuhiro Tsujikawa
50c2a0fc99
Merge pull request #2370 from nghttp2/single-pass-header-name-lowecase
...
Single pass header name lowecase
2025-05-13 18:19:18 +09:00
Tatsuhiro Tsujikawa
9a7dad6a50
Make sure that args are forwarded once
2025-05-13 17:54:36 +09:00
Tatsuhiro Tsujikawa
12e6caadce
append_last_header_key: Copy and lowecase name in a single pass
2025-05-13 17:54:36 +09:00
Tatsuhiro Tsujikawa
3cdfcd3819
Merge pull request #2369 from nghttp2/dependabot/go_modules/golang.org/x/net-0.40.0
...
build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0
2025-05-12 23:45:52 +09:00
Tatsuhiro Tsujikawa
87396313d6
Merge pull request #2368 from nghttp2/tolower
...
Add template to copy lowercased string
2025-05-12 23:32:52 +09:00
dependabot[bot]
48ee27dcd0
build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/net/compare/v0.39.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-12 14:13:47 +00:00
Tatsuhiro Tsujikawa
cb94c00a36
Add template to copy lowercased string
2025-05-12 23:01:02 +09:00
Tatsuhiro Tsujikawa
fa00277afe
Merge pull request #2367 from nghttp2/nghttpx-ranges-worker
...
shrpx_worker: Adopt std::ranges
2025-05-12 22:26:15 +09:00
Tatsuhiro Tsujikawa
bf5565ea2c
shrpx_worker: Adopt std::ranges
2025-05-12 21:49:48 +09:00
Tatsuhiro Tsujikawa
da6f0dd646
Merge pull request #2364 from nghttp2/as_string_ref
...
Add helper template for StringRef from contiguous range
2025-05-12 20:56:34 +09:00
Tatsuhiro Tsujikawa
71dd4399fc
Add helper template for StringRef from contiguous range
2025-05-12 20:31:39 +09:00
Tatsuhiro Tsujikawa
08c0dad06f
Merge pull request #2366 from nghttp2/integration-external-dns-disable-backend-ipv6
...
integration: Disable IPv6 on backend for external DNS tests
2025-05-12 20:30:36 +09:00
Tatsuhiro Tsujikawa
be9066bd7a
GHA: Add backend to /etc/hosts to avoid nip.io
2025-05-12 19:15:22 +09:00
Tatsuhiro Tsujikawa
13aa7e5e78
integration: Disable IPv6 on backend for external DNS tests
2025-05-12 18:43:29 +09:00
Tatsuhiro Tsujikawa
0dbcb08e64
Merge pull request #2363 from nghttp2/bump-munit
...
Bump munit
2025-05-11 22:23:53 +09:00
Tatsuhiro Tsujikawa
a158d1dbb4
Bump munit
2025-05-11 21:33:51 +09:00
Tatsuhiro Tsujikawa
5742430337
Merge pull request #2362 from nghttp2/nghttpx-ranges-tls
...
shrpx_tls: Adopt std::ranges
2025-05-11 19:10:10 +09:00
Tatsuhiro Tsujikawa
75453db4ce
shrpx_tls: Adopt std::ranges
2025-05-11 18:30:46 +09:00
Tatsuhiro Tsujikawa
458613c923
Merge pull request #2361 from nghttp2/nghttpx-ranges-part1
...
Nghttpx ranges part1
2025-05-11 11:13:33 +09:00
Tatsuhiro Tsujikawa
f29a47d577
shrpx_downstream_queue: Adopt std::ranges
2025-05-11 10:21:24 +09:00
Tatsuhiro Tsujikawa
4b6e156ddf
shrpx_http_downstream_connection: Adopt std::ranges
2025-05-11 10:21:24 +09:00
Tatsuhiro Tsujikawa
5e26011caf
shrpx_downstream:: Adopt std::ranges
2025-05-11 10:21:24 +09:00
Tatsuhiro Tsujikawa
4cd3369ed1
shrpx_client_handler: Adopt std::ranges
...
I was surprised the changes between std::lower_bound and
std::ranges::lower_bound. It seems using projection is the simplest
workaround for our use.
2025-05-11 10:21:24 +09:00
Tatsuhiro Tsujikawa
90b2fbea66
shrpx_connection_handler: Adopt std::ranges
2025-05-11 10:21:24 +09:00
Tatsuhiro Tsujikawa
5b725c8a83
Merge pull request #2360 from nghttp2/string-ref-hash
...
StringRef: Piggyback std::hash<std::string_view>
2025-05-11 10:16:57 +09:00
Tatsuhiro Tsujikawa
83e079322e
StringRef: Piggyback std::hash<std::string_view>
2025-05-11 09:37:38 +09:00
Tatsuhiro Tsujikawa
cc0207c967
Merge pull request #2359 from nghttp2/ranges-base64
...
Ranges base64
2025-05-10 18:19:07 +09:00
Tatsuhiro Tsujikawa
1f84d34371
Merge pull request #2358 from nghttp2/nghttpx-ranges-https-upstream
...
shrpx_https_upstream: Adopt std::ranges
2025-05-10 17:35:56 +09:00
Tatsuhiro Tsujikawa
f1808e1a0f
base64::encode: Adopt std::ranges
2025-05-10 17:05:10 +09:00
Tatsuhiro Tsujikawa
07cc22bffa
shrpx_https_upstream: Adopt std::ranges
2025-05-10 17:05:10 +09:00
Tatsuhiro Tsujikawa
db0a936158
base64::decode: Adopt std::ranges
2025-05-10 17:05:10 +09:00
Tatsuhiro Tsujikawa
e1c1168db3
Merge pull request #2357 from nghttp2/nghttpx-fix-forwarded-by
...
nghttpx: Fix Forwarded By
2025-05-10 17:04:43 +09:00
Tatsuhiro Tsujikawa
f5606f9855
nghttpx: Fix Forwarded By
...
Previously, the value sent with Forward By parameter is the address
assigned to the listening socket. This does not work expected if the
assigned address is wild card, (e.g., ::, 0.0.0.0).
This commit fixes this issue by using the local address that the
connection is accepted. For QUIC, it is the local address that
handshake is performed, and it stays the same even after client
address migration occurred.
2025-05-10 16:32:44 +09:00
Tatsuhiro Tsujikawa
d014becee2
Merge pull request #2356 from nghttp2/nghttpx-quic-frontend-address-resolution
...
nghttpx: Rework frontend address resolution for QUIC packets
2025-05-10 00:28:41 +09:00
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
feicong
188cd1ef6b
Fixed android support
2025-04-17 15:13:51 +08:00
Tatsuhiro Tsujikawa
aa82e0132a
Merge pull request #2328 from nghttp2/dependabot/go_modules/golang.org/x/net-0.39.0
...
build(deps): bump golang.org/x/net from 0.38.0 to 0.39.0
2025-04-16 18:55:02 +09:00
dependabot[bot]
dbd027c796
build(deps): bump golang.org/x/net from 0.38.0 to 0.39.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/net/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-14 14:15:07 +00:00
Tatsuhiro Tsujikawa
999baf9090
Merge pull request #2327 from nghttp2/gha-macos-15
...
GHA: Replace macos-13 with macos-15
2025-04-13 17:47:23 +09:00
Tatsuhiro Tsujikawa
ce5b1e9235
GHA: Replace macos-13 with macos-15
2025-04-13 17:03:00 +09:00
Tatsuhiro Tsujikawa
ac29d9da5f
Merge pull request #2326 from nghttp2/quic-rand-take2
...
quic: Use secure random generator for ngtcp2_rand
2025-04-10 21:22:50 +09:00
Tatsuhiro Tsujikawa
44495acf4f
quic: Use secure random generator for ngtcp2_rand
2025-04-10 20:41:50 +09:00
Tatsuhiro Tsujikawa
29263b1b41
Merge pull request #2325 from nghttp2/revert-2324-quic-rand
...
Revert "quic: Use secure random generator for ngtcp2_rand"
2025-04-10 20:36:40 +09:00
Tatsuhiro Tsujikawa
3d2e252e2c
Revert "quic: Use secure random generator for ngtcp2_rand"
2025-04-10 20:35:39 +09:00
Tatsuhiro Tsujikawa
e1337244d3
Merge pull request #2324 from nghttp2/quic-rand
...
quic: Use secure random generator for ngtcp2_rand
2025-04-10 20:31:43 +09:00
Tatsuhiro Tsujikawa
885ea764a0
quic: Use secure random generator for ngtcp2_rand
2025-04-10 19:47:56 +09:00
Tatsuhiro Tsujikawa
58a38d00e4
Merge pull request #2322 from nghttp2/update-integration-tests
...
Update integration tests
2025-04-04 21:11:44 +09:00
Tatsuhiro Tsujikawa
24a1554e3a
Merge pull request #2318 from slyon/fix-ftbfs-upstream
...
doc:rubydomain: Fix build failure with rubydomain namespace
2025-04-04 20:59:22 +09:00
Tatsuhiro Tsujikawa
d167c34753
Merge pull request #2323 from nghttp2/nghttpx-close-conn-on-h1-connect-failure
...
nghttpx: Close h1 connection on CONNECT failure
2025-04-04 20:40:18 +09:00
Tatsuhiro Tsujikawa
4fd86afb89
nghttpx: Close h1 connection on CONNECT failure
2025-04-04 19:35:34 +09:00
Tatsuhiro Tsujikawa
a2aa9d1fc7
Fix lint errors
2025-04-04 19:32:04 +09:00
Tatsuhiro Tsujikawa
283cbc4df5
Bump go version to 1.24
2025-04-04 18:30:06 +09:00
Tatsuhiro Tsujikawa
18d98dd215
Merge pull request #2320 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.50.1
...
build(deps): bump github.com/quic-go/quic-go from 0.50.0 to 0.50.1
2025-04-03 22:51:54 +09:00
Tatsuhiro Tsujikawa
3dee622df6
Merge pull request #2321 from nghttp2/remove-go-toolchain
...
Remove go toolchain
2025-04-03 21:49:40 +09:00
Tatsuhiro Tsujikawa
6b81eeb106
Remove go toolchain
2025-04-03 19:04:31 +09:00
dependabot[bot]
594bc072ae
build(deps): bump github.com/quic-go/quic-go from 0.50.0 to 0.50.1
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.50.0 to 0.50.1.
- [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.0...v0.50.1 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-03 10:03:31 +00:00
Tatsuhiro Tsujikawa
077259c08c
Merge pull request #2319 from nghttp2/dependabot/go_modules/golang.org/x/net-0.38.0
...
build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0
2025-04-03 19:02:24 +09:00
dependabot[bot]
168f210f34
build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-31 14:20:04 +00:00
Lukas Märdian
a86dbfd723
doc:rubydomain: Fix build failure with rubydomain namespace
...
This package fails to build from source in Debian and Ubuntu:
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095360
* https://bugs.launchpad.net/ubuntu/+source/nghttp2/+bug/2104171
With the following log output:
```
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
make[3]: Entering directory '/<<PKGBUILDDIR>>/integration-tests'
make[3]: Nothing to be done for 'html'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/integration-tests'
Making html in doc
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
for i in README.rst programmers-guide.rst nghttp.1.rst nghttpd.1.rst nghttpx.1.rst h2load.1.rst; do [ -e ./$i ] || cp ./$i .; done
/usr/bin/python3 ../doc/mkapiref.py \
apiref.rst macros.rst enums.rst types.rst . ../lib/includes/nghttp2/nghttp2ver.h ../lib/includes/nghttp2/nghttp2.h
sphinx-build -b html -d manual/doctrees . manual/html
Running Sphinx v8.1.3
loading translations [en]... done
Extension error:
Could not import extension rubydomain.rubydomain (exception: No module named 'pkg_resources')
make[3]: *** [Makefile:921: html-local] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[2]: *** [Makefile:583: html-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:14: override_dh_auto_build-indep] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:62: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
```
Adding a Build-Depends-Indep on `python3-pkg-resources` fixes the build, but is deprecated.
According to setuptools:
```
def declare_namespace(packageName: str) -> None:
"""Declare that package 'packageName' is a namespace package"""
msg = (
f"Deprecated call to `pkg_resources.declare_namespace({packageName!r})`.\n"
"Implementing implicit namespace packages (as specified in PEP 420) "
"is preferred to `pkg_resources.declare_namespace`. "
"See https://setuptools.pypa.io/en/latest/references/ "
"keywords.html#keyword-namespace-packages"
)
warnings.warn(msg, DeprecationWarning, stacklevel=2)
```
Here it looks like the explicit namespacing was only needed when extending the `sphinxcontrib` module, but it was renamed to be an independent module "rubydomain.rubydomain":
a029f6ed2c
So `doc/_extrs/rubydomain/__init__.py` should just be dropped to make it an implicit namespaced package in accordance with https://peps.python.org/pep-0420/ .
2025-03-27 12:47:52 +01:00
Tatsuhiro Tsujikawa
daef61594c
Merge pull request #2317 from nghttp2/h2load-group-name
...
h2load: Check the return value from OBJ_nid2sn
2025-03-23 14:12:48 +09:00
Tatsuhiro Tsujikawa
de7b174cec
h2load: Check the return value from OBJ_nid2sn
2025-03-23 13:33:04 +09:00
Tatsuhiro Tsujikawa
d6af4a90d5
Merge pull request #2316 from nghttp2/dependabot/go_modules/golang.org/x/net-0.37.0
...
build(deps): bump golang.org/x/net from 0.35.0 to 0.37.0
2025-03-12 21:39:01 +09:00
dependabot[bot]
ea6079c2ab
build(deps): bump golang.org/x/net from 0.35.0 to 0.37.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.35.0 to 0.37.0.
- [Commits](https://github.com/golang/net/compare/v0.35.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-10 15:13:44 +00:00
Tatsuhiro Tsujikawa
3fbebd97cd
Merge pull request #2314 from nghttp2/bump-quic-go
...
Bump github.com/quic-go/quic-go to v0.50.0
2025-03-04 19:03:08 +09:00
Tatsuhiro Tsujikawa
b3f18d73f5
Bump github.com/quic-go/quic-go to v0.50.0
2025-03-04 18:09:51 +09:00
Tatsuhiro Tsujikawa
cfbe1ff69c
Bump package version
2025-03-02 16:51:14 +09:00
Tatsuhiro Tsujikawa
319bf015de
Update bash_completion
2025-03-02 16:18:56 +09:00
Tatsuhiro Tsujikawa
99c572448a
Update manual pages
2025-03-02 16:18:19 +09:00
Tatsuhiro Tsujikawa
a5007158df
Bump package and library versions
2025-03-02 15:34:36 +09:00
Tatsuhiro Tsujikawa
0b210f072d
Update AUTHORS
2025-03-02 15:32:40 +09:00
Tatsuhiro Tsujikawa
5ca289471f
Merge pull request #2311 from nghttp2/bump-libbpf
...
Bump libbpf to v1.5.0
2025-03-02 09:28:16 +09:00
Tatsuhiro Tsujikawa
2141edda0c
Merge pull request #2312 from nghttp2/fix-coverity-check
...
Fix errors reported by coverity
2025-03-01 17:36:14 +09:00
Tatsuhiro Tsujikawa
d9793fceaf
Fix errors reported by coverity
2025-03-01 16:57:25 +09:00
Tatsuhiro Tsujikawa
1459db27fb
Bump libbpf to v1.5.0
2025-02-28 17:23:48 +09:00
Tatsuhiro Tsujikawa
133cc56e70
Merge pull request #2310 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2025-02-27 20:48:49 +09:00
Tatsuhiro Tsujikawa
cd9a021a19
Suppress warning when building C++ code with wolfSSL
2025-02-27 18:49:45 +09:00
Tatsuhiro Tsujikawa
2e8124eadb
Bump ngtcp2 and its dependencies
2025-02-27 18:20:58 +09:00
Tatsuhiro Tsujikawa
ce5329a310
Merge pull request #2309 from nghttp2/nghttpx-rework-quic-conn
...
nghttpx: Rework QUIC connection handling
2025-02-18 20:48:09 +09:00
Tatsuhiro Tsujikawa
1049ce0a99
nghttpx: Rework QUIC connection handling
2025-02-18 19:14:38 +09:00
Tatsuhiro Tsujikawa
6b74e0097b
Merge pull request #2308 from nghttp2/dependabot/go_modules/golang.org/x/net-0.35.0
...
build(deps): bump golang.org/x/net from 0.34.0 to 0.35.0
2025-02-18 18:05:30 +09:00
dependabot[bot]
785b0b541d
build(deps): bump golang.org/x/net from 0.34.0 to 0.35.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.34.0 to 0.35.0.
- [Commits](https://github.com/golang/net/compare/v0.34.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-17 15:22:16 +00:00
Tatsuhiro Tsujikawa
321b71aedb
Merge pull request #2306 from nghttp2/clang-format
...
clang-format
2025-02-08 21:47:37 +09:00
Tatsuhiro Tsujikawa
1dbbcc35e1
clang-format
2025-02-08 19:23:07 +09:00
Tatsuhiro Tsujikawa
e2e737234e
Merge pull request #2305 from qnx-ports/master
...
Add QNX Support
2025-02-05 18:05:02 +09:00
Deep Chordia
2b7ad6e6f3
Add QNX Support
2025-02-05 10:19:04 +05:30
Tatsuhiro Tsujikawa
e01c9f10a3
Merge pull request #2304 from nghttp2/cmake-src-tests
...
cmake: Disable src tests if BUILD_TESTING is OFF
2025-02-03 19:07:39 +09:00
Tatsuhiro Tsujikawa
a2db898d70
cmake: Disable src tests if BUILD_TESTING is OFF
2025-02-03 18:17:34 +09:00
Tatsuhiro Tsujikawa
fd4505cfb2
Merge pull request #2302 from nghttp2/min-quic-pktlen
...
The minimum length of a valid QUIC packet is 21
2025-01-29 22:53:19 +09:00
Tatsuhiro Tsujikawa
9c23c72d99
The minimum length of a valid QUIC packet is 21
2025-01-29 22:33:23 +09:00
Tatsuhiro Tsujikawa
d037dc32b4
Merge pull request #2301 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.49.0
...
build(deps): bump github.com/quic-go/quic-go from 0.48.2 to 0.49.0
2025-01-28 00:01:21 +09:00
dependabot[bot]
e045b46352
build(deps): bump github.com/quic-go/quic-go from 0.48.2 to 0.49.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.48.2 to 0.49.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.48.2...v0.49.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-27 14:12:46 +00:00
Tatsuhiro Tsujikawa
a4dad6d36a
Merge pull request #2300 from nghttp2/stale-exempt-pr
...
GHA: Exempt pull request from actions/stale
2025-01-27 18:33:59 +09:00
Tatsuhiro Tsujikawa
bdf7f14b3d
GHA: Exempt pull request from actions/stale
2025-01-27 18:13:27 +09:00
Tatsuhiro Tsujikawa
0c9fdf2639
Merge pull request #2299 from nghttp2/nullptr
...
src: nullptr
2025-01-26 21:51:37 +09:00
Tatsuhiro Tsujikawa
dd59dd8ba9
src: nullptr
2025-01-26 21:29:58 +09:00
Tatsuhiro Tsujikawa
280110ca8d
Merge pull request #2298 from nghttp2/fix-stale-action
...
Workaround actions/stale cache issue
2025-01-26 17:45:08 +09:00
Tatsuhiro Tsujikawa
f9958255ee
Workaround actions/stale cache issue
2025-01-26 17:26:17 +09:00
Tatsuhiro Tsujikawa
e25e68f234
Merge pull request #2297 from thevilledev/fix/hd-int-overflow-check
...
fix: Add defensive bounds checking in hd_ringbuf_init()
2025-01-25 15:40:50 +09:00
Ville Vesilehto
01accaef55
fix: remove redundant sizeof check
...
Co-authored-by: Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com >
2025-01-24 13:24:40 +02:00
Ville Vesilehto
d06472b2c1
fix: optimise for conditions
...
Co-authored-by: Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com >
2025-01-24 13:20:09 +02:00
Ville Vesilehto
8ada192e69
fix: set max_size as const
...
Co-authored-by: Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com >
2025-01-24 13:16:37 +02:00
Ville Vesilehto
639b14710b
fix: Add defensive integer overflow checks in hd ringbuf init
...
Add bounds checking in hd_ringbuf_init() to prevent potential integer
overflow during size calculations. While HPACK decoder controls its own
buffer size (4-8K typical) and is not vulnerable to remote exploitation,
this adds defensive programming guards for robustness.
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-01-20 20:57:20 +02:00
Tatsuhiro Tsujikawa
ab19019b77
Merge pull request #2296 from nghttp2/xmlfree
...
HtmlParser: Use xmlFree
2025-01-18 18:35:56 +09:00
Tatsuhiro Tsujikawa
15d754040a
HtmlParser: Use xmlFree
2025-01-18 17:35:45 +09:00
Tatsuhiro Tsujikawa
f88c09857d
Merge pull request #2295 from nghttp2/dependabot/go_modules/golang.org/x/net-0.34.0
...
build(deps): bump golang.org/x/net from 0.33.0 to 0.34.0
2025-01-14 18:16:54 +09:00
dependabot[bot]
3cb06f116d
build(deps): bump golang.org/x/net from 0.33.0 to 0.34.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.34.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-13 14:56:50 +00:00
Tatsuhiro Tsujikawa
e53096123c
Merge pull request #2294 from nghttp2/remove-nghttp2-dependency-based-priority-section
...
Remove nghttp2 dependency based priority section
2025-01-12 18:24:40 +09:00
Tatsuhiro Tsujikawa
48cdba3553
Update manual pages
2025-01-12 17:51:21 +09:00
Tatsuhiro Tsujikawa
7149876704
nghttp: Remove DEPENDENCY BASED PRIORITY section from its manual page
2025-01-12 17:49:10 +09:00
Tatsuhiro Tsujikawa
6494f05638
Merge pull request #2293 from nghttp2/update-priority-doc
...
Update Stream priorities section
2025-01-12 17:48:05 +09:00
Tatsuhiro Tsujikawa
1f5818070d
Merge pull request #2292 from nghttp2/nghttp-show-deprecation-warn-no-rfc7540-pri
...
nghttp: Show deprecation warning for --no-rfc7540-pri option
2025-01-12 17:13:19 +09:00
Tatsuhiro Tsujikawa
db12ee7a37
Update Stream priorities section
2025-01-12 17:10:22 +09:00
Tatsuhiro Tsujikawa
82602821d0
nghttp: Show deprecation warning for --no-rfc7540-pri option
2025-01-12 16:47:03 +09:00
Tatsuhiro Tsujikawa
d928ceb75a
Merge pull request #2291 from nghttp2/nghttpd-remove-rfc7540-pri
...
nghttpd: Remove RFC 7540 priorities
2025-01-12 16:46:25 +09:00
Tatsuhiro Tsujikawa
7f871f63ea
nghttpd: Remove RFC 7540 priorities
...
This change deprecates --no-rfc7540-pri option.
SETTINGS_NO_RFC7540_PRIORITIES is now always sent.
2025-01-12 16:23:45 +09:00
Tatsuhiro Tsujikawa
7e096cbc41
Merge pull request #2290 from nghttp2/nghttp-remove-rfc7540-pri
...
nghttp: Remove RFC 7540 priorities
2025-01-11 19:02:00 +09:00
Tatsuhiro Tsujikawa
f25a8dca17
nghttp: Remove RFC 7540 priorities
...
This change removes RFC 7540 priorities from nghttp. nghttp now does
not create the initial dependency tree. --no-dep and --no-rfc7540-pri
options have been removed.
nghttp now always sends NGHTTP2_SETTINGS_NO_RFC7540_PRIORITIES.
--extpri option has been added to set priority for a given URI.
2025-01-11 16:54:39 +09:00
Tatsuhiro Tsujikawa
c8bcf5a6a2
Merge pull request #2289 from nghttp2/deprecate-nghttp2_option_set_no_closed_streams
...
Deprecate nghttp2_option_set_no_closed_streams
2025-01-11 16:53:54 +09:00
Tatsuhiro Tsujikawa
b2a3299e8e
Deprecate nghttp2_option_set_no_closed_streams
2025-01-11 16:13:19 +09:00
Tatsuhiro Tsujikawa
26a33cf99b
Merge pull request #2288 from nghttp2/deprecate-nghttp2_option_set_server_fallback_rfc7540_priorities
...
Deprecate nghttp2_option_set_server_fallback_rfc7540_priorities
2025-01-10 19:40:44 +09:00
Tatsuhiro Tsujikawa
cb8421e353
Merge pull request #2287 from nghttp2/remove-rfc7540-priority
...
Remove RFC 7540 priorities
2025-01-10 19:01:58 +09:00
Tatsuhiro Tsujikawa
96e06509ac
Deprecate nghttp2_option_set_server_fallback_rfc7540_priorities
2025-01-10 18:45:23 +09:00
Tatsuhiro Tsujikawa
3dd61f8ec3
Remove RFC 7540 priorities
...
Summary of the behavioral changes in 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
0.
- 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.
2025-01-10 18:29:38 +09:00
Tatsuhiro Tsujikawa
8c83772f6c
Merge pull request #2286 from nghttp2/bump-munit
...
Bump munit
2025-01-03 13:56:02 +09:00
Tatsuhiro Tsujikawa
a8d731d81f
Bump munit
2025-01-03 13:07:12 +09:00
Tatsuhiro Tsujikawa
5ca0bca199
Merge pull request #2283 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and QUIC dependencies
2024-12-19 22:26:05 +09:00
Tatsuhiro Tsujikawa
89f27a597f
Merge pull request #2282 from nghttp2/bump-golang.org/x/net
...
Bump golang.org/x/net to v0.33.0
2024-12-19 21:57:15 +09:00
Tatsuhiro Tsujikawa
947928bcc2
Bump golang.org/x/net to v0.33.0
2024-12-19 21:18:59 +09:00
Tatsuhiro Tsujikawa
23a17d0048
Bump ngtcp2 and QUIC dependencies
2024-12-19 21:08:07 +09:00
Tatsuhiro Tsujikawa
59f85c5d62
Merge pull request #2281 from nghttp2/dependabot/go_modules/golang.org/x/net-0.32.0
...
build(deps): bump golang.org/x/net from 0.31.0 to 0.32.0
2024-12-10 02:28:21 +09:00
dependabot[bot]
c7bf69c8e1
build(deps): bump golang.org/x/net from 0.31.0 to 0.32.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/net/compare/v0.31.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-09 15:35:58 +00:00
Tatsuhiro Tsujikawa
92fa43ac91
Merge pull request #2279 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.48.2
...
build(deps): bump github.com/quic-go/quic-go from 0.48.1 to 0.48.2
2024-12-10 00:34:58 +09:00
dependabot[bot]
b05ee704dd
build(deps): bump github.com/quic-go/quic-go from 0.48.1 to 0.48.2
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.48.1 to 0.48.2.
- [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.48.1...v0.48.2 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-02 16:31:03 +00:00
Tatsuhiro Tsujikawa
68c3600d9f
Merge pull request #2275 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2024-11-25 20:18:54 +09:00
Tatsuhiro Tsujikawa
f51e9b300f
GHA: Fix build error on Mac OS 14
2024-11-25 19:17:21 +09:00
Tatsuhiro Tsujikawa
f61d304ef3
Bump ngtcp2 and its dependencies
2024-11-25 19:09:25 +09:00
Tatsuhiro Tsujikawa
eb22cc1231
Merge pull request #2274 from nghttp2/bump-sfparse
...
Bump sfparse to 7eaf5b651f67123edf2605391023ed2fd7e2ef16
2024-11-18 19:31:17 +09:00
Tatsuhiro Tsujikawa
41c8940a4c
Bump sfparse to 7eaf5b651f67123edf2605391023ed2fd7e2ef16
2024-11-18 19:06:12 +09:00
Tatsuhiro Tsujikawa
55c5adf967
Merge pull request #2273 from nghttp2/urlparse
...
Replace url-parser with urlparse
2024-11-16 18:28:31 +09:00
Tatsuhiro Tsujikawa
db315a4588
Replace url-parser with urlparse
2024-11-16 17:58:44 +09:00
Tatsuhiro Tsujikawa
da14a31cfb
Merge pull request #2272 from nghttp2/dependabot/go_modules/golang.org/x/net-0.31.0
...
build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0
2024-11-15 21:07:38 +09:00
dependabot[bot]
f5b0c5bf06
build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/net/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-11 14:45:35 +00:00
Tatsuhiro Tsujikawa
7a96731c6b
Merge pull request #2268 from TuxInvader/conn-close-bytes
...
account for bytes on closing connections
2024-10-30 18:28:35 +09:00
Mark Boddington
ce70fb2a3e
remove len check
2024-10-29 13:24:35 +00:00
Tatsuhiro Tsujikawa
82ec1af20e
Merge pull request #2270 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.48.1
...
build(deps): bump github.com/quic-go/quic-go from 0.48.0 to 0.48.1
2024-10-29 00:32:25 +09:00
dependabot[bot]
5024c1b240
build(deps): bump github.com/quic-go/quic-go from 0.48.0 to 0.48.1
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.48.0 to 0.48.1.
- [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.48.0...v0.48.1 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-28 14:11:11 +00:00
Mark Boddington
a30bc25ac7
account for bytes on closing connections
2024-10-25 16:28:46 +01:00
Tatsuhiro Tsujikawa
55d4de7963
Merge pull request #2266 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.48.0
...
build(deps): bump github.com/quic-go/quic-go from 0.47.0 to 0.48.0
2024-10-22 00:13:57 +09:00
dependabot[bot]
69df6871f6
build(deps): bump github.com/quic-go/quic-go from 0.47.0 to 0.48.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.47.0 to 0.48.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.47.0...v0.48.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-21 14:35:01 +00:00
Tatsuhiro Tsujikawa
fcd4f2663a
Bump package version
2024-10-21 20:53:29 +09:00
Tatsuhiro Tsujikawa
526ff38e02
Update manual pages
2024-10-21 20:40:27 +09:00
Tatsuhiro Tsujikawa
881aa25d6d
Bump package and library versions
2024-10-21 20:40:27 +09:00
Tatsuhiro Tsujikawa
6fe7351579
Update AUTHORS
2024-10-21 20:40:27 +09:00
Tatsuhiro Tsujikawa
01a155a1b9
Merge pull request #2265 from nghttp2/fix-check-authority-doc
...
Update nghttp2_check_authority doc
2024-10-21 19:40:13 +09:00
Tatsuhiro Tsujikawa
866a93968b
Update nghttp2_check_authority doc
2024-10-21 19:15:40 +09:00
Tatsuhiro Tsujikawa
fd251c590f
Merge pull request #2264 from nghttp2/bump-libbpf
...
Bump libbpf to v1.4.6
2024-10-21 18:47:22 +09:00
Tatsuhiro Tsujikawa
18f5e11d35
Bump libbpf to v1.4.6
2024-10-21 18:15:25 +09:00
Tatsuhiro Tsujikawa
b62c737dc6
Merge pull request #2263 from nghttp2/h2load-gro-buffer-size
...
h2load: GRO buffer size should be 64KiB
2024-10-20 12:11:41 +09:00
Tatsuhiro Tsujikawa
dbb0252d19
h2load: GRO buffer size should be 64KiB
2024-10-20 11:47:16 +09:00
Tatsuhiro Tsujikawa
b268018b7f
Merge pull request #2262 from nghttp2/authority-at-sign
...
Do not allow '@' in :authority or host field values
2024-10-19 16:42:16 +09:00
Tatsuhiro Tsujikawa
cb6dcc39f7
Do not allow '@' in :authority or host field values
...
:authority and host field values are just host in RFC 3986, which does
not include userinfo. This change only affects the internal
validation of :authority and host field values.
nghttp2_check_authority still accepts '@' as a valid character because
the function might be used for the other purposes.
2024-10-19 16:10:58 +09:00
Tatsuhiro Tsujikawa
a066a27652
Merge pull request #2261 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and its dependencies
2024-10-18 23:08:11 +09:00
Tatsuhiro Tsujikawa
2d9e460766
Merge pull request #2260 from nghttp2/remove-extra-semicolons
...
Remove extra semicolons
2024-10-18 20:42:19 +09:00
Tatsuhiro Tsujikawa
b59fe32cb6
Bump ngtcp2 and its dependencies
2024-10-18 19:37:03 +09:00
Tatsuhiro Tsujikawa
01ec93ad0f
Remove extra semicolons
2024-10-18 19:29:47 +09:00
Tatsuhiro Tsujikawa
1f4a5f3ac3
Merge pull request #2259 from nghttp2/fix-clang-format
...
clang-format macros that do not need semicolon at the end
2024-10-17 18:43:06 +09:00
Tatsuhiro Tsujikawa
d7729f0caf
clang-format macros that do not need semicolon at the end
2024-10-17 18:18:22 +09:00
Tatsuhiro Tsujikawa
c4ab09c509
Merge pull request #2258 from codebytere/fix-extra-semi
...
fix: `-Wextra-semi` errors in `nghttp2_helper.h`
2024-10-17 18:10:19 +09:00
Shelley Vohr
b4d821716d
fix: -Wextra-semi errors in nghttp2_helper.h
2024-10-16 15:39:12 +02:00
Tatsuhiro Tsujikawa
e225057700
Merge pull request #2256 from nghttp2/cmake-ares-version
...
cmake: Fix c-ares v1.34.0 version detection failure
2024-10-15 21:11:08 +09:00
Tatsuhiro Tsujikawa
1ee4636528
cmake: Fix c-ares v1.34.0 version detection failure
2024-10-15 20:42:53 +09:00
Tatsuhiro Tsujikawa
d8449bbd8f
Merge pull request #2255 from nghttp2/wine-run-i686
...
GHA: Run tests for i686-w64-mingw32 host
2024-10-15 19:24:44 +09:00
Tatsuhiro Tsujikawa
c4cb8631c6
GHA: Run tests for i686-w64-mingw32 host
2024-10-15 18:51:52 +09:00
Tatsuhiro Tsujikawa
2bf3bb2faa
Merge pull request #2254 from nghttp2/gha-ubuntu-24.04
...
Gha ubuntu 24.04
2024-10-14 21:18:29 +09:00
Tatsuhiro Tsujikawa
32248d62f3
GHA: No need to install gcc/clang when building cache
2024-10-14 18:50:01 +09:00
Tatsuhiro Tsujikawa
0600ed82cc
neverbleed/cmake: Define _GNU_SOURCE
2024-10-14 18:27:29 +09:00
Tatsuhiro Tsujikawa
ea87bfff51
GHA: Bump Ubuntu runner to 24.04
2024-10-14 17:50:02 +09:00
Tatsuhiro Tsujikawa
4202608e74
Merge pull request #2249 from TuxInvader/duration-close-race
...
fix race condition on h1 connection close
2024-10-08 20:22:46 +09:00
Tatsuhiro Tsujikawa
ac0bb05bb7
Merge pull request #2252 from nghttp2/dependabot/go_modules/golang.org/x/net-0.30.0
...
build(deps): bump golang.org/x/net from 0.29.0 to 0.30.0
2024-10-08 19:27:30 +09:00
dependabot[bot]
cfe26f780e
build(deps): bump golang.org/x/net from 0.29.0 to 0.30.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.30.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-07 14:27:46 +00:00
Mark Boddington
b9af7736a1
fix race condition on h1 connection close
2024-09-23 20:14:17 +01:00
Tatsuhiro Tsujikawa
24b467f629
Merge pull request #2248 from nghttp2/fix-h2load-dgram-metric
...
h2load: Fix UDP datagram send/recv metric
2024-09-21 18:28:27 +09:00
Tatsuhiro Tsujikawa
af9449e282
h2load: Fix UDP datagram send/recv metric
2024-09-21 16:39:43 +09:00
Tatsuhiro Tsujikawa
3e660dcd9c
Merge pull request #2245 from nghttp2/update-map
...
nghttp2_map: Port ngtcp2 changes
2024-09-10 18:32:02 +09:00
Tatsuhiro Tsujikawa
8655d26de4
nghttp2_map: Port ngtcp2 changes
2024-09-10 18:08:24 +09:00
Tatsuhiro Tsujikawa
fd55d39c10
Merge pull request #2244 from nghttp2/dependabot/go_modules/golang.org/x/net-0.29.0
...
build(deps): bump golang.org/x/net from 0.28.0 to 0.29.0
2024-09-10 09:04:21 +09:00
dependabot[bot]
85caffee2f
build(deps): bump golang.org/x/net from 0.28.0 to 0.29.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-09 23:39:23 +00:00
Tatsuhiro Tsujikawa
8dfb25cb73
Merge pull request #2243 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.47.0
...
build(deps): bump github.com/quic-go/quic-go from 0.46.0 to 0.47.0
2024-09-10 08:38:42 +09:00
dependabot[bot]
d71858c853
build(deps): bump github.com/quic-go/quic-go from 0.46.0 to 0.47.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.46.0 to 0.47.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.46.0...v0.47.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-09 14:52:44 +00:00
Tatsuhiro Tsujikawa
beb25a2194
Merge pull request #2240 from nghttp2/change-clang-format-options
...
Change clang-format options
2024-08-28 19:25:41 +09:00
Tatsuhiro Tsujikawa
292bcbca4f
Change clang-format options
2024-08-28 18:55:57 +09:00
Tatsuhiro Tsujikawa
f5d5083110
Bump package version
2024-08-27 18:23:47 +09:00
Tatsuhiro Tsujikawa
8f44147c38
Update manual pages
2024-08-27 18:17:25 +09:00
Tatsuhiro Tsujikawa
3fde4dc962
Bump package and library versions
2024-08-27 18:15:21 +09:00
Tatsuhiro Tsujikawa
4c1cd2d89b
Update AUTHORS
2024-08-27 18:13:43 +09:00
Tatsuhiro Tsujikawa
659a1f7fda
Merge pull request #2239 from nghttp2/levenshtein-array-size
...
levenshtein: Use size_t
2024-08-27 18:12:31 +09:00
Tatsuhiro Tsujikawa
f2422451cf
levenshtein: Use size_t
2024-08-27 17:52:30 +09:00
Tatsuhiro Tsujikawa
dd9de0da0b
Merge pull request #2238 from nghttp2/update-go
...
Update go
2024-08-27 17:41:16 +09:00
Tatsuhiro Tsujikawa
d6fa1f40c2
integration: Refactor and update style
2024-08-27 16:53:12 +09:00
Tatsuhiro Tsujikawa
f0ff5cc364
Bump go to 1.22
2024-08-27 16:01:30 +09:00
Tatsuhiro Tsujikawa
c5345df480
Adopt slices.SortFunc
2024-08-27 16:01:04 +09:00
Tatsuhiro Tsujikawa
cac4bbb240
Merge pull request #2237 from nghttp2/bump-libbpf
...
Bump libbpf to v1.4.5
2024-08-24 17:20:21 +09:00
Tatsuhiro Tsujikawa
af80f6be7f
Bump libbpf to v1.4.5
2024-08-24 16:03:16 +09:00
Tatsuhiro Tsujikawa
f490f5fea6
Merge pull request #2236 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and its dependencies
2024-08-24 15:52:26 +09:00
Tatsuhiro Tsujikawa
49e16428e5
Bump ngtcp2 and its dependencies
2024-08-24 14:44:09 +09:00
Tatsuhiro Tsujikawa
a9a20e5b73
Merge pull request #2232 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.46.0
...
build(deps): bump github.com/quic-go/quic-go from 0.45.2 to 0.46.0
2024-08-13 11:15:45 +09:00
dependabot[bot]
783e20a984
build(deps): bump github.com/quic-go/quic-go from 0.45.2 to 0.46.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.45.2 to 0.46.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.45.2...v0.46.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-13 01:42:14 +00:00
Tatsuhiro Tsujikawa
04d03815d4
Merge pull request #2231 from nghttp2/dependabot/go_modules/golang.org/x/net-0.28.0
...
build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0
2024-08-13 10:41:31 +09:00
dependabot[bot]
ba60861ea0
build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-12 14:10:39 +00:00
Tatsuhiro Tsujikawa
d97bc7d874
Merge pull request #2229 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.45.2
...
build(deps): bump github.com/quic-go/quic-go from 0.45.1 to 0.45.2
2024-08-06 00:11:07 +09:00
dependabot[bot]
cff7f87d46
build(deps): bump github.com/quic-go/quic-go from 0.45.1 to 0.45.2
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.45.1 to 0.45.2.
- [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.45.1...v0.45.2 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-05 14:34:36 +00:00
Tatsuhiro Tsujikawa
e4c54d9c82
Merge pull request #2228 from nghttp2/suppress-old-compiler-error
...
Suppress old compiler error
2024-08-05 00:14:05 +09:00
Tatsuhiro Tsujikawa
949c613e36
Suppress old compiler error
2024-08-03 16:17:27 +09:00
Tatsuhiro Tsujikawa
e3daa171b6
Merge pull request #2226 from nghttp2/bump-clang-format
...
Bump clang format
2024-08-03 16:00:45 +09:00
Tatsuhiro Tsujikawa
80b5d9a131
clang-format
2024-08-02 18:25:33 +09:00
Tatsuhiro Tsujikawa
c2edfc700c
Bump clang-format to 18
2024-08-02 18:25:33 +09:00
Tatsuhiro Tsujikawa
d9e846a2bd
Merge pull request #2224 from nghttp2/undef-no-ssize-t
...
Undefine NGHTTP2_NO_SSIZE_T if BUILDING_NGHTTP2 is defined
2024-07-26 18:58:06 +09:00
Tatsuhiro Tsujikawa
525830b87a
Undefine NGHTTP2_NO_SSIZE_T if BUILDING_NGHTTP2 is defined
2024-07-26 17:56:59 +09:00
Tatsuhiro Tsujikawa
13086404f7
Merge pull request #2220 from nghttp2/dependabot/go_modules/golang.org/x/net-0.27.0
...
build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0
2024-07-10 08:40:26 +09:00
dependabot[bot]
1e2ffd32e5
build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-08 14:48:12 +00:00
Tatsuhiro Tsujikawa
98c06c4afe
Merge pull request #2218 from nghttp2/fix-levenshtein-init
...
Fix levenshtein initialization
2024-06-30 16:16:22 +09:00
Tatsuhiro Tsujikawa
4cafc0ee8a
Fix levenshtein initialization
2024-06-30 09:52:23 +09:00
Tatsuhiro Tsujikawa
6308a04a47
Merge pull request #2217 from nghttp2/gha-suppress-warnings
...
GHA: Suppress warnings
2024-06-29 12:01:08 +09:00
Tatsuhiro Tsujikawa
6ea0a9006e
GHA: Suppress warnings
2024-06-29 11:29:27 +09:00
Tatsuhiro Tsujikawa
91bdb19a86
Merge pull request #2216 from nghttp2/fix-udp-gro-cmsghdr-data-type
...
Fix UDP_GRO struct cmsghdr data type
2024-06-29 10:34:06 +09:00
Tatsuhiro Tsujikawa
823db26d7c
Fix UDP_GRO struct cmsghdr data type
2024-06-29 10:12:44 +09:00
Tatsuhiro Tsujikawa
a1e3a91a5a
Merge pull request #2215 from nghttp2/fix-docker-android
...
Fix Dockerfile.android build failure
2024-06-27 21:17:45 +09:00
Tatsuhiro Tsujikawa
7c09767d2d
Fix Dockerfile.android build failure
2024-06-27 18:45:38 +09:00
Tatsuhiro Tsujikawa
ca345ff750
Merge pull request #2214 from nghttp2/disable-dependency-tracking
...
Disable dependency tracking
2024-06-27 18:44:40 +09:00
Tatsuhiro Tsujikawa
d9bbcf73aa
Disable dependency tracking
2024-06-27 17:40:21 +09:00
Tatsuhiro Tsujikawa
e2e02f874d
Merge pull request #2213 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.45.1
...
build(deps): bump github.com/quic-go/quic-go from 0.45.0 to 0.45.1
2024-06-25 00:12:14 +09:00
dependabot[bot]
5d94303140
build(deps): bump github.com/quic-go/quic-go from 0.45.0 to 0.45.1
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.45.0 to 0.45.1.
- [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.45.0...v0.45.1 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-24 14:31:24 +00:00
Tatsuhiro Tsujikawa
516b23d72a
Merge pull request #2211 from nghttp2/append-extra-opts
...
Always append options to extra options
2024-06-22 18:01:24 +09:00
Tatsuhiro Tsujikawa
4d0744181c
Always append options to extra options
2024-06-22 17:08:29 +09:00
Tatsuhiro Tsujikawa
2f97d5702c
Merge pull request #2210 from nghttp2/shallow-submodules
...
Append --shallow-submodules to git clone --recursive
2024-06-22 17:07:39 +09:00
Tatsuhiro Tsujikawa
5cede56690
Append --shallow-submodules to git clone --recursive
2024-06-22 16:44:16 +09:00
Tatsuhiro Tsujikawa
556b5a4858
Merge pull request #2209 from nghttp2/wolfssl
...
Add wolfSSL support
2024-06-19 18:37:01 +09:00
Tatsuhiro Tsujikawa
9dcca48153
Add wolfSSL support
2024-06-19 18:14:04 +09:00
Tatsuhiro Tsujikawa
58ab46b561
Merge pull request #2208 from nghttp2/dependabot/github_actions/docker/build-push-action-6
...
build(deps): bump docker/build-push-action from 5 to 6
2024-06-18 08:39:00 +09:00
dependabot[bot]
91f0a005d6
build(deps): bump docker/build-push-action from 5 to 6
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-17 14:27:38 +00:00
Tatsuhiro Tsujikawa
fc3c21f1dc
Merge pull request #2207 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and its dependencies
2024-06-13 20:53:49 +09:00
Tatsuhiro Tsujikawa
ab83ec893f
Bump ngtcp2 and its dependencies
2024-06-13 19:04:54 +09:00
Tatsuhiro Tsujikawa
35a245554b
Merge pull request #2206 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.45.0
...
build(deps): bump github.com/quic-go/quic-go from 0.44.0 to 0.45.0
2024-06-11 00:41:25 +09:00
dependabot[bot]
63c2e86c9d
build(deps): bump github.com/quic-go/quic-go from 0.44.0 to 0.45.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.44.0 to 0.45.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.44.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 14:24:20 +00:00
Tatsuhiro Tsujikawa
86b9527109
Merge pull request #2205 from nghttp2/dependabot/go_modules/golang.org/x/net-0.26.0
...
build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0
2024-06-10 23:23:37 +09:00
dependabot[bot]
8f44ca03a3
build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 14:07:23 +00:00
Tatsuhiro Tsujikawa
6e0923e13e
Merge pull request #2203 from ryandesign/patch-1
...
Fix compiler versions in readme
2024-06-04 00:19:11 +09:00
Ryan Carsten Schmidt
e223297360
Fix compiler versions in readme
...
Fixes #2202
2024-06-03 08:12:15 -05:00
Tatsuhiro Tsujikawa
5db776c725
Merge pull request #2197 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.44.0
...
build(deps): bump github.com/quic-go/quic-go from 0.43.1 to 0.44.0
2024-05-31 21:45:05 +09:00
Tatsuhiro Tsujikawa
85bd79aa64
Merge pull request #2200 from ThomasDevoogdt/bugfix/lib-c-only
...
CMakeLists.txt: allow to compile the C only lib without CXX compiler
2024-05-31 21:44:17 +09:00
Thomas Devoogdt
d9d266124c
CMakeLists.txt: allow to compile the C only lib without CXX compiler
...
See http://autobuild.buildroot.net/results/88a584a5c5ef725c8299044b0f3d1730fe4f7f67/build-end.log .
Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com >
2024-05-30 20:30:00 +02:00
dependabot[bot]
d55d5cde0d
build(deps): bump github.com/quic-go/quic-go from 0.43.1 to 0.44.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.43.1 to 0.44.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.43.1...v0.44.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-20 14:42:28 +00:00
Tatsuhiro Tsujikawa
239ff42fd8
Merge pull request #2196 from nghttp2/nghttpx-fix-quic-read
...
nghttpx: Fix batch UDP QUIC packet dropped on GRO read
2024-05-19 11:36:23 +09:00
Tatsuhiro Tsujikawa
e28c2d3d43
nghttpx: Fix batch UDP QUIC packet dropped on GRO read
2024-05-19 11:11:13 +09:00
Tatsuhiro Tsujikawa
20d21b21ae
Merge pull request #2193 from nghttp2/dependabot/go_modules/golang.org/x/net-0.25.0
...
build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0
2024-05-13 23:58:47 +09:00
dependabot[bot]
076d3bdc74
build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/net/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-13 14:44:34 +00:00
Tatsuhiro Tsujikawa
40c54a66e0
Merge pull request #2191 from nghttp2/bump-libbpf
...
Bump libbpf to v1.4.2
2024-05-13 18:21:27 +09:00
Tatsuhiro Tsujikawa
c767d8a44c
Bump libbpf to v1.4.2
2024-05-13 17:56:23 +09:00
Tatsuhiro Tsujikawa
dddb904e21
Bump package version
2024-05-13 17:36:31 +09:00
Tatsuhiro Tsujikawa
3e767d3003
Update manual pages
2024-05-13 17:31:43 +09:00
Tatsuhiro Tsujikawa
f4fc77028d
Bump package and library versions
2024-05-13 17:28:12 +09:00
Tatsuhiro Tsujikawa
8573f53b18
Update AUTHORS
2024-05-13 17:26:20 +09:00
Tatsuhiro Tsujikawa
a1034c7866
Merge pull request #2190 from nghttp2/distcheck
...
Add dedicated distcheck buildtool parameter
2024-05-12 17:31:46 +09:00
Tatsuhiro Tsujikawa
f1deade196
Add dedicated distcheck buildtool parameter
...
Add dedicated distcheck buildtool parameter and run integration tests
in autotool builds.
2024-05-12 17:11:15 +09:00
Tatsuhiro Tsujikawa
0ecc418f37
Merge pull request #2189 from nghttp2/add-macos-14
...
Add macos 14
2024-05-12 16:24:17 +09:00
Tatsuhiro Tsujikawa
d105d660ca
Always use quictls to avoid system installed openssl
2024-05-12 16:05:37 +09:00
Tatsuhiro Tsujikawa
517ffb3917
ci: Add macos-14
2024-05-12 16:05:37 +09:00
Tatsuhiro Tsujikawa
76cd830b8a
Merge pull request #2188 from nghttp2/typed-nghttp2-min-max
...
Introduce typed nghttp2_min and nghttp2_max
2024-05-12 10:24:19 +09:00
Tatsuhiro Tsujikawa
3f9a980ecb
Introduce typed nghttp2_min and nghttp2_max
2024-05-12 09:48:11 +09:00
Tatsuhiro Tsujikawa
c411e30075
Merge pull request #2187 from nghttp2/bump-llhttp
...
Bump llhttp to v9.2.1
2024-05-11 17:07:54 +09:00
Tatsuhiro Tsujikawa
b691353b0c
Bump llhttp to v9.2.1
2024-05-11 16:46:01 +09:00
Tatsuhiro Tsujikawa
d68048165b
Merge pull request #2186 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2024-05-09 19:36:19 +09:00
Tatsuhiro Tsujikawa
f0d827f242
SSL_get_server_tmp_key is noop in boringssl
...
SSL_get_server_tmp_key is noop in boringssl. It has been deprecated
in aws-lc.
2024-05-09 19:00:53 +09:00
Tatsuhiro Tsujikawa
960c8b3a3a
Bump ngtcp2 and its dependencies
2024-05-09 18:35:54 +09:00
Tatsuhiro Tsujikawa
ee96f61293
Merge pull request #2184 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.43.1
...
build(deps): bump github.com/quic-go/quic-go from 0.43.0 to 0.43.1
2024-05-08 18:29:57 +09:00
Tatsuhiro Tsujikawa
db71b2a64c
Merge pull request #2185 from alyssais/nghttp2_ssize
...
nghttpd: Use nghttp2_ssize
2024-05-07 21:36:33 +09:00
Alyssa Ross
70ce073eff
nghttpd: Use nghttp2_ssize
...
Otherwise, produces compiler errors on platforms where ssize_t is not
the same type as nghttp2_ssize i.e. ptrdiff_t, e.g. s390-linux.
HttpServer.cc:1085:15: error: ambiguating new declaration of 'nghttp2_ssize nghttp2::file_read_callback(nghttp2_session*, int32_t, uint8_t*, size_t, uint32_t*, nghttp2_data_source*, void*)'
1085 | nghttp2_ssize file_read_callback(nghttp2_session *session, intnghttp2> In file included from HttpServer.cc:25:
HttpServer.h:248:9: note: old declaration 'ssize_t nghttp2::file_read_callback(nghttp2_session*, int32_t, uint8_t*, size_t, uint32_t*, nghttp2_data_source*, void*)'
248 | ssize_t file_read_callback(nghttp2_session *session, int32_t stream_id,
| ^~~~~~~~~~~~~~~~~~
HttpServer.cc: In function 'void nghttp2::{anonymous}::prepare_status_response(nghttp2::Stream*, nghttp2::Http2Handler*, int)':
HttpServer.cc:1139:28: error: invalid conversion from 'ssize_t (*)(nghttp2_session*, int32_t, uint8_t*, size_t, uint32_t*, nghttp2_data_source*, void*)' {aka 'long int (*)(nghttp2_session*, int, unsigned char*, long unsigned int, unsigned int*, nghttp2_data_source*, void*)'} to 'nghttp2_data_source_read_callback2' {aka 'int (*)(nghttp2_session*, int, unsigned char*, long unsigned intnghttp2> | ^~~~~~~~~~~~~~~~~~
| |
| ssize_t (*)(nghttp2_session*, int32_t, uint8_t*, size_t, uint32_t*, nghttp2_data_source*, void*) {aka long int (*)(nghttp2_session*, int, unsigned char*, long unsigned int, unsigned int*, nghttp2_data_source*, void*)}
2024-05-07 13:53:49 +02:00
dependabot[bot]
6d429874b0
build(deps): bump github.com/quic-go/quic-go from 0.43.0 to 0.43.1
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.43.0 to 0.43.1.
- [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.43.0...v0.43.1 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-06 14:17:54 +00:00
Tatsuhiro Tsujikawa
422167b88b
Merge pull request #2181 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.43.0
...
build(deps): bump github.com/quic-go/quic-go from 0.42.0 to 0.43.0
2024-04-30 00:27:53 +09:00
dependabot[bot]
f65cfa8da2
build(deps): bump github.com/quic-go/quic-go from 0.42.0 to 0.43.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.42.0 to 0.43.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.42.0...v0.43.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-29 15:00:01 +00:00
Tatsuhiro Tsujikawa
e3e33a5867
Merge pull request #2180 from nghttp2/rewrite-shuffle
...
Rewrite util:shuffle
2024-04-28 17:42:23 +09:00
Tatsuhiro Tsujikawa
f3cdd7a348
Merge pull request #2179 from DD-L/patch-1
...
Update the link for the Prefix.pdf document. fix #2178
2024-04-28 17:31:30 +09:00
Tatsuhiro Tsujikawa
ad79597416
Rewrite util:shuffle
2024-04-28 17:13:56 +09:00
Tatsuhiro Tsujikawa
fc1b4a510d
Merge pull request #2177 from nghttp2/remove-streq
...
Remove util::streq and let StringRef operator== deal with it
2024-04-28 17:13:20 +09:00
Deel
49ee93f7a4
Update the link for the Prefix.pdf document. fix #2178
2024-04-28 16:08:14 +08:00
Tatsuhiro Tsujikawa
49b7dbde8a
Remove util::streq and let StringRef operator== deal with it
2024-04-28 16:45:16 +09:00
Tatsuhiro Tsujikawa
6619a6f945
Merge pull request #2176 from nghttp2/refactor-streq
...
Refactor streq
2024-04-27 20:07:48 +09:00
Tatsuhiro Tsujikawa
0d21d59a38
Remove util::streq_l and add streq with length of b to compare
2024-04-27 19:46:04 +09:00
Tatsuhiro Tsujikawa
1d765368f0
Remove unused util::strifind
2024-04-27 19:46:04 +09:00
Tatsuhiro Tsujikawa
f3f10ca1f5
Refactor util::streq and remove streq_l
2024-04-27 19:46:04 +09:00
Tatsuhiro Tsujikawa
34433fdcb3
Refactor util::ends_with and remove iends_with_l
2024-04-27 19:46:04 +09:00
Tatsuhiro Tsujikawa
ae678f4f30
Refactor util::starts_with and remove istarts_with_l
2024-04-27 19:46:04 +09:00
Tatsuhiro Tsujikawa
0caf2a8444
Merge pull request #2175 from nghttp2/refactor-http-utils
...
Refactor http utils
2024-04-27 18:27:59 +09:00
Tatsuhiro Tsujikawa
f564c30096
log_var_lookup_token now takes StringRef
2024-04-27 17:58:07 +09:00
Tatsuhiro Tsujikawa
17a211f45a
option_lookup_token now takes StringRef
2024-04-27 17:58:07 +09:00
Tatsuhiro Tsujikawa
26708239aa
lookup_method_token now only takes StringRef
2024-04-27 17:58:07 +09:00
Tatsuhiro Tsujikawa
3d13ef9f06
lookup_header only takes StringRef
...
Now lookup_header takes StringRef. Generator is also fixed. The
other generated functions are fixed in the later commits.
http2::add_header no longer trims white space from value because those
values are prohibited by HTTP/2.
2024-04-27 17:58:07 +09:00
Tatsuhiro Tsujikawa
77ac52137f
Remove unused http3::copy_headers_to_nva
2024-04-27 17:58:07 +09:00
Tatsuhiro Tsujikawa
82276389fc
Remove unused http3::check_nv
2024-04-27 17:58:07 +09:00
Tatsuhiro Tsujikawa
69e2d4d78f
Merge pull request #2174 from nghttp2/http2-remove-unnecessary-namespace-qualifications
...
Remove unnecessary namespace qualifications
2024-04-27 17:02:06 +09:00
Tatsuhiro Tsujikawa
d51fc54f16
Merge pull request #2173 from nghttp2/http3-make-field
...
Add http3::make_field family functions
2024-04-27 17:01:39 +09:00
Tatsuhiro Tsujikawa
481f876653
Remove unnecessary namespace qualifications
2024-04-27 16:29:29 +09:00
Tatsuhiro Tsujikawa
a748575149
Add http3::make_field family functions
...
http3::make_nv family functions are removed in favor of the new
function.
2024-04-27 16:27:07 +09:00
Tatsuhiro Tsujikawa
3b63158b7b
Merge pull request #2172 from nghttp2/less-conversion
...
make_websocket_accept_token: Lesser conversions
2024-04-27 16:23:52 +09:00
Tatsuhiro Tsujikawa
e7909d76b8
Merge pull request #2171 from nghttp2/nghttpx-fix-inherited-tcp-ports
...
nghttpx: Fix inherited TCP port comparison
2024-04-27 16:21:46 +09:00
Tatsuhiro Tsujikawa
9bcc5c25b3
make_websocket_accept_token: Lesser conversions
2024-04-27 16:05:30 +09:00
Tatsuhiro Tsujikawa
2585cc353f
nghttpx: Fix inherited TCP port comparison
2024-04-27 12:08:58 +09:00
Tatsuhiro Tsujikawa
6d4b2c7dbf
Merge pull request #2170 from nghttp2/nghttpx-refactor-quic-data-path
...
nghttpx: Refactor QUIC data path
2024-04-27 11:41:48 +09:00
Tatsuhiro Tsujikawa
e6f3901b51
nghttpx: Refactor QUIC data path
2024-04-27 11:27:21 +09:00
Tatsuhiro Tsujikawa
b4313ea7a0
Merge pull request #2169 from nghttp2/refactor-immutablestring
...
Refactor ImmutableString
2024-04-26 18:50:30 +09:00
Tatsuhiro Tsujikawa
58c1b7c37a
Refactor ImmutableString
2024-04-26 18:28:12 +09:00
Tatsuhiro Tsujikawa
c013b36695
Merge pull request #2168 from nghttp2/nghttpx-gso-failover
...
nghttpx: Dynamic GSO failover
2024-04-26 18:11:22 +09:00
Tatsuhiro Tsujikawa
943fba4590
nghttpx: Dynamic GSO failover
2024-04-26 17:47:05 +09:00
Tatsuhiro Tsujikawa
062bc696bc
Merge pull request #2167 from nghttp2/pack-more-quic-pkt
...
Pack more quic pkt
2024-04-26 16:12:42 +09:00
Tatsuhiro Tsujikawa
b49ce3dfda
h2load: Pack more QUIC packets
2024-04-26 15:53:30 +09:00
Tatsuhiro Tsujikawa
b9890d6797
nghttpx: Pack more QUIC packets
2024-04-26 15:47:28 +09:00
Tatsuhiro Tsujikawa
8c6cc0f3b3
Merge pull request #2164 from nghttp2/optimize-stringref-comparison
...
Optimize StringRef comparisons against c-string
2024-04-22 22:40:31 +09:00
Tatsuhiro Tsujikawa
ee0f4fbce0
Optimize StringRef comparisons against c-string
2024-04-22 21:57:14 +09:00
Tatsuhiro Tsujikawa
44724b0750
Merge pull request #2163 from nghttp2/stringref-remove-stdstring-conversion
...
Remove std::string conversion operator from StringRef
2024-04-22 21:56:49 +09:00
Tatsuhiro Tsujikawa
122ae428ad
Remove std::string conversion operator from StringRef
2024-04-22 21:35:37 +09:00
Tatsuhiro Tsujikawa
375753fdd1
Merge pull request #2162 from nghttp2/bump-munit
...
Bump munit
2024-04-22 21:27:31 +09:00
Tatsuhiro Tsujikawa
4bd5bebc46
Bump munit
2024-04-22 21:03:37 +09:00
Tatsuhiro Tsujikawa
cab280a576
Merge pull request #2161 from nghttp2/http2-make_field
...
Add http2::make_field family functions
2024-04-22 21:00:44 +09:00
Tatsuhiro Tsujikawa
a7f588189f
Add http2::make_field family functions
...
http2::make_nv family functions are removed in favor of the new
function.
2024-04-22 19:47:34 +09:00
Tatsuhiro Tsujikawa
dc969cc7f9
Merge pull request #2160 from nghttp2/stringref-stdstring-implicit
...
Make StringRef(const std::string&) implicit
2024-04-22 19:46:17 +09:00
Tatsuhiro Tsujikawa
7d2f75abcf
Make StringRef(const std::string&) implicit
2024-04-22 19:25:45 +09:00
Tatsuhiro Tsujikawa
18fafddb06
Merge pull request #2159 from nghttp2/stringref-literal
...
Add StringRef literal operator and remove StringRef::from_lit
2024-04-21 23:35:52 +09:00
Tatsuhiro Tsujikawa
6d281826b3
Add StringRef literal operator and remove StringRef::from_lit
2024-04-21 23:10:00 +09:00
Tatsuhiro Tsujikawa
dbff91a4f7
Merge pull request #2158 from nghttp2/stringref-refactor-c_str-and-str
...
Stringref refactor c str and str
2024-04-21 23:09:25 +09:00
Tatsuhiro Tsujikawa
1fbd73c51a
Add StringRef to std::string conversion operator and remove str()
2024-04-21 22:54:50 +09:00
Tatsuhiro Tsujikawa
db75062d2c
Rename StringRef::c_str to data because it might not be NULL-terminated
2024-04-21 22:54:50 +09:00
Tatsuhiro Tsujikawa
37f1f978f7
Merge pull request #2157 from nghttp2/refactor-stringref
...
Refactor StringRef
2024-04-21 20:00:07 +09:00
Tatsuhiro Tsujikawa
08cd3bf619
Refactor StringRef
2024-04-21 19:43:34 +09:00
Tatsuhiro Tsujikawa
c1c0fa6a3f
Merge pull request #2156 from nghttp2/base64-decode-span
...
Let base64::decode return std::span
2024-04-21 18:51:21 +09:00
Tatsuhiro Tsujikawa
83cca7bc14
Let base64::decode return std::span
2024-04-21 18:30:14 +09:00
Tatsuhiro Tsujikawa
94d7782d32
Merge pull request #2155 from nghttp2/rewrite-parse_uint
...
Rewrite util::parse_uint
2024-04-21 18:29:44 +09:00
Tatsuhiro Tsujikawa
137d28ac13
Rewrite util::parse_uint
2024-04-21 18:09:48 +09:00
Tatsuhiro Tsujikawa
446cf420e7
Merge pull request #2154 from nghttp2/decode_hex-span
...
Make util::decode_hex return std::span
2024-04-21 15:58:24 +09:00
Tatsuhiro Tsujikawa
54b5029886
Make util::decode_hex return std::span
2024-04-21 15:43:21 +09:00
Tatsuhiro Tsujikawa
8ce9fbe425
Merge pull request #2153 from nghttp2/make_byte_ref-span
...
Make make_byte_ref return std::span
2024-04-15 19:31:21 +09:00
Tatsuhiro Tsujikawa
bdb812af16
Make make_byte_ref return std::span
2024-04-15 19:01:43 +09:00
Tatsuhiro Tsujikawa
41de3e6e65
Merge pull request #2152 from nghttp2/nghttpx-format_hex-span
...
src: Add util::format_hex overload functions taking std::span
2024-04-14 19:18:55 +09:00
Tatsuhiro Tsujikawa
3972c62250
src: Add util::format_hex overload functions taking std::span
2024-04-14 19:05:25 +09:00
Tatsuhiro Tsujikawa
ac53ec86aa
Merge pull request #2151 from nghttp2/nghttpx-ipc_fd-span-extent
...
nghttpx: Add extent to ipc_fd explicitly
2024-04-14 17:54:18 +09:00
Tatsuhiro Tsujikawa
38327104b2
nghttpx: Add extent to ipc_fd explicitly
2024-04-14 16:06:27 +09:00
Tatsuhiro Tsujikawa
4ec8adda6f
Merge pull request #2150 from alagoutte/cmakelist-add-build-testing
...
CMakListsts: Add Build Test info on summary
2024-04-14 16:03:53 +09:00
Alexis La Goutte
99de5c18a3
CMakListsts: Add Build Test info on summary
2024-04-13 12:19:47 +00:00
Tatsuhiro Tsujikawa
d43987add7
Merge pull request #2149 from nghttp2/ipc_fd-span
...
nghttpx: Simplify parameter declaration for ipc_fd functions
2024-04-13 20:45:55 +09:00
Tatsuhiro Tsujikawa
9c61b97a4e
nghttpx: Simplify parameter declaration for ipc_fd functions
2024-04-13 17:31:25 +09:00
Tatsuhiro Tsujikawa
eb865a6b26
Merge pull request #2146 from nghttp2/nghttpx-fix-allocator
...
nghttpx: Fix alignment issues in BlockAllocator
2024-04-10 22:25:56 +09:00
Tatsuhiro Tsujikawa
9260e53410
nghttpx: Fix alignment issues in BlockAllocator
2024-04-10 21:35:24 +09:00
Tatsuhiro Tsujikawa
3b91cd95ea
Merge pull request #2144 from nghttp2/nghttpx-response-method-head
...
nghttpx: Do not send error/status body when method is HEAD
2024-04-09 17:32:22 +09:00
Tatsuhiro Tsujikawa
7523afe753
nghttpx: Do not send error/status body when method is HEAD
2024-04-09 16:51:27 +09:00
Tatsuhiro Tsujikawa
88bdba7064
Merge pull request #2143 from nghttp2/dependabot/go_modules/golang.org/x/net-0.24.0
...
build(deps): bump golang.org/x/net from 0.22.0 to 0.24.0
2024-04-09 01:13:25 +09:00
dependabot[bot]
cccece45f8
build(deps): bump golang.org/x/net from 0.22.0 to 0.24.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.22.0 to 0.24.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-08 14:15:23 +00:00
Tatsuhiro Tsujikawa
c35c119ef0
Merge pull request #2142 from nghttp2/nghttpx-endpoint-def
...
nghttpx: Define APIEndpoints separately
2024-04-06 19:56:46 +09:00
Tatsuhiro Tsujikawa
3793fcf9d8
nghttpx: Define APIEndpoints separately
2024-04-06 19:36:41 +09:00
Tatsuhiro Tsujikawa
b8b2efb590
Merge pull request #2141 from nghttp2/to_array
...
Adopt std::to_array and remove make_array
2024-04-06 17:28:16 +09:00
Tatsuhiro Tsujikawa
609d587397
Adopt std::to_array and remove make_array
2024-04-06 16:51:37 +09:00
Tatsuhiro Tsujikawa
b8f0d17f2f
Merge pull request #2140 from nghttp2/bump-macos
...
ci: Bump macos to 13
2024-04-06 15:55:43 +09:00
Tatsuhiro Tsujikawa
0235798136
ci: Bump macos to 13
...
Also bump boringssl so that it can be built without Go.
2024-04-06 15:24:16 +09:00
Tatsuhiro Tsujikawa
acd8d16bd9
Merge pull request #2138 from nghttp2/require-c++20
...
Require C++20 compiler
2024-04-05 19:40:57 +09:00
Tatsuhiro Tsujikawa
35e1ca2039
Require C++20 compiler
2024-04-05 19:21:00 +09:00
Tatsuhiro Tsujikawa
85644ebe3a
Merge pull request #2137 from nghttp2/require-c-ares-1.16
...
Require c-ares >= 1.16.0 for ares_getaddrinfo
2024-04-05 18:43:28 +09:00
Tatsuhiro Tsujikawa
6e2e06ac03
Require c-ares >= 1.16.0 for ares_getaddrinfo
2024-04-05 17:10:37 +09:00
Tatsuhiro Tsujikawa
6e53efc060
Merge pull request #2136 from nghttp2/nghttpx-fix-quic-stateless-reset-stack-buffer
...
nghttpx: Fix QUIC stateless reset stack buffer overflow
2024-04-05 17:06:42 +09:00
Tatsuhiro Tsujikawa
dcc5d44094
nghttpx: Fix QUIC stateless reset stack buffer overflow
2024-04-05 16:47:17 +09:00
Tatsuhiro Tsujikawa
8b567c597a
Bump package version
2024-04-04 17:29:26 +09:00
Tatsuhiro Tsujikawa
d76b8331d1
Update bash_completion
2024-04-04 17:16:56 +09:00
Tatsuhiro Tsujikawa
0655cb3be4
Update manual pages
2024-04-04 17:16:42 +09:00
Tatsuhiro Tsujikawa
7a88a0d019
Bump package and library versions
2024-04-04 17:12:12 +09:00
Tatsuhiro Tsujikawa
086103193a
Update AUTHORS
2024-04-04 17:10:22 +09:00
Tatsuhiro Tsujikawa
d71a4668c6
Add nghttp2_option_set_max_continuations
2024-04-04 17:08:46 +09:00
Tatsuhiro Tsujikawa
00201ecd8f
Limit CONTINUATION frames following an incoming HEADER frame
2024-04-04 17:08:46 +09:00
Tatsuhiro Tsujikawa
605d9fdd68
Merge pull request #2134 from nghttp2/nghttpd-fix-stall
...
nghttpd: Fix read stall
2024-04-04 17:08:17 +09:00
Tatsuhiro Tsujikawa
749e1d8bd2
nghttpd: Fix read stall
2024-04-04 16:52:29 +09:00
Tatsuhiro Tsujikawa
c68456cc68
Merge pull request #2133 from nghttp2/nghttpx-fix-error-message
...
nghttpx: Fix error message
2024-04-03 20:00:44 +09:00
Tatsuhiro Tsujikawa
fe06364011
Merge pull request #2131 from nghttp2/bump-munit
...
Bump munit
2024-04-03 19:53:06 +09:00
Tatsuhiro Tsujikawa
68f71ad5fb
nghttpx: Fix error message
2024-04-03 19:45:07 +09:00
Tatsuhiro Tsujikawa
f15e3713ad
Bump munit
2024-04-03 19:36:36 +09:00
Tatsuhiro Tsujikawa
b0b14bf5b6
Merge pull request #2132 from nghttp2/nghttpx-ares-getaddrinfo
...
nghttpx: Migrate to ares_getaddrinfo
2024-04-03 19:36:06 +09:00
Tatsuhiro Tsujikawa
d32324658a
nghttpx: Migrate to ares_getaddrinfo
2024-04-03 19:21:16 +09:00
Tatsuhiro Tsujikawa
c9c4f0bb18
Merge pull request #2129 from nghttp2/nghttpx-quic-lb
...
nghttpx: Allocate 3 bits for QUIC configuration in Connection ID
2024-03-31 22:34:35 +09:00
Tatsuhiro Tsujikawa
4c74be62e3
Merge pull request #2128 from jimmy-park/fix-cmake-warning
...
cmake: check `SSL_provide_quic_data` when `ENABLE_HTTP3` is `ON`
2024-03-31 22:26:30 +09:00
Tatsuhiro Tsujikawa
fbcb9154fc
nghttpx: Allocate 3 bits for QUIC configuration in Connection ID
...
Allocate 3 bits for QUIC configuration in Connection ID that matches
the current QUIC LB draft.
2024-03-31 21:44:01 +09:00
Jiwoo Park
7a507f9a61
Check SSL_provide_quic_data when ENABLE_HTTP3 is ON
2024-03-31 20:54:07 +09:00
Tatsuhiro Tsujikawa
241b1973cb
Merge pull request #2127 from nghttp2/bpf-drop-bad-quic-packet
...
bpf: Drop bad QUIC packet
2024-03-31 19:24:31 +09:00
Tatsuhiro Tsujikawa
e8c45f4bfd
bpf: Drop bad QUIC packet
...
Drop QUIC packet if it is less than valid QUIC packet or it is coming
from one of remote ports that are known to be a UDP service that can
be used as a UDP reflection attack.
2024-03-31 19:00:15 +09:00
Tatsuhiro Tsujikawa
5483edded8
Merge pull request #2126 from nghttp2/nghttpx-worker-process-thread
...
nghttpx: Split thread into worker_process and thread
2024-03-31 18:55:53 +09:00
Tatsuhiro Tsujikawa
edd2070a11
nghttpx: Split thread into worker_process and thread
...
Split thread into worker_process and thread. Use thread to O(1)
lookup for Worker. This new machinery is not compatible to the
previous version. The old instance of nghttpx must not be upgraded
with USR2 signal. It should be restarted instead.
2024-03-31 18:07:56 +09:00
Tatsuhiro Tsujikawa
cd7d5166f1
Merge pull request #2125 from nghttp2/nghttpx-faster-worker-lookup
...
Nghttpx faster worker lookup
2024-03-30 18:36:49 +09:00
Tatsuhiro Tsujikawa
6e57c13727
Faster worker lookup
2024-03-30 17:31:18 +09:00
Tatsuhiro Tsujikawa
a2f8f75145
Rename iwps to lwps
2024-03-30 16:29:23 +09:00
Tatsuhiro Tsujikawa
4dea77ce39
Merge pull request #2124 from nghttp2/nghttpx-cid
...
nghttpx: Rework Connection ID construction
2024-03-30 11:31:28 +09:00
Tatsuhiro Tsujikawa
ab4b37afab
nghttpx: Rework Connection ID construction
2024-03-30 11:09:03 +09:00
Tatsuhiro Tsujikawa
c97376d456
Merge pull request #2122 from nghttp2/nghttpx-stateless-reset
...
Further reduce Stateless reset emission
2024-03-28 17:35:32 +09:00
Tatsuhiro Tsujikawa
b3bb189cb8
Further reduce Stateless reset emission
2024-03-28 17:07:44 +09:00
Tatsuhiro Tsujikawa
408149ce5e
Merge pull request #2120 from nghttp2/no-rfc7540-priority-fix
...
No rfc7540 priority fix
2024-03-25 23:39:05 +09:00
Tatsuhiro Tsujikawa
f35defd57a
Remove stream from queue on deletion
...
Remove stream from queue on deletion. Run on_stream_close_callback
before deallocating item in case that a frame is submitted in the
callback which is highly unusual in practice.
2024-03-25 23:15:16 +09:00
Tatsuhiro Tsujikawa
97c4b72b6a
Decrement num_idle_streams when opening idle stream
2024-03-25 23:14:04 +09:00
Tatsuhiro Tsujikawa
9277c1ab40
Detach item from stream on memory allocation failure
2024-03-25 23:13:07 +09:00
Tatsuhiro Tsujikawa
cd993a9648
Merge pull request #2119 from nghttp2/nghttp-keylog
...
nghttp: Support SSLKEYLOGFILE
2024-03-25 17:55:51 +09:00
Tatsuhiro Tsujikawa
d5cf5621d7
nghttp: Support SSLKEYLOGFILE
2024-03-25 17:32:33 +09:00
Tatsuhiro Tsujikawa
f08e3393cb
Merge pull request #2117 from nghttp2/nghttpx-discard-short-quic-pkt
...
nghttpx: Discard UDP datagram that is too short to be a valid QUIC packet
2024-03-23 18:50:22 +09:00
Tatsuhiro Tsujikawa
8c885ca0f4
nghttpx: Discard UDP datagram that is too short to be a valid QUIC packet
2024-03-23 18:29:03 +09:00
Tatsuhiro Tsujikawa
eecff14cf2
Merge pull request #2116 from nghttp2/stale
...
Add actions/stale
2024-03-23 16:43:47 +09:00
Tatsuhiro Tsujikawa
2a52b95773
Add actions/stale
2024-03-23 16:22:12 +09:00
Tatsuhiro Tsujikawa
e98df05432
Merge pull request #2115 from nghttp2/nghttpx-quic-more-prohibited-ports
...
nghttpx: More QUIC prohibited ports
2024-03-22 18:59:09 +09:00
Tatsuhiro Tsujikawa
d242dc8bd5
nghttpx: More QUIC prohibited ports
2024-03-22 18:44:56 +09:00
Tatsuhiro Tsujikawa
58ba3b178b
Merge pull request #2114 from nghttp2/nghttpx-quic-stateless-reset-size
...
nghttpx: Rework QUIC stateless reset packet size
2024-03-22 18:29:09 +09:00
Tatsuhiro Tsujikawa
4c24629854
nghttpx: Rework QUIC stateless reset packet size
2024-03-22 18:16:07 +09:00
Tatsuhiro Tsujikawa
bf06b48368
Merge pull request #2113 from nghttp2/h2load-host-override
...
h2load: Allow host header to be overridden
2024-03-21 19:46:00 +09:00
Tatsuhiro Tsujikawa
c4d150dec6
h2load: Allow host header to be overridden
...
Remove :host header override which is deprecated SPDY header.
Instead, add host header to the override header list.
2024-03-21 19:26:00 +09:00
Tatsuhiro Tsujikawa
fc2ee9f41e
Merge pull request #2112 from nghttp2/nghttpx-fix-port
...
nghttpx: Fix port byte order
2024-03-21 18:59:04 +09:00
Tatsuhiro Tsujikawa
bbddd550c6
nghttpx: Fix port byte order
2024-03-21 18:20:14 +09:00
Tatsuhiro Tsujikawa
78ab8b1330
Merge pull request #2111 from nghttp2/nghttpx-quic-port
...
nghttpx: Drop a UDP datagram from well-known port
2024-03-21 17:53:12 +09:00
Tatsuhiro Tsujikawa
5acd3c75f7
nghttpx: Drop a UDP datagram from well-known port
2024-03-21 17:22:26 +09:00
Tatsuhiro Tsujikawa
29b87d5434
Merge pull request #2110 from nghttp2/tar-pax
...
autotools: Switch to tar-pax
2024-03-20 17:25:08 +09:00
Tatsuhiro Tsujikawa
39cc6fd8b2
autotools: Switch to tar-pax
2024-03-20 17:01:56 +09:00
Tatsuhiro Tsujikawa
ab30dbaf00
Merge pull request #2109 from nghttp2/automate-release
...
Automate release process
2024-03-20 16:50:30 +09:00
Tatsuhiro Tsujikawa
a50f408acf
Merge pull request #2108 from nghttp2/tar-ustar
...
autotools: Use tar-ustar automake option
2024-03-20 16:27:23 +09:00
Tatsuhiro Tsujikawa
bb0f2e822d
autotools: Use tar-ustar automake option
2024-03-20 15:53:26 +09:00
Tatsuhiro Tsujikawa
c3fe715be2
Automate release process
2024-03-20 15:12:41 +09:00
Tatsuhiro Tsujikawa
747e9e676d
Merge pull request #2107 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.42.0
...
build(deps): bump github.com/quic-go/quic-go from 0.41.0 to 0.42.0
2024-03-20 14:41:05 +09:00
dependabot[bot]
d1025ea7e6
build(deps): bump github.com/quic-go/quic-go from 0.41.0 to 0.42.0
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.41.0 to 0.42.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.41.0...v0.42.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-18 14:30:24 +00:00
Tatsuhiro Tsujikawa
4bda611ee4
Merge pull request #2106 from nghttp2/nghttpx-simplify-cc-handling
...
nghttpx: Simplify quic connection close handling
2024-03-18 21:42:31 +09:00
Tatsuhiro Tsujikawa
ffea7c8793
nghttpx: Simplify quic connection close handling
...
Simplify quic connection close handling with new ngtcp2 API.
2024-03-18 21:09:22 +09:00
Tatsuhiro Tsujikawa
7d516c23c2
Merge pull request #2105 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2024-03-18 21:07:45 +09:00
Tatsuhiro Tsujikawa
fe9a989a39
boringssl requires C++ runtime
2024-03-18 19:31:39 +09:00
Tatsuhiro Tsujikawa
9c30ba7f35
Bump ngtcp2
2024-03-18 18:33:24 +09:00
Tatsuhiro Tsujikawa
a46950e972
Merge pull request #2103 from nghttp2/base-nossl
...
Switch to distroless/base-nossl
2024-03-17 19:05:41 +09:00
Tatsuhiro Tsujikawa
7c644e4982
Merge pull request #2102 from nghttp2/rewrite-hexdump
...
Rewrite hexdump
2024-03-17 18:58:25 +09:00
Tatsuhiro Tsujikawa
945940e131
Switch to distroless/base-nossl
2024-03-17 18:44:18 +09:00
Tatsuhiro Tsujikawa
be512f8298
Rewrite hexdump
2024-03-17 18:38:08 +09:00
Tatsuhiro Tsujikawa
061998e6cf
Merge pull request #2101 from nghttp2/nghttpx-fix-header-timeout-in-conf
...
nghttpx: Fix frontend-header-timeout does not work in config file
2024-03-16 18:31:54 +09:00
Tatsuhiro Tsujikawa
ceccba0997
nghttpx: Fix frontend-header-timeout does not work in config file
2024-03-16 18:13:46 +09:00
Tatsuhiro Tsujikawa
a7379389f1
Merge pull request #2100 from nghttp2/nghttpx-header-idle-timeout
...
Nghttpx header idle timeout
2024-03-16 17:36:38 +09:00
Tatsuhiro Tsujikawa
9fbde38571
Rename frontend-*-read-timeout to frontend-*-idle-timeout
...
Rename frontend-*-read-timeout to frontend-*-idle-timeout so that the
name of the option suggests what it does.
2024-03-16 16:58:32 +09:00
Tatsuhiro Tsujikawa
c8e149994e
nghttpx: Add frontend-header-timeout option
...
Add frontend-header-timeout option. frontend-read-timeout is
deprecated and has no effect. Use frontend-header-timeout as a
replacement. This also fixes the bug that HTTP/3 header timeout is
not set per stream.
2024-03-16 16:58:32 +09:00
Tatsuhiro Tsujikawa
566737ccc8
Merge pull request #2099 from nghttp2/docker-copy-link
...
docker: Use copy --link
2024-03-15 18:13:40 +09:00
Tatsuhiro Tsujikawa
f28d385e78
docker: Use copy --link
2024-03-15 17:27:23 +09:00
Tatsuhiro Tsujikawa
208b3caa0f
Merge pull request #2098 from nghttp2/llvm-workaround
...
Workaround llvm issue on github ubuntu runner
2024-03-15 17:26:41 +09:00
Tatsuhiro Tsujikawa
7ebd0a84ec
Workaround llvm issue on github ubuntu runner
2024-03-15 17:07:35 +09:00
Tatsuhiro Tsujikawa
b922740e56
Merge pull request #2097 from nghttp2/dependabot/go_modules/golang.org/x/net-0.22.0
...
build(deps): bump golang.org/x/net from 0.21.0 to 0.22.0
2024-03-15 09:02:16 +09:00
dependabot[bot]
d8bb6d2afe
build(deps): bump golang.org/x/net from 0.21.0 to 0.22.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-11 14:45:29 +00:00
Tatsuhiro Tsujikawa
a35f3d16db
Merge pull request #2092 from jonaski/cmake_static
...
Respect BUILD_STATIC_LIBS and add option for tests
2024-03-06 00:28:25 +09:00
Jonas Kvinge
be76c13da8
build: Add BUILD_STATIC_LIBS and BUILD_TESTING
2024-03-04 21:47:48 +01:00
Jonas Kvinge
b8a307ec63
CMake: Respect BUILD_STATIC_LIBS
...
Respect BUILD_STATIC_LIBS and add option for tests.
This also fixes the library conflict with MSVC by setting STATIC_LIB_SUFFIX so it's using "nghttp2_static" when both static and shared library is built, since the lib name currently conflicts with the shared when STATIC_LIB_SUFFIX was not set.
Fixes #2088
2024-03-04 21:43:48 +01:00
Tatsuhiro Tsujikawa
ebb92d2ff7
Merge pull request #2093 from jonaski/ci
...
Checkout with submodules
2024-03-04 18:40:15 +09:00
Jonas Kvinge
ce39c2ade0
docker: Checkout with submodules
2024-03-03 15:51:30 +01:00
Jonas Kvinge
3cf262f231
build: Checkout with submodules
2024-03-03 15:51:30 +01:00
Tatsuhiro Tsujikawa
ac2e671d80
Merge pull request #2087 from nghttp2/nghttpx-h3-trailer-shutdown-read
...
nghttpx: Shutdown h3 stream read with trailer as well
2024-03-02 11:57:46 +09:00
Tatsuhiro Tsujikawa
86049b7af2
nghttpx: Shutdown h3 stream read with trailer as well
2024-03-02 11:24:14 +09:00
Tatsuhiro Tsujikawa
99e7413938
Bump package version
2024-03-01 17:28:02 +09:00
Tatsuhiro Tsujikawa
c5e087b103
Update bash_completion
2024-03-01 17:04:52 +09:00
Tatsuhiro Tsujikawa
fb65839653
Update manual pages
2024-03-01 17:04:23 +09:00
Tatsuhiro Tsujikawa
1da27af832
Bump package and library versions
2024-03-01 16:59:34 +09:00
Tatsuhiro Tsujikawa
c29ac85281
Update AUTHORS
2024-03-01 16:57:31 +09:00
Tatsuhiro Tsujikawa
1b5fe4a477
clang-format
2024-02-29 17:59:42 +09:00
Tatsuhiro Tsujikawa
cdf01d1af8
Merge pull request #2086 from barracuda156/darwin
...
Fix build when `AI_NUMERICSERV` is undefined
2024-02-29 17:58:38 +09:00
Sergey Fedorov
2e54284906
shrpx_tls_test.cc: use AI_NUMERICSERV when defined
2024-02-29 02:29:36 +07:00
Sergey Fedorov
b13c97f04f
shrpx_config.cc: if undefined, define AI_NUMERICSERV to 0
2024-02-29 02:26:33 +07:00
Tatsuhiro Tsujikawa
c817b2a3e0
Merge pull request #2085 from nghttp2/nghttpx-remove-default-udp-payload-size
...
nghttpx: Remove SHRPX_QUIC_MAX_UDP_PAYLOAD_SIZE
2024-02-26 18:04:06 +09:00
Tatsuhiro Tsujikawa
a354577eff
nghttpx: Remove SHRPX_QUIC_MAX_UDP_PAYLOAD_SIZE
...
Remove SHRPX_QUIC_MAX_UDP_PAYLOAD_SIZE and just rely on the ngtcp2
default.
2024-02-26 17:41:54 +09:00
Tatsuhiro Tsujikawa
09a95983b9
Merge pull request #2084 from nghttp2/max-pktcnt-fix
...
src: Deal with the case that send_quantum < max_udp_payload_size
2024-02-26 17:40:29 +09:00
Tatsuhiro Tsujikawa
25d6df290e
src: Deal with the case that send_quantum < max_udp_payload_size
2024-02-26 17:15:29 +09:00
Tatsuhiro Tsujikawa
bd9edc8e76
Merge pull request #2083 from nghttp2/apt-get-update
...
Run apt-get update before install
2024-02-26 17:12:16 +09:00
Tatsuhiro Tsujikawa
b28998694b
Run apt-get update before install
2024-02-26 16:50:09 +09:00
Tatsuhiro Tsujikawa
0b5008eee3
Merge pull request #2082 from nghttp2/reuse-evp-cipher-ctx
...
nghttpx: Reuse EVP_CIPHER_CTX for QUIC connection ID encryption
2024-02-23 19:46:30 +09:00
Tatsuhiro Tsujikawa
a6d128836d
nghttpx: Reuse EVP_CIPHER_CTX for QUIC connection ID encryption
2024-02-23 19:24:42 +09:00
Tatsuhiro Tsujikawa
ea4e5cec19
Merge pull request #2081 from nghttp2/fix-mruby-crash
...
mruby: Exclude mrdb gem which causes nghttpx to crash
2024-02-22 21:51:08 +09:00
Tatsuhiro Tsujikawa
bfeb1ee182
mruby: Exclude mrdb gem which causes nghttpx to crash
2024-02-22 21:35:25 +09:00
Tatsuhiro Tsujikawa
2b28011c86
Merge pull request #2080 from nghttp2/bpf-pre-expand-aes-key
...
bpf: Pre-expand aes key
2024-02-22 19:21:20 +09:00
Tatsuhiro Tsujikawa
66c5ea2216
bpf: Pre-expand aes key
2024-02-22 18:56:07 +09:00
Tatsuhiro Tsujikawa
66abd8cbd3
Merge pull request #2079 from nghttp2/neverbleed-gnu-source
...
neverbleed: Define _GNU_SOURCE for pthread_setaffinity_np
2024-02-18 20:04:28 +09:00
Tatsuhiro Tsujikawa
a142e81994
neverbleed: Define _GNU_SOURCE for pthread_setaffinity_np
2024-02-18 19:30:22 +09:00
Tatsuhiro Tsujikawa
97b7012ccd
Merge pull request #2078 from nghttp2/mruby-mrbc-rename
...
mruby: Adopt deprecation of mrbc_ prefix
2024-02-18 19:16:59 +09:00
Tatsuhiro Tsujikawa
39d293551a
mruby: Adopt deprecation of mrbc_ prefix
2024-02-18 18:53:39 +09:00
Tatsuhiro Tsujikawa
fe56b875b4
Merge pull request #2077 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 dependencies
2024-02-18 18:37:39 +09:00
Tatsuhiro Tsujikawa
d1035d439a
Bump ngtcp2 dependencies
2024-02-18 18:17:37 +09:00
Tatsuhiro Tsujikawa
532791209e
Merge pull request #2076 from nghttp2/h2load-add-sni
...
h2load: Add --sni option
2024-02-18 17:47:07 +09:00
Tatsuhiro Tsujikawa
ed0b7864d7
h2load: Add --sni option
2024-02-18 17:26:18 +09:00
Tatsuhiro Tsujikawa
d2ca281ca1
Merge pull request #2075 from nghttp2/bump-llhttp
...
Bump llhttp to 48588093ca4219b5f689acfc9ebea9e4c8c37663
2024-02-16 18:50:10 +09:00
Tatsuhiro Tsujikawa
3792c573cd
Bump llhttp to 48588093ca4219b5f689acfc9ebea9e4c8c37663
2024-02-16 17:58:08 +09:00
Tatsuhiro Tsujikawa
ab8ee3fbce
Merge pull request #2074 from nghttp2/bump-mruby
...
Bump mruby to 3.3.0
2024-02-16 17:57:34 +09:00
Tatsuhiro Tsujikawa
c2cfab6d9c
Bump mruby to 3.3.0
2024-02-16 17:30:53 +09:00
Tatsuhiro Tsujikawa
a99667350e
Merge pull request #2073 from nghttp2/security-policy
...
Move security policy to GitHub standard location
2024-02-15 22:39:15 +09:00
Tatsuhiro Tsujikawa
053703eeab
Move security policy to GitHub standard location
2024-02-15 22:23:10 +09:00
Tatsuhiro Tsujikawa
3a4e26247b
Merge pull request #2072 from nghttp2/security
...
Use GitHub private vulnerability reporting
2024-02-15 21:52:11 +09:00
Tatsuhiro Tsujikawa
a25f19560c
Use GitHub private vulnerability reporting
2024-02-15 21:37:55 +09:00
Tatsuhiro Tsujikawa
2af27bb921
Merge pull request #2071 from nghttp2/reconsider-ssize_t-usage-in-src
...
Reconsider ssize t usage in src
2024-02-15 21:18:19 +09:00
Tatsuhiro Tsujikawa
731c7c0f92
nghttpx: Reconsider ssize_t usage
2024-02-15 20:59:39 +09:00
Tatsuhiro Tsujikawa
b487cf1d19
nghttp: Use size_t where a negative value is not expected
2024-02-15 20:59:38 +09:00
Tatsuhiro Tsujikawa
41a2f6de00
h2load: Use size_t where a negative value is not expected
2024-02-15 20:59:38 +09:00
Tatsuhiro Tsujikawa
075254e5a0
Merge pull request #2070 from nghttp2/src-remove-unused
...
src: Remove unused functions
2024-02-15 20:03:32 +09:00
Tatsuhiro Tsujikawa
3daa0de1e6
src: Remove unused functions
2024-02-15 19:44:32 +09:00
Tatsuhiro Tsujikawa
972e372402
Merge pull request #2069 from nghttp2/apps-migrate-nghttp2_ssize
...
Apps migrate nghttp2 ssize
2024-02-15 19:43:16 +09:00
Tatsuhiro Tsujikawa
65c91ba729
h2load: Migrate to nghttp2_ssize API
2024-02-15 19:29:42 +09:00
Tatsuhiro Tsujikawa
3ffade5f8a
nghttpx: Migrate to nghttp2_ssize API
2024-02-15 19:29:42 +09:00
Tatsuhiro Tsujikawa
33ad4cc2b8
deflatehd, inflatehd: Migrate to nghttp2_ssize API
2024-02-15 19:29:42 +09:00
Tatsuhiro Tsujikawa
f029a09cef
nghttpd: Migrate to nghttp2_ssize API
2024-02-15 19:29:42 +09:00
Tatsuhiro Tsujikawa
9468b16f1e
nghttp: Migrate to nghttp2_ssize API
2024-02-15 19:29:42 +09:00
Tatsuhiro Tsujikawa
d4b19d7a5a
Merge pull request #2068 from nghttp2/rfc7540-priorities-api-deprecation-plan
...
Describe RFC 7540 priorities deprecation plan
2024-02-15 19:08:36 +09:00
Tatsuhiro Tsujikawa
632292731f
Describe RFC 7540 priorities deprecation plan
2024-02-15 18:50:32 +09:00
Tatsuhiro Tsujikawa
89500e2ab3
Merge pull request #2067 from nghttp2/deprecated-warning-upfront
...
Move deprecated warning upfront
2024-02-15 18:50:06 +09:00
Tatsuhiro Tsujikawa
bc1c6c07b3
Move deprecated warning upfront
2024-02-15 18:34:19 +09:00
Tatsuhiro Tsujikawa
2fdb959ea1
Merge pull request #2066 from nghttp2/nghttp2_ssize
...
Introduce nghttp2_ssize API
2024-02-15 18:32:31 +09:00
Tatsuhiro Tsujikawa
93c4d8bc34
Introduce nghttp2_ssize API
...
This commit deprecates all APIs, including structs and callback
functions, that use ssize_t. New APIs that use nghttp2_ssize are
added as a replacement. The usage of ssize_t is problematic for
several reasons. Some platforms do not define ssize_t. The minimum
value of ssize_t that POSIX requires is -1 which makes nghttp2 error
code out of range. nghttp2_ssize is an alias of ptrdiff_t that is in
C standard and covers our error code range.
New code should use new nghttp2_ssize APIs. The existing applications
should consider migrating to new APIs.
The deprecated ssize_t APIs continue to work for backward
compatibility.
Here is the summary of the deprecated APIs and their replacements:
Callback functions:
- nghttp2_data_source_read_callback => nghttp2_data_source_read_callback2
- nghttp2_data_source_read_length_callback => nghttp2_data_source_read_length_callback2
- nghttp2_pack_extension_callback => nghttp2_pack_extension_callback2
- nghttp2_recv_callback => nghttp2_recv_callback2
- nghttp2_select_padding_callback => nghttp2_select_padding_callback2
- nghttp2_send_callback => nghttp2_send_callback2
Structs:
- nghttp2_data_provider => nghttp2_data_provider2
Functions:
- nghttp2_hd_deflate_hd => nghttp2_hd_deflate_hd2
- nghttp2_hd_deflate_hd_vec => nghttp2_hd_deflate_hd_vec2
- nghttp2_hd_inflate_hd2 => nghttp2_hd_inflate_hd3
- nghttp2_pack_settings_payload => nghttp2_pack_settings_payload2
- nghttp2_session_callbacks_set_data_source_read_length_callback =>
nghttp2_session_callbacks_set_data_source_read_length_callback2
- nghttp2_session_callbacks_set_pack_extension_callback =>
nghttp2_session_callbacks_set_pack_extension_callback2
- nghttp2_session_callbacks_set_recv_callback =>
nghttp2_session_callbacks_set_recv_callback2
- nghttp2_session_callbacks_set_select_padding_callback =>
nghttp2_session_callbacks_set_select_padding_callback2
- nghttp2_session_callbacks_set_send_callback =>
nghttp2_session_callbacks_set_send_callback2
- nghttp2_session_mem_recv => nghttp2_session_mem_recv2
- nghttp2_session_mem_send => nghttp2_session_mem_send2
- nghttp2_submit_data => nghttp2_submit_data2
- nghttp2_submit_request => nghttp2_submit_request2
- nghttp2_submit_response => nghttp2_submit_response2
For those applications that do not want to see ssize_t in nghttp2.h
header file, define NGHTTP2_NO_SSIZE_T macro before including
nghttp2.h. It hides all ssize_t APIs.
2024-02-15 18:19:11 +09:00
Tatsuhiro Tsujikawa
504633eadd
Merge pull request #2064 from nghttp2/munit
...
Munit
2024-02-14 17:53:19 +09:00
Tatsuhiro Tsujikawa
3884aa166e
Remove munit dependency from nghttp2_test_helper.h
2024-02-14 17:39:10 +09:00
Tatsuhiro Tsujikawa
ec7abfeabb
Merge pull request #2065 from nghttp2/integration-go-omit-unused-params
...
integration-tests: Omit unused parameters
2024-02-12 16:04:29 +09:00
Tatsuhiro Tsujikawa
de79d05ad9
integration-tests: Omit unused parameters
2024-02-12 14:02:01 +09:00
Tatsuhiro Tsujikawa
8b4fd9bd13
cmake: Disable -Wunused-macros
...
Disable -Wunused-macros which makes compiling external code quite
hard.
2024-02-12 14:01:35 +09:00
Tatsuhiro Tsujikawa
be8a327258
Migrate to munit from cunit
2024-02-12 14:01:35 +09:00
Tatsuhiro Tsujikawa
58c1e2bb55
Merge pull request #2062 from nghttp2/dependabot/go_modules/golang.org/x/net-0.21.0
...
build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0
2024-02-09 21:28:39 +09:00
dependabot[bot]
5d0a2f5fdb
build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 12:06:05 +00:00
Tatsuhiro Tsujikawa
4f5a769d01
Merge pull request #2061 from nghttp2/dependabot-gomod
...
Let dependabot manage go modules
2024-02-09 21:05:37 +09:00
Tatsuhiro Tsujikawa
8df2c0090d
Merge pull request #2060 from nghttp2/deprecate-rfc7540-priorities
...
Deprecate RFC 7540 priorities (aka stream dependencies)
2024-02-09 19:43:19 +09:00
Tatsuhiro Tsujikawa
c92aabb6e6
Let dependabot manage go modules
2024-02-09 18:48:24 +09:00
Tatsuhiro Tsujikawa
c00c44abbe
Deprecate RFC 7540 priorities (aka stream dependencies)
...
This commit just adds a warning to the related API documents. The
actual functionality works just like before.
2024-02-09 18:31:57 +09:00
Tatsuhiro Tsujikawa
92582ce519
Merge pull request #2059 from nghttp2/libbrotli-fixup
...
Libbrotli fixup
2024-02-08 23:03:56 +09:00
Tatsuhiro Tsujikawa
1291b76986
Use auto
2024-02-08 21:24:20 +09:00
Tatsuhiro Tsujikawa
6d291e98e0
Fix bug that libbrotlienc is not enabled
2024-02-08 21:24:20 +09:00
Tatsuhiro Tsujikawa
68498a307c
Fix missing '`'
2024-02-08 21:24:20 +09:00
Tatsuhiro Tsujikawa
a7d73d90db
cmake: Add missing definitions
2024-02-08 21:24:20 +09:00
Tatsuhiro Tsujikawa
69fd5b557d
Add missing :
2024-02-08 18:04:27 +09:00
Tatsuhiro Tsujikawa
3792abd447
Disable libbrotli by default
2024-02-08 18:04:27 +09:00
Tatsuhiro Tsujikawa
d55323e575
Merge pull request #2058 from nghttp2/switch-to-aws-lc
...
Switch to aws lc
2024-02-08 18:03:14 +09:00
Tatsuhiro Tsujikawa
96104d0895
README.rst: Switch to aws-lc
2024-02-08 17:49:52 +09:00
Tatsuhiro Tsujikawa
2f7dd5ec65
docker: Switch to aws-lc
2024-02-08 17:49:52 +09:00
Tatsuhiro Tsujikawa
8c0fe8f93f
Merge pull request #2057 from nghttp2/fix-missing-newline
...
Fix missing newline
2024-02-07 19:42:55 +09:00
Tatsuhiro Tsujikawa
85ccbd4f95
Fix missing newline
2024-02-07 19:02:12 +09:00
Tatsuhiro Tsujikawa
f3b142293c
Merge pull request #2056 from nghttp2/bssl-cert-compression
...
src: Certificate Compression with boringssl
2024-02-07 19:00:41 +09:00
Tatsuhiro Tsujikawa
4b34dd1965
src: Certificate Compression with boringssl
2024-02-07 18:41:01 +09:00
Tatsuhiro Tsujikawa
4ae7fe91d6
Merge pull request #2054 from nghttp2/fetch-ocsp-response-python3
...
Run with python3
2024-02-06 23:35:39 +09:00
Tatsuhiro Tsujikawa
41ac5f7e4e
Merge pull request #2055 from nghttp2/bssl-ocsp
...
nghttpx: Set ocsp response to SSL in case of boringssl
2024-02-06 22:56:24 +09:00
Tatsuhiro Tsujikawa
343dbafe7d
nghttpx: Set ocsp response to SSL in case of boringssl
2024-02-06 21:27:43 +09:00
Tatsuhiro Tsujikawa
5003886591
Run with python3
2024-02-06 19:42:03 +09:00
Tatsuhiro Tsujikawa
f7de260969
Merge pull request #2052 from nghttp2/dependabot/github_actions/microsoft/setup-msbuild-2
...
build(deps): bump microsoft/setup-msbuild from 1 to 2
2024-02-06 00:19:13 +09:00
dependabot[bot]
69daeb040c
build(deps): bump microsoft/setup-msbuild from 1 to 2
...
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild ) from 1 to 2.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases )
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md )
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-05 14:08:27 +00:00
Tatsuhiro Tsujikawa
fdc53b1a76
Merge pull request #2051 from anthonyalayo/feat/fixingBuildInstallTrees
...
Fixing the build and install trees
2024-02-05 17:12:51 +09:00
Anthony Alayo
b6247f5391
Setting variables for static and shared libs
2024-02-02 18:45:32 -08:00
Anthony Alayo
40983f461e
Update CMakeLists.txt
2024-02-02 18:39:04 -08:00
Anthony Alayo
80ba5ad341
Tweaking export
2024-02-02 13:19:29 -08:00
Anthony Alayo
0f3a369e12
Adding export set
2024-02-02 13:04:12 -08:00
Anthony Alayo
d9edee47aa
Fixing the build and install trees
2024-02-02 12:21:13 -08:00
Tatsuhiro Tsujikawa
a65b0acd9e
Merge pull request #2046 from nghttp2/dependabot/github_actions/actions/cache-4
...
build(deps): bump actions/cache from 3 to 4
2024-01-23 00:43:32 +09:00
dependabot[bot]
67c2c481ea
build(deps): bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-22 14:15:13 +00:00
Tatsuhiro Tsujikawa
57c1db3db4
Merge pull request #2044 from nghttp2/speed-up-git-clone
...
Speed up git clone
2024-01-22 17:43:45 +09:00
Tatsuhiro Tsujikawa
cc963b4862
Speed up git clone
2024-01-22 17:15:32 +09:00
Tatsuhiro Tsujikawa
2bccc5cf70
Merge pull request #2043 from nghttp2/release-speed-up-git-submodule
...
makerelease.sh: Speed up git submodule
2024-01-21 21:15:29 +09:00
Tatsuhiro Tsujikawa
93404696ac
makerelease.sh: Speed up git submodule
2024-01-21 19:50:01 +09:00
Tatsuhiro Tsujikawa
a0fc33ecd5
Bump package version
2024-01-21 19:45:50 +09:00
Tatsuhiro Tsujikawa
4c250df318
Update bash_completion
2024-01-21 18:07:18 +09:00
Tatsuhiro Tsujikawa
53fa55655d
Update manual pages
2024-01-21 18:06:56 +09:00
Tatsuhiro Tsujikawa
a3e943138a
Bump package and library versions
2024-01-21 18:03:45 +09:00
Tatsuhiro Tsujikawa
f2fd137715
Update AUTHORS
2024-01-21 17:59:57 +09:00
Tatsuhiro Tsujikawa
830b3b10b0
Merge pull request #2042 from nghttp2/src-avoid-copy
...
src: Avoid copies
2024-01-21 17:58:18 +09:00
Tatsuhiro Tsujikawa
c5ac2f221d
src: Avoid copies
2024-01-21 17:38:55 +09:00
Tatsuhiro Tsujikawa
caaa3fa293
Merge pull request #2041 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 to v1.2.0
2024-01-21 17:01:51 +09:00
Tatsuhiro Tsujikawa
1a8456e8ff
Bump ngtcp2 to v1.2.0
2024-01-21 16:31:02 +09:00
Tatsuhiro Tsujikawa
dd2b3c3f26
Merge pull request #2040 from nghttp2/bump-go-nghttp2
...
Bump go-nghttp2 and go mod tidy
2024-01-21 16:22:39 +09:00
Tatsuhiro Tsujikawa
4af5fc041a
Bump go-nghttp2 and go mod tidy
2024-01-21 15:53:52 +09:00
Tatsuhiro Tsujikawa
0509a14c0f
Merge pull request #2039 from nghttp2/bump-neverbleed
...
Bump neverbleed
2024-01-21 15:42:12 +09:00
Tatsuhiro Tsujikawa
c9c188ceca
Bump neverbleed
2024-01-21 13:59:19 +09:00
Tatsuhiro Tsujikawa
3982bde360
Merge pull request #2038 from nghttp2/bump-gomod
...
Bump go modules
2024-01-21 13:58:42 +09:00
Tatsuhiro Tsujikawa
aca43d8726
Bump go modules
2024-01-21 13:32:01 +09:00
Tatsuhiro Tsujikawa
d4f07f2096
Merge pull request #2037 from nghttp2/ci-add-aws-lc-build
...
ci: Add aws-lc builds
2024-01-21 13:30:25 +09:00
Tatsuhiro Tsujikawa
a193fb96b8
ci: Add aws-lc builds
2024-01-21 12:48:21 +09:00
Tatsuhiro Tsujikawa
6d94f9ee16
Merge pull request #2036 from nghttp2/revert-nghttpx-h3-reset-stream
...
Revert "nghttpx: Shutdown h3 stream write if reset by a remote endpoint"
2024-01-18 18:26:55 +09:00
Tatsuhiro Tsujikawa
da35daab51
Revert "nghttpx: Shutdown h3 stream write if reset by a remote endpoint"
...
This reverts commit e103726f4d .
2024-01-18 18:00:18 +09:00
Tatsuhiro Tsujikawa
48168eacdb
Merge pull request #2034 from nghttp2/add-debian-frontend
...
Specify DEBIAN_FRONTEND=noninteractive
2024-01-15 18:26:03 +09:00
Tatsuhiro Tsujikawa
a27d535f47
Specify DEBIAN_FRONTEND=noninteractive
2024-01-15 18:00:48 +09:00
Tatsuhiro Tsujikawa
3a173dcc1f
Merge pull request #2033 from nghttp2/fix-typo
...
Fix typo
2024-01-15 17:49:46 +09:00
Tatsuhiro Tsujikawa
619dd15e9a
Fix typo
2024-01-15 17:27:28 +09:00
Tatsuhiro Tsujikawa
6bdeed14fd
Merge pull request #2032 from nghttp2/dependabot/go_modules/github.com/quic-go/quic-go-0.37.7
...
build(deps): bump github.com/quic-go/quic-go from 0.35.1 to 0.37.7
2024-01-11 00:37:23 +09:00
dependabot[bot]
683c1ab16d
build(deps): bump github.com/quic-go/quic-go from 0.35.1 to 0.37.7
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.35.1 to 0.37.7.
- [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.35.1...v0.37.7 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-10 15:12:00 +00:00
Tatsuhiro Tsujikawa
278b2cd004
Merge pull request #2030 from anthonyalayo/anthonyalayo-patch-cmake-3.5
...
Update minimum CMake version to 3.5
2024-01-09 17:12:41 +09:00
Anthony Alayo
e2b2a5a8d6
Update minimum CMake version to 3.5
2024-01-07 16:19:46 -08:00
Tatsuhiro Tsujikawa
837f0c67c7
Merge pull request #1996 from hrxi/pr_less_config
...
Have less stuff in config.h
2024-01-03 15:51:41 +09:00
Tatsuhiro Tsujikawa
fe1b963d38
Merge pull request #2027 from anthonyalayo/anthonyalayo-patch-1
...
Not finding packages when `ENABLE_LIB_ONLY` is set
2024-01-03 15:30:34 +09:00
Anthony Alayo
3bce84c0a0
Not finding packages when ENABLE_LIB_ONLY is set
2024-01-02 14:54:13 -08:00
hrxi
d002e9631c
Don't get type sizes at configure time
...
This should speed up configuring minimally.
2023-12-29 15:12:43 +01:00
hrxi
1348b850bc
<time.h> is a standard header, don't check for it
2023-12-29 15:12:43 +01:00
Tatsuhiro Tsujikawa
4998cfcf29
Merge pull request #2026 from nghttp2/h2load-header-ttfb-fix
...
H2load header ttfb fix
2023-12-28 14:57:19 +09:00
Tatsuhiro Tsujikawa
49d36209bf
Merge pull request #2025 from nghttp2/remove-trailing-whitespace
...
nghttpx: Remove a trailing whitespace
2023-12-28 14:47:55 +09:00
Tatsuhiro Tsujikawa
d537e16a47
nghttpx: Remove a trailing whitespace
2023-12-28 14:11:34 +09:00
Tatsuhiro Tsujikawa
04a14ee3e2
h2load: Fix bug that ttfb is not recorded if h3 stream has no data
2023-12-27 19:49:27 +09:00
Tatsuhiro Tsujikawa
7209bff091
h2load: Consider all h2 HEADERS when counting bytes and recording ttfb
2023-12-27 19:49:21 +09:00
Tatsuhiro Tsujikawa
05b63f6126
Merge pull request #2024 from nghttp2/app-fix
...
App fix
2023-12-27 19:33:30 +09:00
Tatsuhiro Tsujikawa
20058af7ae
h2load: Ignore 1xx status code
2023-12-27 19:06:19 +09:00
Tatsuhiro Tsujikawa
9ae86f6198
nghttpd: Free SSL_CTX on exit
2023-12-27 19:05:56 +09:00
Tatsuhiro Tsujikawa
ad199fe46d
Merge pull request #2023 from nghttp2/nghttpx-set-recv-max-early-data
...
nghttpx: OpenSSL needs SSL_CTX_set_recv_max_early_data
2023-12-27 17:36:56 +09:00
Tatsuhiro Tsujikawa
e6713e850e
nghttpx: OpenSSL needs SSL_CTX_set_recv_max_early_data
...
OpenSSL needs SSL_CTX_set_recv_max_early_data as well as
SSL_CTX_set_max_early_data to properly set acceptable max early data
size.
2023-12-27 17:06:24 +09:00
Tatsuhiro Tsujikawa
1544abac7a
Merge pull request #2022 from nghttp2/cmake-require-openssl111
...
cmake: Require OpenSSL >= 1.1.1
2023-12-25 18:02:41 +09:00
Tatsuhiro Tsujikawa
87b3e5abec
cmake: Require OpenSSL >= 1.1.1
2023-12-25 17:22:05 +09:00
Tatsuhiro Tsujikawa
5ba03f63c6
Merge pull request #2021 from nghttp2/remove-end-to-end-py
...
Remove end_to_end.py
2023-12-24 16:09:11 +09:00
Tatsuhiro Tsujikawa
684397a675
Merge pull request #2020 from nghttp2/remove-npn
...
Remove NPN
2023-12-24 16:08:16 +09:00
Tatsuhiro Tsujikawa
361e5d3066
Remove end_to_end.py
2023-12-24 12:38:00 +09:00
Tatsuhiro Tsujikawa
c306390c93
Add nghttp2_select_alpn and deprecate nghttp2_select_next_protocol
2023-12-24 12:29:07 +09:00
Tatsuhiro Tsujikawa
66364abf73
nghttpx: Add --alpn-list and deprecate --npn-list
2023-12-24 12:29:07 +09:00
Tatsuhiro Tsujikawa
5d68d1dc7a
h2load: Add --alpn-list and deprecate --npn-list
2023-12-24 12:29:07 +09:00
Tatsuhiro Tsujikawa
6c01530ff3
Remove NPN
2023-12-24 12:29:07 +09:00
Tatsuhiro Tsujikawa
69e15e8371
Merge pull request #2019 from nghttp2/drop-old-openssl-part2
...
Drop old OpenSSL support part 2
2023-12-24 00:14:08 +09:00
Tatsuhiro Tsujikawa
41857be937
Drop old OpenSSL support part 2
...
All OpenSSLs that we support have ALPN and SSL_get_server_tmp_key.
2023-12-23 19:49:33 +09:00
Tatsuhiro Tsujikawa
51e9d0c08f
Merge pull request #2017 from nghttp2/drop-old-openssl
...
Drop old OpenSSL support
2023-12-23 16:59:57 +09:00
Tatsuhiro Tsujikawa
841d602fc8
Drop old OpenSSL support
...
Drop old OpenSSL support and require OpenSSL >= 1.1.1. For Libressl,
the reasonably recent versions are required.
2023-12-23 16:44:04 +09:00
Tatsuhiro Tsujikawa
35d76d2278
Merge pull request #2016 from nghttp2/boringssl-set-groups-list
...
boringssl has SSL_CTX_set1_groups_list
2023-12-19 19:30:57 +09:00
Tatsuhiro Tsujikawa
add1bcd1dc
boringssl has SSL_CTX_set1_groups_list
2023-12-19 18:52:16 +09:00
Tatsuhiro Tsujikawa
db800f73f1
Merge pull request #2013 from nghttp2/support-aws-lc
...
src: Support building with aws-lc
2023-12-19 18:19:50 +09:00
Tatsuhiro Tsujikawa
39d093fc45
Merge pull request #2014 from nghttp2/dependabot/github_actions/actions/upload-artifact-4
...
build(deps): bump actions/upload-artifact from 3 to 4
2023-12-19 17:18:10 +09:00
Tatsuhiro Tsujikawa
a30fb9917e
Merge pull request #2015 from nghttp2/dependabot/go_modules/golang.org/x/crypto-0.17.0
...
build(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0
2023-12-19 17:10:59 +09:00
dependabot[bot]
4065f9801d
build(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 23:59:31 +00:00
dependabot[bot]
25898e4216
build(deps): bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 14:32:07 +00:00
Tatsuhiro Tsujikawa
9354d4a84f
src: Support building with aws-lc
2023-12-18 19:50:57 +09:00
Tatsuhiro Tsujikawa
2bbbbe207e
Merge pull request #2012 from nghttp2/do-not-detect-openssl3.2-as-quictls
...
Avoid detecting OpenSSL 3.2 as quictls
2023-12-16 16:45:56 +09:00
Tatsuhiro Tsujikawa
826a2a7b63
Avoid detecting OpenSSL 3.2 as quictls
...
Previously, SSL_is_quic is used to detect quictls. But OpenSSL 3.2
has added it as a part of its own QUIC implementation which breaks our
script. Use SSL_provide_quic_data to correctly identify quictls and
avoid OpenSSL 3.2.
2023-12-16 16:25:12 +09:00
Tatsuhiro Tsujikawa
4bfb33bdb4
Merge pull request #2011 from bwncp/static-msvc
...
cmake: bring back ENABLE_STATIC_CRT
2023-12-16 15:49:14 +09:00
Bernhard Walle
1b70b8ca3a
cmake: bring back ENABLE_STATIC_CRT
...
While `ENABLE_STATIC_CRT` is still present in CMakeOptions.txt, it has
been removed by 81c199dd . I think this was by accident.
Add it again, otherwise our Windows builds will fail.
2023-12-14 11:44:33 +01:00
Tatsuhiro Tsujikawa
09936f47a0
Merge pull request #2010 from nghttp2/dependabot/github_actions/actions/setup-go-5
...
build(deps): bump actions/setup-go from 4 to 5
2023-12-14 09:05:17 +09:00
dependabot[bot]
ed9a438b62
build(deps): bump actions/setup-go from 4 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-11 14:13:04 +00:00
Tatsuhiro Tsujikawa
8b26ad55c3
Merge pull request #1997 from hrxi/pr_windows_h
...
Use `#include <windows.h>` instead of `#include <sysinfoapi.h>`
2023-12-09 16:26:50 +09:00
hrxi
7945e4d398
Use #include <windows.h> instead of #include <sysinfoapi.h>
...
This is the recommended way of including Windows headers:
https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-gettickcount64
> Header: sysinfoapi.h (include Windows.h)
2023-12-06 16:54:31 +01:00
Tatsuhiro Tsujikawa
9d030c16fa
Merge pull request #2009 from nghttp2/cmake-quic-pkg-vers
...
cmake: Set minimum quic package versions
2023-11-26 17:21:49 +09:00
Tatsuhiro Tsujikawa
147544bbaa
cmake: Set minimum quic package versions
2023-11-26 16:59:43 +09:00
Tatsuhiro Tsujikawa
6cf162b42d
Merge pull request #2008 from nghttp2/http3-resp-pri
...
Use nghttp3_pri_parse_priority added since nghttp3 v1.1.0
2023-11-26 16:59:18 +09:00
Tatsuhiro Tsujikawa
15a9562697
Use nghttp3_pri_parse_priority added since nghttp3 v1.1.0
2023-11-26 16:43:35 +09:00
Tatsuhiro Tsujikawa
21d6bee5aa
Merge pull request #2007 from nghttp2/bump-libbpf
...
Bump libbpf to v1.3.0
2023-11-26 16:42:56 +09:00
Tatsuhiro Tsujikawa
90f765f516
Bump libbpf to v1.3.0
2023-11-26 16:21:49 +09:00
Tatsuhiro Tsujikawa
d5e9b2efef
Merge pull request #2006 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and nghttp3
2023-11-26 16:21:09 +09:00
Tatsuhiro Tsujikawa
5e81e58f3f
Bump ngtcp2 and nghttp3
2023-11-26 15:56:57 +09:00
Tatsuhiro Tsujikawa
ba81277614
Merge pull request #2000 from nghttp2/h2load-fix-ipv6-authority
...
h2load: Fix IPv6 address in :authority
2023-11-22 19:54:11 +09:00
Tatsuhiro Tsujikawa
124e654af4
h2load: Fix IPv6 address in :authority
2023-11-22 19:37:17 +09:00
Tatsuhiro Tsujikawa
9fb3cffefe
Merge pull request #2002 from nghttp2/cmake-remove-itprep
...
cmake: Remove itprep target
2023-11-22 19:36:41 +09:00
Tatsuhiro Tsujikawa
f4bdc2a23d
cmake: Remove itprep target
2023-11-22 19:05:20 +09:00
Tatsuhiro Tsujikawa
c7c8b50443
Merge pull request #2001 from nghttp2/bump-go-pkgs
...
Bump go packages
2023-11-22 18:55:04 +09:00
Tatsuhiro Tsujikawa
86d12faf4d
Bump go packages
2023-11-22 18:11:57 +09:00
Tatsuhiro Tsujikawa
d07a3d2a24
Merge pull request #1995 from nghttp2/check-clock-monotonic
...
Check whether CLOCK_MONOTONIC is declared
2023-11-06 19:39:06 +09:00
Tatsuhiro Tsujikawa
5d2b75964f
Check whether CLOCK_MONOTONIC is declared
2023-11-06 19:07:23 +09:00
Tatsuhiro Tsujikawa
4c0d4f769f
Merge pull request #1992 from nghttp2/nghttpx-propagate-backend-priority-to-frontend
...
nghttpx: Propagate stream priority from backend to frontend
2023-11-05 17:17:37 +09:00
Tatsuhiro Tsujikawa
ebd2555fcc
nghttpx: Propagate stream priority from backend to frontend
2023-11-05 16:23:07 +09:00
Tatsuhiro Tsujikawa
9b0114e4c9
Merge pull request #1991 from nghttp2/get-and-parse-extpri
...
Add API to get and parse RFC 9218 priority
2023-11-05 16:22:38 +09:00
Tatsuhiro Tsujikawa
eaedf85f3e
Add API to get and parse RFC 9218 priority
2023-11-05 16:02:05 +09:00
Tatsuhiro Tsujikawa
ce6b91e4de
Merge pull request #1990 from nghttp2/prefer-file-name-macro
...
nghttpx: Prefer __FILE_NAME__ if defined
2023-11-03 18:49:32 +09:00
Tatsuhiro Tsujikawa
6b54081dc6
nghttpx: Prefer __FILE_NAME__ if defined
2023-11-03 18:00:49 +09:00
Tatsuhiro Tsujikawa
ef947bd339
Merge pull request #1989 from nghttp2/update-AX_CXX_COMPILE_STDCXX
...
Update ax_cxx_compile_stdcxx.m4
2023-11-02 19:35:36 +09:00
Tatsuhiro Tsujikawa
ccd6ac458f
Update ax_cxx_compile_stdcxx.m4
2023-11-02 18:40:05 +09:00
Tatsuhiro Tsujikawa
884641836b
Merge pull request #1988 from nghttp2/bump-quictls
...
Bump quictls to 3.1.4+quic
2023-10-29 18:37:53 +09:00
Tatsuhiro Tsujikawa
bd9d408f53
Merge pull request #1987 from nghttp2/bump-clang-format
...
Bump clang format
2023-10-29 18:00:18 +09:00
Tatsuhiro Tsujikawa
c7dd68015c
Bump quictls to 3.1.4+quic
2023-10-29 17:48:20 +09:00
Tatsuhiro Tsujikawa
42579964b9
clang-format
2023-10-29 17:36:27 +09:00
Tatsuhiro Tsujikawa
241379ef2b
Bump clang-format to 15
2023-10-29 17:36:27 +09:00
Tatsuhiro Tsujikawa
78d85a459c
Merge pull request #1986 from nghttp2/bump-clang
...
Bump clang to 15
2023-10-29 17:14:41 +09:00
Tatsuhiro Tsujikawa
ddbf49bc7e
Bump clang to 15
2023-10-29 16:53:55 +09:00
Tatsuhiro Tsujikawa
2643b6b0c0
Bump package version
2023-10-27 21:39:23 +09:00
Tatsuhiro Tsujikawa
e2bc59bec9
Update manual pages
2023-10-27 20:59:04 +09:00
Tatsuhiro Tsujikawa
28dc67e2c2
Bump package and library versions
2023-10-27 20:59:04 +09:00
Tatsuhiro Tsujikawa
f2beef8675
Update AUTHORS
2023-10-27 20:59:04 +09:00
Tatsuhiro Tsujikawa
c00452b686
Merge pull request #1985 from nghttp2/bump-neverbleed
...
Bump neverbleed
2023-10-27 20:54:15 +09:00
Tatsuhiro Tsujikawa
09832b9672
Bump neverbleed
2023-10-27 20:02:31 +09:00
Tatsuhiro Tsujikawa
8e01a772ae
Merge pull request #1983 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2023-10-23 21:44:17 +09:00
Tatsuhiro Tsujikawa
f8670c565c
Bump ngtcp2
2023-10-23 21:30:22 +09:00
Tatsuhiro Tsujikawa
d3e7e9554c
Merge pull request #1981 from nghttp2/bump-neverbleed
...
Bump neverbleed
2023-10-20 19:19:45 +09:00
Tatsuhiro Tsujikawa
35e15efd37
Bump neverbleed
2023-10-20 18:51:53 +09:00
Tatsuhiro Tsujikawa
54a5d271d3
Merge pull request #1977 from nghttp2/fix-cygwin-build
...
Prefer clock_gettime if __CYGWIN__ defined
2023-10-19 00:10:30 +09:00
Tatsuhiro Tsujikawa
ba74559c04
Merge pull request #1979 from nghttp2/fix-win-map-printf-warnings
...
windows: Fix warnings
2023-10-18 22:02:16 +09:00
Tatsuhiro Tsujikawa
3209a0b6c7
Merge pull request #1978 from nghttp2/configure-cygwin
...
Configure cygwin
2023-10-18 21:49:31 +09:00
Tatsuhiro Tsujikawa
723f131f76
windows: Fix warnings
2023-10-18 21:39:24 +09:00
Tatsuhiro Tsujikawa
164ebe22bf
Do not require strict c++ mode
2023-10-18 21:30:49 +09:00
Tatsuhiro Tsujikawa
ec362f77e4
tests: Define NGHTTP2_STATICLIB
2023-10-18 21:30:33 +09:00
Tatsuhiro Tsujikawa
c7536993cf
Prefer clock_gettime if __CYGWIN__ defined
2023-10-18 21:13:57 +09:00
Tatsuhiro Tsujikawa
c16e5ad42e
Merge pull request #1973 from nghttp2/nghttpx-stricter-transfer-encoding-check
...
nghttpx: Stricter transfer-encoding checks
2023-10-17 21:05:27 +09:00
Tatsuhiro Tsujikawa
56b762fa55
Merge pull request #1975 from nghttp2/refactor-char-comp
...
Refactor character comparison
2023-10-17 20:57:52 +09:00
Tatsuhiro Tsujikawa
0117e7f6fc
nghttpx: Stricter transfer-encoding checks
2023-10-17 20:20:24 +09:00
Tatsuhiro Tsujikawa
2a37feb1eb
Merge pull request #1974 from nghttp2/integration-servertester-h3
...
Integration servertester h3
2023-10-17 20:15:47 +09:00
Tatsuhiro Tsujikawa
475c7ed2eb
integration: Enable http3 test with cmake
2023-10-17 19:42:37 +09:00
Tatsuhiro Tsujikawa
ee1ca9cd10
integration: Move serverTester http3 function to its own file
2023-10-17 19:42:37 +09:00
Tatsuhiro Tsujikawa
d555153e51
Refactor character comparison
2023-10-17 18:59:34 +09:00
Tatsuhiro Tsujikawa
e14ddc840e
Merge pull request #1970 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2023-10-15 23:09:36 +09:00
Tatsuhiro Tsujikawa
013e46b138
bbrv2 has been removed
2023-10-15 22:45:23 +09:00
Tatsuhiro Tsujikawa
df5f1ee67b
Bump ngtcp2 and nghttp3
2023-10-15 22:45:13 +09:00
Tatsuhiro Tsujikawa
4e9bca7218
Merge pull request #1956 from av223119/master
...
ngtcp2 has merged BBR and BBRv2 under BBR (fixes issue #1955 )
2023-10-15 22:39:32 +09:00
Tatsuhiro Tsujikawa
e8bfe253ae
Merge pull request #1969 from nghttp2/update-doc
...
Update doc
2023-10-15 15:16:31 +09:00
Tatsuhiro Tsujikawa
9585d54b31
We no longer make a release in every month
2023-10-15 12:17:45 +09:00
Tatsuhiro Tsujikawa
b25f9cc7d4
Update security procedure
...
We sometimes cannot follow the current procedure for some reasons,
therefore remove the relevant portion of text.
2023-10-15 12:17:45 +09:00
Tatsuhiro Tsujikawa
bd92902560
Merge pull request #1967 from vszakats/cmake-fast-warnopt-detection
...
cmake: speed up warning option detection
2023-10-14 22:40:46 +09:00
Viktor Szakats
10a77ce888
cmake: display WARNCXXFLAGS flags in summary
2023-10-14 10:27:17 +00:00
Viktor Szakats
81c199dd9b
cmake: speed up warning option detection
2023-10-14 10:27:17 +00:00
Tatsuhiro Tsujikawa
3b82572b9e
Merge pull request #1965 from nghttp2/dependabot/go_modules/golang.org/x/net-0.17.0
...
Bump golang.org/x/net from 0.15.0 to 0.17.0
2023-10-14 12:14:08 +09:00
dependabot[bot]
9d85ab415f
Bump golang.org/x/net from 0.15.0 to 0.17.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-11 23:10:59 +00:00
Tatsuhiro Tsujikawa
d0358c0063
Merge pull request #1964 from nghttp2/nghttpx-h3-reset-stream
...
nghttpx: Shutdown h3 stream write if reset by a remote endpoint
2023-10-11 19:48:29 +09:00
Tatsuhiro Tsujikawa
e103726f4d
nghttpx: Shutdown h3 stream write if reset by a remote endpoint
2023-10-11 19:13:04 +09:00
Tatsuhiro Tsujikawa
4262c90148
Merge pull request #1963 from nghttp2/fix-build-error
...
Fix build error when both clock_gettime and GetTickCount64 are available
2023-10-11 17:49:46 +09:00
Tatsuhiro Tsujikawa
bf8f419ca9
Fix build error when both clock_gettime and GetTickCount64 are available
2023-10-11 17:19:05 +09:00
Tatsuhiro Tsujikawa
cccb6ad2c9
Bump package version
2023-10-10 23:10:21 +09:00
Tatsuhiro Tsujikawa
6f41cc7271
Update manual pages
2023-10-10 22:57:01 +09:00
Tatsuhiro Tsujikawa
9b781ca734
Bump package and library versions
2023-10-10 22:57:01 +09:00
Tatsuhiro Tsujikawa
aa0973caf5
Merge pull request #1961 from nghttp2/rework-session-mgmt
...
Rework session management
2023-10-10 22:55:23 +09:00
Tatsuhiro Tsujikawa
72b4af6143
Rework session management
2023-10-10 22:41:58 +09:00
Tatsuhiro Tsujikawa
d40829b133
Merge pull request #1959 from nghttp2/fix-clang-format
...
Fix clang-format
2023-10-05 21:37:07 +09:00
Tatsuhiro Tsujikawa
939506b68b
Fix clang-format
2023-10-05 20:54:00 +09:00
Tatsuhiro Tsujikawa
e62ef924fb
Merge pull request #1958 from nghttp2/nghttpx-fix
...
nghttpx: Fix bug that --single-process does not work
2023-10-01 15:39:23 +09:00
Tatsuhiro Tsujikawa
8bad736d48
nghttpx: Fix bug that --single-process does not work
2023-10-01 15:18:39 +09:00
Tatsuhiro Tsujikawa
e761014ca5
Merge pull request #1957 from nghttp2/apps-fix
...
Apps fix
2023-10-01 12:30:44 +09:00
Tatsuhiro Tsujikawa
e6ca4ff173
nghttpd: Do not read too greedy for TLS connection
2023-10-01 11:59:53 +09:00
Tatsuhiro Tsujikawa
62d58bdabc
nghttpx: Fix the bug that TLS connection is not rate limited
2023-09-30 22:53:31 +09:00
Alexandr Vlasov
775e4f1bad
ngtcp2 has merged BBR and BBRv2 under BBR
2023-09-29 14:07:52 +02:00
Tatsuhiro Tsujikawa
e37fe5543f
Merge pull request #1945 from nghttp2/bump-quictls
...
Bump quictls
2023-09-23 16:25:54 +09:00
Tatsuhiro Tsujikawa
d54750b365
Merge pull request #1953 from nghttp2/nghttpx-field-name-lowercase
...
nghttpx: Header field name must be lowercase
2023-09-22 11:02:01 +09:00
Tatsuhiro Tsujikawa
8ebe7b10fc
nghttpx: Header field name must be lowercase
2023-09-22 10:09:54 +09:00
Tatsuhiro Tsujikawa
5c1b0f261e
Merge pull request #1951 from nghttp2/docker-debian12
...
docker: Bump base image to debian 12
2023-09-15 21:41:10 +09:00
Tatsuhiro Tsujikawa
0866ceffc7
Merge pull request #1947 from nghttp2/dependabot/github_actions/actions/upload-artifact-3
...
Bump actions/upload-artifact from 1 to 3
2023-09-15 20:41:41 +09:00
Tatsuhiro Tsujikawa
3c6f94258f
Merge pull request #1949 from nghttp2/dependabot/github_actions/actions/checkout-4
...
Bump actions/checkout from 3 to 4
2023-09-15 19:36:46 +09:00
Tatsuhiro Tsujikawa
959a55f95f
Merge pull request #1948 from nghttp2/dependabot/github_actions/actions/setup-go-4
...
Bump actions/setup-go from 3 to 4
2023-09-15 19:12:09 +09:00
dependabot[bot]
7d0d8775c9
Bump actions/setup-go from 3 to 4
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-15 09:50:01 +00:00
Tatsuhiro Tsujikawa
52cb8c35c8
Merge pull request #1950 from nghttp2/bump-golang.org/x/net
...
Bump golang.org/x/net to v0.15.0
2023-09-15 18:48:49 +09:00
Tatsuhiro Tsujikawa
d19bc4bb67
Bump golang.org/x/net to v0.15.0
2023-09-15 18:28:01 +09:00
Tatsuhiro Tsujikawa
1ee16fdeca
docker: Bump base image to debian 12
2023-09-15 18:13:39 +09:00
dependabot[bot]
b809beacab
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-15 08:55:19 +00:00
dependabot[bot]
8cafb048be
Bump actions/upload-artifact from 1 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-15 08:55:00 +00:00
Tatsuhiro Tsujikawa
627b2408e5
Merge pull request #1946 from nghttp2/dependabot-actions
...
Add dependabot to update actions
2023-09-15 17:44:06 +09:00
Tatsuhiro Tsujikawa
0d36a2a050
Add dependabot to update actions
2023-09-15 17:13:09 +09:00
Tatsuhiro Tsujikawa
06da18089f
Bump quictls
2023-09-12 18:52:06 +09:00
Tatsuhiro Tsujikawa
19697bd44a
Merge pull request #1944 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2023-09-12 18:50:02 +09:00
Tatsuhiro Tsujikawa
2e6c8ddd15
Bump ngtcp2
2023-09-06 23:23:57 +09:00
Tatsuhiro Tsujikawa
b7f9853968
Bump package version
2023-09-04 18:32:43 +09:00
Tatsuhiro Tsujikawa
80d05fe917
Merge pull request #1943 from nghttp2/update-dockerfile
...
Update Dockerfile
2023-09-04 18:27:04 +09:00
Tatsuhiro Tsujikawa
08c472230a
Update Dockerfile
2023-09-04 18:11:18 +09:00
Tatsuhiro Tsujikawa
47ecf35737
Update manual pages
2023-09-04 18:04:09 +09:00
Tatsuhiro Tsujikawa
b48355b67e
Bump package and library versions
2023-09-03 19:45:03 +09:00
Tatsuhiro Tsujikawa
0f768bdaab
Merge pull request #1942 from nghttp2/bump-libbpf
...
Bump libbpf to v1.2.2
2023-09-03 19:44:37 +09:00
Tatsuhiro Tsujikawa
05f93ca729
Bump libbpf to v1.2.2
2023-09-03 19:26:17 +09:00
Tatsuhiro Tsujikawa
d70f0013d6
Merge pull request #1941 from nghttp2/bump-llhttp
...
Bump llhttp to 926c982942eb53a13f01c1e9e6b19bd3b196e7dd
2023-09-03 19:25:50 +09:00
Tatsuhiro Tsujikawa
d5cb882e62
Bump llhttp to 926c982942eb53a13f01c1e9e6b19bd3b196e7dd
2023-09-03 19:06:33 +09:00
Tatsuhiro Tsujikawa
2a382a2ce9
Merge pull request #1940 from nghttp2/simplify-unique_ptr-release
...
nghttpx: Simplify std::unique_ptr get and release
2023-09-03 18:29:37 +09:00
Tatsuhiro Tsujikawa
c13b08f861
nghttpx: Simplify std::unique_ptr get and release
2023-09-03 18:11:53 +09:00
Tatsuhiro Tsujikawa
298f71ce4e
Merge pull request #1939 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and its dependencies
2023-09-03 15:02:54 +09:00
Tatsuhiro Tsujikawa
4114507587
Bump ngtcp2 and its dependencies
2023-09-03 13:17:39 +09:00
Tatsuhiro Tsujikawa
060d0ac455
Merge pull request #1937 from nghttp2/bump-quictls
...
Bump quictls
2023-08-05 19:35:12 +09:00
Tatsuhiro Tsujikawa
9a3c345f60
Bump quictls
2023-08-05 18:58:27 +09:00
Tatsuhiro Tsujikawa
98eb01aa3f
Merge pull request #1935 from nghttp2/cmsg-data
...
CMSG_DATA does not necessarily return an aligned pointer
2023-08-02 21:06:45 +09:00
Tatsuhiro Tsujikawa
de47400a48
CMSG_DATA does not necessarily return an aligned pointer
2023-08-02 18:46:39 +09:00
Tatsuhiro Tsujikawa
871cf8e5a2
Merge pull request #1934 from nghttp2/ecn
...
nghttpx: Rework sending and receiving ECN bits
2023-08-02 18:46:07 +09:00
Tatsuhiro Tsujikawa
6ace578e5b
nghttpx: Rework sending and receiving ECN bits
...
Now ECN is sent along with sendmsg ancillary message. With this
commit, ECN should work fine with the recent Mac OS.
2023-08-02 17:47:51 +09:00
Tatsuhiro Tsujikawa
7273ec17d3
Merge pull request #1931 from nghttp2/return-void
...
Return void
2023-07-16 16:15:49 +09:00
Tatsuhiro Tsujikawa
07b69bb06f
Make session_after_frame_sent2 return void
2023-07-15 16:27:38 +09:00
Tatsuhiro Tsujikawa
98df5b59e5
frame: Make functions that always succeed return void
2023-07-15 16:15:25 +09:00
Tatsuhiro Tsujikawa
cdfb517528
Make functions that always succeed return void
2023-07-15 15:36:50 +09:00
Tatsuhiro Tsujikawa
b16d4e951e
Bump library version due to the patch release
2023-07-14 22:53:52 +09:00
Tatsuhiro Tsujikawa
feb5ff560a
Merge pull request #1930 from nghttp2/fix-memory-leak
...
Fix memory leak
2023-07-14 21:56:30 +09:00
Tatsuhiro Tsujikawa
ce385d3f55
Fix memory leak
...
This commit fixes memory leak that happens when PUSH_PROMISE or
HEADERS frame cannot be sent, and nghttp2_on_stream_close_callback
fails with a fatal error. For example, if GOAWAY frame has been
received, a HEADERS frame that opens new stream cannot be sent.
This issue has already been made public via CVE-2023-35945 [1] issued
by envoyproxy/envoy project. During embargo period, the patch to fix
this bug was accidentally submitted to nghttp2/nghttp2 repository [2].
And they decided to disclose CVE early. I was notified just 1.5 hours
before disclosure. I had no time to respond.
PoC described in [1] is quite simple, but I think it is not enough to
trigger this bug. While it is true that receiving GOAWAY prevents a
client from opening new stream, and nghttp2 enters error handling
branch, in order to cause the memory leak,
nghttp2_session_close_stream function must return a fatal error.
nghttp2 defines 2 fatal error codes:
- NGHTTP2_ERR_NOMEM
- NGHTTP2_ERR_CALLBACK_FAILURE
NGHTTP2_ERR_NOMEM, as its name suggests, indicates out of memory. It
is unlikely that a process gets short of memory with this simple PoC
scenario unless application does something memory heavy processing.
NGHTTP2_ERR_CALLBACK_FAILURE is returned from application defined
callback function (nghttp2_on_stream_close_callback, in this case),
which indicates something fatal happened inside a callback, and a
connection must be closed immediately without any further action. As
nghttp2_on_stream_close_error_callback documentation says, any error
code other than 0 or NGHTTP2_ERR_CALLBACK_FAILURE is treated as fatal
error code. More specifically, it is treated as if
NGHTTP2_ERR_CALLBACK_FAILURE is returned. I guess that envoy returns
NGHTTP2_ERR_CALLBACK_FAILURE or other error code which is translated
into NGHTTP2_ERR_CALLBACK_FAILURE.
[1] https://github.com/envoyproxy/envoy/security/advisories/GHSA-jfxv-29pc-x22r
[2] https://github.com/nghttp2/nghttp2/pull/1929
2023-07-14 21:37:37 +09:00
Tatsuhiro Tsujikawa
82fc1163c6
Merge pull request #1928 from nghttp2/doc-bump-boringssl
...
doc: Bump boringssl
2023-07-12 18:06:28 +09:00
Tatsuhiro Tsujikawa
79d2b7f931
doc: Bump boringssl
2023-07-12 17:44:26 +09:00
Tatsuhiro Tsujikawa
4c1f1b0efc
Bump package version
2023-07-12 17:25:14 +09:00
Tatsuhiro Tsujikawa
989d69be01
Update manual pages
2023-07-12 17:20:52 +09:00
Tatsuhiro Tsujikawa
2143f46f45
Bump package version
2023-07-12 17:14:02 +09:00
Tatsuhiro Tsujikawa
5bbe86a713
Merge pull request #1927 from nghttp2/bump-macos
...
Bump macos to 12
2023-07-11 22:54:06 +09:00
Tatsuhiro Tsujikawa
3cc152a9a5
Bump macos to 12
2023-07-11 22:24:19 +09:00
Tatsuhiro Tsujikawa
693372b695
Merge pull request #1926 from nghttp2/bump-llhttp
...
Bump llhttp to a0e744f850d8101a51284868ffdf745bcfe4fbcc
2023-07-11 22:13:31 +09:00
Tatsuhiro Tsujikawa
43e6a01189
Bump llhttp to a0e744f850d8101a51284868ffdf745bcfe4fbcc
2023-07-11 21:24:11 +09:00
Tatsuhiro Tsujikawa
9dc39859fc
Merge pull request #1925 from nghttp2/nghttpx-randomize-initial-quic-pkt-num
...
nghttpx: Randomize initial QUIC packet number
2023-07-11 21:04:47 +09:00
Tatsuhiro Tsujikawa
5b350acc4c
nghttpx: Randomize initial QUIC packet number
2023-07-11 20:47:30 +09:00
Tatsuhiro Tsujikawa
42140d3ade
Merge pull request #1923 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2023-07-09 22:23:31 +09:00
Tatsuhiro Tsujikawa
dfa2a59f99
Bump ngtcp2
2023-07-09 21:09:43 +09:00
Tatsuhiro Tsujikawa
5c11ad80c0
Merge pull request #1920 from nghttp2/gro
...
h2load, nghttpx: Add UDP_GRO support
2023-06-25 19:35:13 +09:00
Tatsuhiro Tsujikawa
ee4de34a42
h2load, nghttpx: Add UDP_GRO support
2023-06-25 18:51:57 +09:00
Tatsuhiro Tsujikawa
892a6162ab
Merge pull request #1918 from nghttp2/mruby-cross
...
mruby: Support cross build for autotools
2023-06-24 16:32:40 +09:00
Tatsuhiro Tsujikawa
811b3554a7
mruby: Support cross build for autotools
...
Support mruby cross build, but now we are unable to specify host C/C++
compiler on cross build.
Do not pass compiler and linker flags because mruby does its own.
Cross build only works with autotools. It does not work with cmake.
2023-06-11 20:06:06 +09:00
Tatsuhiro Tsujikawa
e7f5940655
Merge pull request #1917 from nghttp2/bump-go-dep
...
Bump go package dependencies
2023-06-11 13:27:44 +09:00
Tatsuhiro Tsujikawa
e4ad2921e5
Bump go package dependencies
2023-06-11 13:03:34 +09:00
Tatsuhiro Tsujikawa
7872401f73
Merge pull request #1916 from nghttp2/bump-go
...
Bump go to 1.20
2023-06-11 13:02:50 +09:00
Tatsuhiro Tsujikawa
2277f7cc68
Bump go to 1.20
2023-06-11 12:05:55 +09:00
Tatsuhiro Tsujikawa
2c955ab76b
Merge pull request #1915 from nghttp2/fix-build-without-libev
...
Fix build error without libev
2023-06-08 20:31:41 +09:00
Tatsuhiro Tsujikawa
9fc1f85102
Fix build error without libev
...
Check libev availability, and guard the usage of libev in util.h.
2023-06-08 19:33:23 +09:00
Tatsuhiro Tsujikawa
2571f78ce7
Bump package version
2023-06-07 19:01:48 +09:00
Tatsuhiro Tsujikawa
ecbb12f609
Update manual pages
2023-06-07 18:44:22 +09:00
Tatsuhiro Tsujikawa
800e379690
Bump package version
2023-06-07 18:33:34 +09:00
Tatsuhiro Tsujikawa
45467a9bc3
Merge pull request #1913 from nghttp2/avoid-copies
...
Avoid copies
2023-06-05 22:44:28 +09:00
Tatsuhiro Tsujikawa
dc940764d7
Avoid copies
2023-06-05 20:56:51 +09:00
Tatsuhiro Tsujikawa
d53e3728f7
Merge pull request #1912 from nghttp2/bump-libbpf
...
Bump libbpf to v1.2.0
2023-06-04 19:50:44 +09:00
Tatsuhiro Tsujikawa
7414f030c3
Bump libbpf to v1.2.0
2023-06-04 19:05:05 +09:00
Tatsuhiro Tsujikawa
2674d77519
Merge pull request #1911 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and nghttp3
2023-06-04 18:37:28 +09:00
Tatsuhiro Tsujikawa
66bbe52576
Bump ngtcp2 and nghttp3
2023-06-04 17:22:57 +09:00
Tatsuhiro Tsujikawa
5f10d43c6b
Merge pull request #1910 from nghttp2/remove-unused-macro-bswap64
...
Remove unused macro bswap64
2023-05-29 18:54:25 +09:00
Tatsuhiro Tsujikawa
6dec3353ec
Remove unused macro bswap64
2023-05-29 17:45:11 +09:00
Tatsuhiro Tsujikawa
5e2bb54ee8
Merge pull request #1907 from nghttp2/avoid-ev_now
...
Avoid ev_now
2023-05-18 21:15:26 +09:00
Tatsuhiro Tsujikawa
018922b0b6
nghttpx: Avoid ev_now where monotonic clock is required
2023-05-18 19:16:24 +09:00
Tatsuhiro Tsujikawa
288b08e3d8
nghttpd: Avoid ev_now where monotonic clock is required
2023-05-18 19:16:24 +09:00
Tatsuhiro Tsujikawa
dbc607cfcc
h2load: Avoid ev_now
2023-05-18 19:16:24 +09:00
Tatsuhiro Tsujikawa
4e2de8808a
Merge pull request #1906 from nghttp2/h2load-quic-steady-clock
...
h2load: Use std::chrono::steady_clock for quic timestamp
2023-05-17 22:29:21 +09:00
Tatsuhiro Tsujikawa
71932baad7
h2load: Use std::chrono::steady_clock for quic timestamp
2023-05-17 21:03:21 +09:00
Tatsuhiro Tsujikawa
483daf3701
Merge pull request #1905 from nghttp2/h2load-fix-http3-upload-stall
...
h2load: Fix http3 upload stall
2023-05-16 23:20:29 +09:00
Tatsuhiro Tsujikawa
1534cd8cb7
h2load: Fix http3 upload stall
2023-05-16 22:50:07 +09:00
Tatsuhiro Tsujikawa
03496a8a0b
Generate PGP signatures for release tar balls
2023-05-11 17:03:06 +09:00
Tatsuhiro Tsujikawa
1a57bf110d
Merge pull request #1904 from nghttp2/nghttpx-bpf-error-handling
...
nghttpx: Consistent error handling and use of high-level API
2023-05-10 19:35:03 +09:00
Tatsuhiro Tsujikawa
5b83573d04
nghttpx: Consistent error handling and use of high-level API
2023-05-10 19:14:10 +09:00
Tatsuhiro Tsujikawa
0a8cac68f2
Bump package version
2023-05-10 18:11:21 +09:00
Tatsuhiro Tsujikawa
ed2ccce0e8
Generate .asc files
2023-05-10 17:27:53 +09:00
Tatsuhiro Tsujikawa
7a0e16510a
Update manual pages
2023-05-10 17:26:29 +09:00
Tatsuhiro Tsujikawa
f62b2b23b1
Bump package and library versions
2023-05-10 17:10:42 +09:00
Tatsuhiro Tsujikawa
5e8904e327
Merge pull request #1902 from nghttp2/bump-neverbleed
...
Bump neverbleed
2023-04-29 21:48:11 +09:00
Tatsuhiro Tsujikawa
26ab7c1475
Bump neverbleed
2023-04-29 21:13:57 +09:00
Tatsuhiro Tsujikawa
e392729d9f
Merge pull request #1901 from nghttp2/zerofill-z_stream
...
Initialize z_stream completely with zeros
2023-04-29 20:56:09 +09:00
Tatsuhiro Tsujikawa
0fbfc48716
Initialize z_stream completely with zeros
2023-04-29 19:27:20 +09:00
Tatsuhiro Tsujikawa
88e03cdaf0
Merge pull request #1900 from nghttp2/nghttpx-send-new-token-on-path-change
...
nghttpx: Send NEW_TOKEN on path change
2023-04-26 23:30:31 +09:00
Tatsuhiro Tsujikawa
7645ab89bc
nghttpx: Send NEW_TOKEN on path change
2023-04-26 23:10:31 +09:00
Tatsuhiro Tsujikawa
4f27509e67
Merge pull request #1899 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2023-04-26 21:08:26 +09:00
Tatsuhiro Tsujikawa
7a4e706b44
Bump ngtcp2
2023-04-26 19:10:50 +09:00
Tatsuhiro Tsujikawa
757bc3cbe9
Merge pull request #1898 from nghttp2/sfparse
...
Import ngtcp2/sfparse, Structured Field Values parser
2023-04-22 18:22:56 +09:00
Tatsuhiro Tsujikawa
2ee33fe8cd
Import ngtcp2/sfparse, Structured Field Values parser
2023-04-22 17:42:12 +09:00
Tatsuhiro Tsujikawa
cc1402bf44
Merge pull request #1897 from nghttp2/lazy-initialize-map-table
...
Initialize map table lazily
2023-04-22 17:31:44 +09:00
Tatsuhiro Tsujikawa
70690ce010
Initialize map table lazily
2023-04-22 17:04:52 +09:00
Tatsuhiro Tsujikawa
56fcb73cc4
Merge pull request #1896 from nghttp2/msvc-build-check
...
Msvc build check
2023-04-21 18:42:46 +09:00
Tatsuhiro Tsujikawa
84eecc015c
Fix implicit conversion warnings
2023-04-21 18:02:50 +09:00
Tatsuhiro Tsujikawa
4bb4ff06e3
Fix function signature
2023-04-21 18:02:33 +09:00
Tatsuhiro Tsujikawa
8610758e14
Include stdio.h to workaround error due to legacy CUnit snprintf macro
2023-04-21 17:46:06 +09:00
Tatsuhiro Tsujikawa
caf9d3abd5
Run msvc build check
2023-04-21 17:42:54 +09:00
Tatsuhiro Tsujikawa
51b0288f5d
Merge pull request #1892 from nghttp2/nghttpx-h3-write-event
...
nghttpx: write watcher should only be started upon blocking write
2023-03-25 19:07:14 +09:00
Tatsuhiro Tsujikawa
7fb488be15
nghttpx: write watcher should only be started upon blocking write
2023-03-25 18:36:35 +09:00
Tatsuhiro Tsujikawa
251d3f8743
Merge pull request #1891 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 to v0.14.0
2023-03-25 18:35:53 +09:00
Tatsuhiro Tsujikawa
3676eb91e3
Bump ngtcp2 to v0.14.0
2023-03-25 17:35:59 +09:00
Tatsuhiro Tsujikawa
edfc6a8530
Merge pull request #1888 from nghttp2/fix-macos-setup
...
Add missing if condition to MacOS setup
2023-03-16 19:51:49 +09:00
Tatsuhiro Tsujikawa
448c68ef01
Add missing if condition to MacOS setup
2023-03-16 19:31:41 +09:00
Tatsuhiro Tsujikawa
7efbcfecff
Merge pull request #1887 from nghttp2/add-verify_hostname-tests
...
Add verify_hostname tests
2023-03-16 00:26:14 +09:00
Tatsuhiro Tsujikawa
de743aad4a
Add verify_hostname tests
2023-03-15 22:47:40 +09:00
Tatsuhiro Tsujikawa
c460afc2d9
Merge pull request #1886 from nghttp2/fix-compile-errors
...
Fix compile errors with clang-15
2023-03-15 22:21:58 +09:00
Tatsuhiro Tsujikawa
c03cd59274
Fix compile errors with clang-15
2023-03-15 21:57:45 +09:00
Tatsuhiro Tsujikawa
83993b1dbf
Merge pull request #1885 from nghttp2/nghttpx-fix-numeric-hostname-verify
...
nghttpx: Fix numeric hostname verification
2023-03-15 21:56:54 +09:00
Tatsuhiro Tsujikawa
cc14400096
nghttpx: Fix numeric hostname verification
2023-03-15 20:54:56 +09:00
Tatsuhiro Tsujikawa
ef7bb8ef9f
Merge pull request #1881 from nghttp2/nghttpx-fix-heap-use-after-free
...
nghttpx: Fix heap-use-after-free
2023-03-11 12:07:50 +09:00
Tatsuhiro Tsujikawa
bc6814eb5b
nghttpx: Fix heap-use-after-free
...
Fix heap-use-after-free introduced by
ddb667e8bf .
2023-03-11 11:51:08 +09:00
Tatsuhiro Tsujikawa
b8cb6efb37
Merge pull request #1880 from nghttp2/nghttpx-tweak-worker-process-handling
...
Nghttpx tweak worker process handling
2023-03-11 10:02:09 +09:00
Tatsuhiro Tsujikawa
83af9b504b
nghttpx: Wait for new worker process to be ready
...
Wait for new worker process to be ready before sending graceful
shutdown event to the existing worker processes to avoid down time
during configuration reload.
2023-03-10 22:27:57 +09:00
Tatsuhiro Tsujikawa
ddb667e8bf
nghttpx: Signal watcher should be global, not per WorkerProcess
2023-03-10 17:12:40 +09:00
Tatsuhiro Tsujikawa
704153e4cb
nghttpx: Wait for all worker processes to stop before quit
...
When quitting, wait for all worker processes to stop. Previously, we
just exit the event loop when the last process exits. But the because
of the bug, it does not work as intended.
2023-03-10 16:34:40 +09:00
Tatsuhiro Tsujikawa
39f6c08187
nghttpx: Update LogConfig::pid on fork
2023-03-10 16:30:32 +09:00
Tatsuhiro Tsujikawa
7628879e79
Merge pull request #1879 from nghttp2/workflow-permissions
...
Set workflow permissions
2023-03-08 19:07:45 +09:00
Tatsuhiro Tsujikawa
20173a59f0
Set workflow permissions
2023-03-08 18:27:03 +09:00
Tatsuhiro Tsujikawa
1e47a1984d
Merge pull request #1877 from nghttp2/sphinx-doc-enum
...
sphinx-doc understands :enum:
2023-03-06 17:08:47 +09:00
Tatsuhiro Tsujikawa
14268ccbaa
sphinx-doc understands :enum:
2023-03-06 16:52:57 +09:00
Tatsuhiro Tsujikawa
14cc308d53
Merge pull request #1874 from nghttp2/nghttpx-llhttp-resume-after-upgrade
...
nghttpx: Fix bug that causes 400 response after upgrade failure
2023-02-26 23:22:13 +09:00
Tatsuhiro Tsujikawa
bb024e3d82
nghttpx: Fix bug that causes 400 response after upgrade failure
2023-02-26 23:03:41 +09:00
Tatsuhiro Tsujikawa
1c62a2a923
Merge pull request #1873 from nghttp2/bump-go-mod
...
Bump go modules
2023-02-26 22:24:23 +09:00
Tatsuhiro Tsujikawa
094c60db89
Bump go modules
2023-02-26 21:58:27 +09:00
Tatsuhiro Tsujikawa
dc74b50cc9
Merge pull request #1872 from nghttp2/bump-mruby
...
Bump mruby to 3.2.0
2023-02-26 19:31:30 +09:00
Tatsuhiro Tsujikawa
5cd87eae22
Bump mruby to 3.2.0
2023-02-26 19:12:26 +09:00
Tatsuhiro Tsujikawa
a1c7e507aa
Merge pull request #1871 from nghttp2/nghttpx-h3-graceful-shutdown
...
nghttpx: Gracefully shutdown HTTP/3 connection
2023-02-25 00:22:19 +09:00
Tatsuhiro Tsujikawa
9526e2ff80
nghttpx: Gracefully shutdown HTTP/3 connection
2023-02-24 23:38:29 +09:00
Tatsuhiro Tsujikawa
b400bb5c15
Merge pull request #1870 from nghttp2/bump-nghttp3
...
Bump nghttp3 to v0.9.0
2023-02-24 21:59:51 +09:00
Tatsuhiro Tsujikawa
89cb55a62f
Bump nghttp3 to v0.9.0
2023-02-24 21:42:12 +09:00
Tatsuhiro Tsujikawa
878de84feb
Merge pull request #1869 from nghttp2/build-cache
...
Cache dependencies to speed up workflow builds
2023-02-24 20:37:36 +09:00
Tatsuhiro Tsujikawa
9862a86b31
Cache dependencies to speed up workflow builds
2023-02-24 19:39:59 +09:00
Tatsuhiro Tsujikawa
1eb91d2e50
Merge pull request #1867 from nghttp2/bump-go-mod
...
Bump golang.org/x/net to v0.7.0
2023-02-23 21:25:56 +09:00
Tatsuhiro Tsujikawa
50fbb76454
Bump golang.org/x/net to v0.7.0
2023-02-23 19:41:43 +09:00
Tatsuhiro Tsujikawa
5cb908b625
Bump package version
2023-02-13 21:18:34 +09:00
Tatsuhiro Tsujikawa
be0491294a
Update manual pages
2023-02-13 20:59:29 +09:00
Tatsuhiro Tsujikawa
17d54064d8
Bump package version
2023-02-12 19:41:38 +09:00
Tatsuhiro Tsujikawa
d8fb86a987
Update AUTHORS
2023-02-12 19:41:38 +09:00
Tatsuhiro Tsujikawa
5967358697
Merge pull request #1862 from nghttp2/bump-quictls
...
Bump quictls
2023-02-12 19:35:04 +09:00
Tatsuhiro Tsujikawa
7041b41afa
Bump quictls
2023-02-12 19:05:13 +09:00
Tatsuhiro Tsujikawa
c597e928f1
Merge pull request #1861 from nghttp2/simplify-uniform_int_distribution
...
Simplify std::uniform_int_distribution call
2023-02-11 18:50:07 +09:00
Tatsuhiro Tsujikawa
79f261edf0
Simplify std::uniform_int_distribution call
2023-02-11 18:23:06 +09:00
Tatsuhiro Tsujikawa
b082a6b3dd
Merge pull request #1860 from nghttp2/bump-llhttp
...
Bump llhttp to f2e1914b6c59f5cd88f492abc9d8af6be246bc85
2023-02-10 22:52:01 +09:00
Tatsuhiro Tsujikawa
64b97acc33
Bump llhttp to f2e1914b6c59f5cd88f492abc9d8af6be246bc85
2023-02-10 22:23:24 +09:00
Tatsuhiro Tsujikawa
936898453d
Merge pull request #1859 from nghttp2/bump-libbpf
...
Bump libbpf to v1.1.0
2023-02-10 21:46:14 +09:00
Tatsuhiro Tsujikawa
62802342aa
Bump libbpf to v1.1.0
2023-02-10 21:19:52 +09:00
Tatsuhiro Tsujikawa
93118d76f4
Merge pull request #1858 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 to v0.13.1
2023-02-09 23:02:11 +09:00
Tatsuhiro Tsujikawa
95b2f94671
Bump ngtcp2 to v0.13.1
2023-02-09 22:32:34 +09:00
Tatsuhiro Tsujikawa
4434fcbde1
Merge pull request #1857 from nghttp2/nghttpx-fix-tls-write-stall
...
nghttpx: Fix bug that stalls TLS write
2023-02-09 21:31:15 +09:00
Tatsuhiro Tsujikawa
cbcfdaa655
nghttpx: Fix bug that stalls TLS write
2023-02-06 22:27:22 +09:00
Tatsuhiro Tsujikawa
10d52f5a27
Merge pull request #1854 from nghttp2/bump-ngtcp2-dockerfile
...
Bump ngtcp2 in Dockerfile to v0.13.0
2023-02-02 16:06:50 +09:00
Tatsuhiro Tsujikawa
92c7593cff
Bump ngtcp2 in Dockerfile to v0.13.0
2023-01-31 19:18:35 +09:00
Tatsuhiro Tsujikawa
0dbcf9c04d
Merge pull request #1853 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 to v0.13.0
2023-01-31 18:30:04 +09:00
Tatsuhiro Tsujikawa
f494e88611
Bump ngtcp2 to v0.13.0
2023-01-31 18:00:19 +09:00
Tatsuhiro Tsujikawa
0ba1718e40
Merge pull request #1852 from nghttp2/remove-sphinx-theme-bundle
...
Remove sphinx theme bundle
2023-01-30 22:18:47 +09:00
Tatsuhiro Tsujikawa
5c5d978abe
Remove sphinx theme bundle
...
Remove sphinx theme bundle, and rely on the locally installed theme
(e.g., `pip install sphinx_rtd_theme`).
2023-01-30 21:24:11 +09:00
Tatsuhiro Tsujikawa
a6b0eeacc9
Merge pull request #1851 from nghttp2/bump-neverbleed
...
Bump neverbleed
2023-01-29 20:57:28 +09:00
Tatsuhiro Tsujikawa
6993e63ac4
Bump neverbleed
2023-01-29 19:36:57 +09:00
Tatsuhiro Tsujikawa
aea182c5a4
Merge pull request #1850 from nghttp2/fix-path-component-resolution
...
src: Fix path component resolution
2023-01-29 17:55:43 +09:00
Tatsuhiro Tsujikawa
c78aebf68f
src: Fix path component resolution
...
Fix path component resolution when '.' is involved.
2023-01-29 16:20:05 +09:00
Tatsuhiro Tsujikawa
05b7929019
Merge pull request #1849 from nghttp2/remove-unused-function
...
Remove unused function
2022-12-26 21:31:57 +09:00
Tatsuhiro Tsujikawa
5b665b3e48
Merge pull request #1848 from nghttp2/remove-src-includes
...
Remove src/includes
2022-12-26 21:20:51 +09:00
Tatsuhiro Tsujikawa
5089dcd3f2
Merge pull request #1847 from nghttp2/bump-zlib
...
Bump zlib to 1.2.13
2022-12-26 20:52:27 +09:00
Tatsuhiro Tsujikawa
b52f96d38a
Remove unused function
2022-12-26 19:49:28 +09:00
Tatsuhiro Tsujikawa
2ca0bb0a2f
Remove src/includes
2022-12-26 19:45:33 +09:00
Tatsuhiro Tsujikawa
fa3d1bfc8f
Bump zlib to 1.2.13
2022-12-26 19:40:26 +09:00
Tatsuhiro Tsujikawa
30bb4eb8f2
Merge pull request #1846 from nghttp2/remove-python
...
Remove deprecated python bindings
2022-12-26 19:38:53 +09:00
Tatsuhiro Tsujikawa
b4cb3b0090
Remove deprecated python bindings
2022-12-26 17:06:36 +09:00
Tatsuhiro Tsujikawa
2c62572ae1
Merge pull request #1844 from nghttp2/remove-libnghttp2_asio
...
Remove deprecated libnghttp2_asio
2022-12-26 17:05:44 +09:00
Tatsuhiro Tsujikawa
42904a586c
Merge pull request #1845 from nghttp2/minor-cleanup
...
Minor cleanup
2022-12-25 18:00:51 +09:00
Tatsuhiro Tsujikawa
8538e1ec42
Minor cleanup
2022-12-25 17:28:08 +09:00
Tatsuhiro Tsujikawa
e6d608b522
Remove deprecated libnghttp2_asio
2022-12-24 18:41:49 +09:00
Tatsuhiro Tsujikawa
00a33281be
Merge pull request #1843 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 dependencies
2022-12-24 17:35:35 +09:00
Tatsuhiro Tsujikawa
7c7ba0586e
Bump ngtcp2 dependencies
2022-12-24 16:35:11 +09:00
Tatsuhiro Tsujikawa
252c425ea6
Merge pull request #1837 from fredizzimo/fix-libevent-component
...
Don't use the unofficial libevent component
2022-12-23 21:35:54 +09:00
Fred Sundvik
525630ae7a
Don't use the unofficial libevent component
2022-12-07 16:36:58 +02:00
Tatsuhiro Tsujikawa
5195e8be6a
Merge pull request #1835 from nghttp2/integration-lint
...
integration: Fix lint errors
2022-11-24 19:05:51 +09:00
Tatsuhiro Tsujikawa
358c15e015
integration: Fix lint errors
2022-11-20 19:14:27 +09:00
Tatsuhiro Tsujikawa
b5b18699cb
Merge pull request #1834 from nghttp2/integration-http-status-code
...
integration: Use HTTP status code constants
2022-11-20 19:12:43 +09:00
Tatsuhiro Tsujikawa
44e4475a31
integration: Use HTTP status code constants
2022-11-20 17:46:46 +09:00
Tatsuhiro Tsujikawa
a945c057c5
Merge pull request #1833 from nghttp2/integration-h3
...
Integration h3
2022-11-20 17:46:17 +09:00
Tatsuhiro Tsujikawa
babeddb649
nghttpx: HTTPS redirect should not happen with HTTP/3 upstream
2022-11-20 17:03:30 +09:00
Tatsuhiro Tsujikawa
2d790edac5
integration: Add http3 test which verifies chunked encoding ends prematurely
2022-11-20 16:55:58 +09:00
Tatsuhiro Tsujikawa
2bef60a6f4
integration: Add http3 test which verifies response ends before request
2022-11-20 16:53:34 +09:00
Tatsuhiro Tsujikawa
17e3bb4ec5
integration: Add http3 mruby tests
2022-11-20 16:35:54 +09:00
Tatsuhiro Tsujikawa
5e1b1a0883
integration: Add http3 affinity cookie test
2022-11-20 16:31:24 +09:00
Tatsuhiro Tsujikawa
5b0cbb4892
integration: Add http3 HTTPS redirect test
2022-11-20 16:28:16 +09:00
Tatsuhiro Tsujikawa
17a5ba4969
integration: Add http3 response content-length test
2022-11-20 15:12:19 +09:00
Tatsuhiro Tsujikawa
20d95edc57
integration: Add http3 via tests
2022-11-20 15:04:01 +09:00
Tatsuhiro Tsujikawa
126b5f9d2b
Add the missing file
2022-11-20 15:03:41 +09:00
Tatsuhiro Tsujikawa
46602a961d
Bump package version
2022-11-13 15:59:20 +09:00
Tatsuhiro Tsujikawa
00399695cb
Update manual pages
2022-11-13 14:51:12 +09:00
Tatsuhiro Tsujikawa
f8e014de40
Bump package and library versions
2022-11-13 14:40:42 +09:00
Tatsuhiro Tsujikawa
172159305c
Update AUTHORS
2022-11-13 14:39:10 +09:00
Tatsuhiro Tsujikawa
aa607875b0
Merge pull request #1832 from nghttp2/h3-integration-test
...
Add http3 integration test
2022-11-13 10:58:10 +09:00
Tatsuhiro Tsujikawa
954d49f7a0
Add http3 integration test
2022-11-12 19:39:25 +09:00
Tatsuhiro Tsujikawa
5929aeb47c
Merge pull request #1831 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2022-11-12 18:05:29 +09:00
Tatsuhiro Tsujikawa
b990df49d6
Bump boringssl
2022-11-12 16:46:36 +09:00
Tatsuhiro Tsujikawa
2aa9d61ae2
Bump ngtcp2 to v0.11.0
2022-11-12 16:46:24 +09:00
Tatsuhiro Tsujikawa
0fb2c6f4f4
Merge pull request #1830 from nghttp2/bump-libbpf
...
Bump libbpf to v1.0.1
2022-11-12 16:43:19 +09:00
Tatsuhiro Tsujikawa
1c9817af0d
Bump libbpf to v1.0.1
2022-11-12 16:13:03 +09:00
Tatsuhiro Tsujikawa
bea6cae0d5
Merge pull request #1829 from nghttp2/disable-python-bindings
...
Disable python bindings
2022-11-11 19:29:56 +09:00
Tatsuhiro Tsujikawa
804ce364bf
Disable python bindings properly by default
...
Disable python bindings properly by default. This commit amends
b63705384a .
2022-11-11 18:55:01 +09:00
Tatsuhiro Tsujikawa
83d7fb7fdd
Revert "workflow: Disable python bindings"
...
This reverts commit ddd40bae06 .
2022-11-11 18:52:44 +09:00
Tatsuhiro Tsujikawa
266a3d84e4
Merge pull request #1828 from nghttp2/bump-openssl
...
Bump OpenSSL versions
2022-11-09 18:57:52 +09:00
Tatsuhiro Tsujikawa
e91de24be6
Merge pull request #1827 from nghttp2/bump-llhttp
...
Bump llhttp
2022-11-09 18:48:52 +09:00
Tatsuhiro Tsujikawa
b062e9f66c
Bump OpenSSL versions
2022-11-09 18:05:55 +09:00
Tatsuhiro Tsujikawa
f56448be60
Deal with llhttp incompatible changes
2022-11-09 18:05:14 +09:00
Tatsuhiro Tsujikawa
17aa7b6a61
Bump llhttp to 85dd446419966cafb5a7fdd5031e3113a0768e65
2022-11-09 18:04:54 +09:00
Tatsuhiro Tsujikawa
971d3552c7
Merge pull request #1826 from nghttp2/workflow-disable-python-bindings
...
workflow: Disable python bindings
2022-11-09 17:37:37 +09:00
Tatsuhiro Tsujikawa
ddd40bae06
workflow: Disable python bindings
...
Disable python bindings because it has been deprecated, and mac OS
build with python binding is broken.
2022-11-09 16:54:19 +09:00
Tatsuhiro Tsujikawa
cb11cfcd2c
Merge pull request #1822 from vszakats/warnfix
...
add casts to silence implicit conversion warnings
2022-10-20 20:50:51 +09:00
Viktor Szakats
5eed83ee17
add casts to silence implicit conversion warnings
...
Fixes #1821
2022-10-19 11:57:31 +00:00
Tatsuhiro Tsujikawa
11632d3c2c
Merge pull request #1819 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2022-10-18 22:35:47 +09:00
Tatsuhiro Tsujikawa
8c70d9c2e1
Bump ngtcp2
2022-10-18 21:11:14 +09:00
Tatsuhiro Tsujikawa
3b21fbaf03
Merge pull request #1818 from nghttp2/fix-nghttpx-affinity-cookie-stickiness
...
nghttpx: Fix affinity-cookie-stickiness parameter handling
2022-10-18 17:45:25 +09:00
Tatsuhiro Tsujikawa
5abafb4268
nghttpx: Fix affinity-cookie-stickiness parameter handling
...
Fix affinity-cookie-stickiness backend parameter handling.
Previously, if 3 backend options are used for the same pattern, and
the first one does not have affinity-cookie-stickiness, and the rest
of them have affinity-cookie-stickiness=strict, nghttpx wrongly
determines that they have inconsistent configurations.
2022-10-18 17:17:44 +09:00
Tatsuhiro Tsujikawa
2f71f5c3c9
Merge pull request #1816 from nghttp2/update-doc
...
Update doc
2022-10-16 16:49:06 +09:00
Tatsuhiro Tsujikawa
3f65ab7871
Update doc
...
Remove outdated text
2022-10-16 16:09:43 +09:00
Tatsuhiro Tsujikawa
8e120de5bd
Merge pull request #1814 from nghttp2/workflow-bump-compilers
...
Workflow bump compilers
2022-10-04 21:47:39 +09:00
Tatsuhiro Tsujikawa
8a355db8d9
Fix compile error with gcc-12
2022-10-04 17:58:15 +09:00
Tatsuhiro Tsujikawa
93f1096de3
Merge pull request #1813 from nghttp2/test-fix-tz
...
Fix test failure on Linux if tz database is not available
2022-10-04 17:48:32 +09:00
Tatsuhiro Tsujikawa
f190afd0c0
Merge pull request #1812 from nghttp2/update-ubuntu-packages
...
Update Ubuntu packages based on Ubuntu 22.04
2022-10-04 17:19:54 +09:00
Tatsuhiro Tsujikawa
ebef6b5ced
workflow: Bump compilers
2022-10-04 17:12:15 +09:00
Tatsuhiro Tsujikawa
6c45e943b0
Merge pull request #1811 from nghttp2/disable-python
...
Disable python bindings by default because it has been deprecated
2022-10-04 17:08:40 +09:00
Tatsuhiro Tsujikawa
61caf66f1b
Fix test failure on Linux if tz database is not available
2022-10-04 16:47:51 +09:00
Tatsuhiro Tsujikawa
c56cda058e
Update Ubuntu packages based on Ubuntu 22.04
2022-10-04 16:07:53 +09:00
Tatsuhiro Tsujikawa
b63705384a
Disable python bindings by default because it has been deprecated
2022-10-04 16:04:43 +09:00
Tatsuhiro Tsujikawa
7380ff3551
Merge pull request #1809 from nghttp2/update-doc-h2-rfc
...
Update README to mention new HTTP/2 RFC
2022-10-02 12:53:13 +09:00
Tatsuhiro Tsujikawa
bfba6764e0
Update README to mention new HTTP/2 RFC
2022-10-02 12:18:41 +09:00
Tatsuhiro Tsujikawa
634e65df64
Merge pull request #1807 from nghttp2/nghttpx-add-missing-exit
...
nghttpx: Add missing DIE()
2022-09-27 23:13:25 +09:00
Tatsuhiro Tsujikawa
011fbf7f10
nghttpx: Add missing DIE()
2022-09-27 22:23:13 +09:00
Tatsuhiro Tsujikawa
0363606924
Merge pull request #1806 from nghttp2/update-android-build-doc
...
Update android build documentation
2022-09-26 17:50:42 +09:00
Tatsuhiro Tsujikawa
40c7922386
Update android build documentation
2022-09-26 17:12:03 +09:00
Tatsuhiro Tsujikawa
958d9ac63b
Merge pull request #1805 from nghttp2/dockerfile-android-improvements
...
Dockerfile android improvements
2022-09-26 17:05:59 +09:00
Tatsuhiro Tsujikawa
c06f1e9974
Remove --with-xml-prefix
2022-09-26 16:24:53 +09:00
Tatsuhiro Tsujikawa
d3381233b1
Do not create OpenSSL shared library
2022-09-26 16:24:53 +09:00
Tatsuhiro Tsujikawa
6d88da58f1
PATH is required by OpenSSL only
2022-09-26 16:24:53 +09:00
Tatsuhiro Tsujikawa
77449a9477
Merge pull request #1804 from nghttp2/update-dockerfile-android
...
Bump NDK and others to the latest
2022-09-26 00:06:18 +09:00
Tatsuhiro Tsujikawa
116feb4a8c
Bump NDK and others to the latest
...
The latest nghttp2 release version cannot be built with the latest
NDK. The nghttp2 version in Dockerfile points to master for now.
2022-09-25 23:23:48 +09:00
Tatsuhiro Tsujikawa
dd63d1df42
Merge pull request #1802 from PufferBlue/patch-1
...
Update dependency versions for Dockerfile.android
2022-09-25 21:29:09 +09:00
PufferOverflow
c47fa08b40
Update dependency versions for Dockerfile.android
2022-09-23 10:33:56 +08:00
Tatsuhiro Tsujikawa
4bfd802937
Bump package version
2022-09-21 17:21:01 +09:00
Tatsuhiro Tsujikawa
87fef4ab71
Update manual pages
2022-09-21 16:55:07 +09:00
Tatsuhiro Tsujikawa
844af88dc1
Bump package and library versions
2022-09-21 16:47:56 +09:00
Tatsuhiro Tsujikawa
2f6ebfdf8c
Update AUTHORS
2022-09-21 16:45:44 +09:00
Tatsuhiro Tsujikawa
25858d8ada
Merge pull request #1800 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2022-09-20 18:28:51 +09:00
Tatsuhiro Tsujikawa
11d1f95412
Bump ngtcp2
2022-09-20 17:46:11 +09:00
Tatsuhiro Tsujikawa
931adb146b
Merge pull request #1799 from nghttp2/dyn-dns-family
...
nghttpx: Respect backend-address-family on dynamic DNS lookup
2022-09-15 19:45:09 +09:00
Tatsuhiro Tsujikawa
6a513dc9fd
nghttpx: Respect backend-address-family on dynamic DNS lookup
2022-09-15 19:11:13 +09:00
Tatsuhiro Tsujikawa
f13cff01bb
Merge pull request #1798 from nghttp2/bump-libbpf
...
Bump libbpf to v1.0.0
2022-09-15 19:10:22 +09:00
Tatsuhiro Tsujikawa
2608333ce5
Bump libbpf to v1.0.0
2022-09-15 18:29:07 +09:00
Tatsuhiro Tsujikawa
9f5bf5c7dd
Merge pull request #1792 from nghttp2/option-no-rfc9113-ltws-validation
...
Option no rfc9113 ltws validation
2022-09-07 17:08:04 +09:00
Tatsuhiro Tsujikawa
eb06e33e38
Add nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation
2022-09-07 16:34:12 +09:00
Tatsuhiro Tsujikawa
a94d2de89a
Check leading white spaces in :protocol
2022-09-07 16:32:20 +09:00
Tatsuhiro Tsujikawa
921b4d027a
Merge pull request #1791 from nghttp2/bump-ngtcp2
...
Bump ngtcp2
2022-09-06 20:55:12 +09:00
Tatsuhiro Tsujikawa
026ff48edb
Bump ngtcp2
2022-09-01 22:06:41 +09:00
Tatsuhiro Tsujikawa
1340b296dd
Merge pull request #1787 from heitbaum/patch-1
...
Fix typographic error
2022-08-29 21:22:56 +09:00
Rudi Heitbaum
fc5a020bc6
Fix typographic error
2022-08-29 22:05:58 +10:00
Tatsuhiro Tsujikawa
f919cf1a8e
Bump package version
2022-08-22 21:10:20 +09:00
Tatsuhiro Tsujikawa
08676d23f9
Update manual pages
2022-08-22 20:49:37 +09:00
Tatsuhiro Tsujikawa
28fa90811c
Bump package and library versions
2022-08-22 20:42:14 +09:00
Tatsuhiro Tsujikawa
56f39b30ce
Update AUTHORS
2022-08-22 19:40:15 +09:00
Tatsuhiro Tsujikawa
df000cd01b
Merge pull request #1784 from nghttp2/fix-covscan-errors
...
Fix errors reported by coverity scan
2022-08-22 19:37:29 +09:00
Tatsuhiro Tsujikawa
47b990f508
Fix errors reported by coverity scan
2022-08-22 19:06:35 +09:00
Tatsuhiro Tsujikawa
68ea085535
Merge pull request #1783 from nghttp2/bump-libbpf
...
Bump libbpf
2022-08-22 18:58:37 +09:00
Tatsuhiro Tsujikawa
eb397721be
Bump libbpf
2022-08-22 18:27:38 +09:00
Tatsuhiro Tsujikawa
c3fa77158a
Merge pull request #1782 from nghttp2/embed-km-id-in-token
...
nghttpx: Embed km_id in a regular token
2022-08-22 17:46:52 +09:00
Tatsuhiro Tsujikawa
7c0649d466
nghttpx: Embed km_id in a regular token
2022-08-21 23:34:32 +09:00
Tatsuhiro Tsujikawa
f02f9ff50c
Merge pull request #1781 from nghttp2/token-dcidlen
...
nghttpx: Regular token does not require server issued DCID
2022-08-21 23:01:27 +09:00
Tatsuhiro Tsujikawa
31be334660
nghttpx: Regular token does not require server issued DCID
2022-08-21 22:40:10 +09:00
Tatsuhiro Tsujikawa
9d265e8bb8
Merge pull request #1780 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and nghttp3
2022-08-21 20:53:04 +09:00
Tatsuhiro Tsujikawa
1aa97d5d2c
Bump ngtcp2 and nghttp3
2022-08-21 18:25:08 +09:00
Tatsuhiro Tsujikawa
42394e3342
Merge pull request #1779 from nghttp2/bump-boringssl
...
Bump boringssl
2022-08-20 11:36:27 +09:00
Tatsuhiro Tsujikawa
1bc1374d0c
Bump boringssl
2022-08-20 11:16:44 +09:00
Tatsuhiro Tsujikawa
f2c793c75b
clang-format
2022-08-10 16:57:01 +09:00
Tatsuhiro Tsujikawa
1bb4877976
Merge pull request #1770 from DavidKorczynski/dav-fuzz-1
...
fuzz: add frames fuzzer
2022-08-10 16:56:10 +09:00
David Korczynski
651f3bfce2
cleanup
2022-08-09 15:34:04 +01:00
Tatsuhiro Tsujikawa
8a026e18f5
clang-format fuzz
2022-08-09 21:01:42 +09:00
Tatsuhiro Tsujikawa
5164745ff9
Merge pull request #1771 from DavidKorczynski/dav-fuzz-2
...
fuzz: add extended fuzzer using FuzzedDataProvider
2022-08-09 20:59:50 +09:00
Tatsuhiro Tsujikawa
179ecf7ccd
Merge pull request #1775 from nghttp2/src-eliminate-strtoul
...
Replace the use of strtoul and strtol with parse_uint
2022-08-09 20:58:52 +09:00
Tatsuhiro Tsujikawa
a4d12f2a71
Replace the use of strtoul and strtol with parse_uint
...
Replace the use of strtoul and strtol with parse_uint to fix the
handling of negative integer.
2022-08-09 19:56:01 +09:00
David Korczynski
0ade040a68
fuzz: add extended fuzzer using FuzzedDataProvider
...
Similar in nature to fuzz_target.cc but adds the difference of a random
iv constructed by way of fuzzer data.
2022-08-04 20:22:28 +01:00
David Korczynski
59be24be32
fuzz: add frames fuzzer
2022-08-04 15:24:27 +01:00
Tatsuhiro Tsujikawa
092014d5af
Merge pull request #1769 from nghttp2/randomize-backend-addresses
...
nghttpx: Randomize backend address backend robin order per thread (2nd Ed.)
2022-08-04 19:03:53 +09:00
Tatsuhiro Tsujikawa
39d9efe4bd
nghttpx: Randomize backend address backend robin order per thread (2nd Ed.)
...
This is the 2nd attempt to randomize backend address round robin
order.
The initial attempt of doing this was
fdcdb21c38 , which has been reverted via
470f06e5f6 because it broke the session
affinity.
This time, we shuffles seq fields and avoid reordering addrs vector.
2022-08-04 18:38:23 +09:00
Tatsuhiro Tsujikawa
a3be763650
Merge pull request #1766 from nghttp2/h2load-h3-reset-stream-cb
...
h2load: Implement nghttp3 reset_stream callback
2022-07-26 17:39:58 +09:00
Tatsuhiro Tsujikawa
b4cf6358d4
h2load: Implement nghttp3 reset_stream callback
2022-07-26 17:05:13 +09:00
Tatsuhiro Tsujikawa
a80df35b39
Merge branch 'lemourin-coro-http'
2022-07-26 17:02:03 +09:00
Paweł Wegner
ff48a84a86
cmake: add ENABLE_DOC option.
...
doc subdirectory breaks Xcode generator
2022-07-26 16:42:26 +09:00
Tatsuhiro Tsujikawa
75a0d090df
Merge pull request #1764 from nghttp2/h3-ignore-errors
...
Ignore nghttp3 errors which can be ignored
2022-07-26 00:40:11 +09:00
Tatsuhiro Tsujikawa
6418a86504
Ignore nghttp3 errors which can be ignored
2022-07-25 23:09:33 +09:00
Tatsuhiro Tsujikawa
2916208eb3
Merge pull request #1763 from nghttp2/bump-neverbleed
...
Bump neverbleed
2022-07-25 23:04:43 +09:00
Tatsuhiro Tsujikawa
22c88548b9
Bump neverbleed
2022-07-25 21:20:02 +09:00
Tatsuhiro Tsujikawa
c642a9f856
Merge pull request #1762 from nghttp2/bump-llhttp
...
Bump llhttp
2022-07-25 21:04:13 +09:00
Tatsuhiro Tsujikawa
05f8d4e8c9
Fix integration test failure
2022-07-25 20:08:58 +09:00
Tatsuhiro Tsujikawa
9d389e8744
Bump llhttp to f84c4de65875a43b683d4c0c26337b2fa5a38efa
2022-07-25 19:41:13 +09:00
Tatsuhiro Tsujikawa
d51647f37e
Merge pull request #1761 from nghttp2/relocate-nghttp2-asio
...
libnghttp2_asio has moved to its own repository
2022-07-25 18:08:37 +09:00
Tatsuhiro Tsujikawa
c011105124
libnghttp2_asio has moved to its own repository
2022-07-25 17:33:50 +09:00
Tatsuhiro Tsujikawa
bc909d6157
Merge pull request #1759 from nghttp2/bump-quic-libs
...
Bump QUIC related libraries
2022-07-22 00:05:52 +09:00
Tatsuhiro Tsujikawa
5cf678cf5e
Bump QUIC related libraries
2022-07-21 23:22:42 +09:00
Tatsuhiro Tsujikawa
f11be7df09
Merge pull request #1755 from vszakats/fix-win-openssl-quic-detection
...
cmake: fix detecting quic openssl with win32
2022-07-21 21:18:05 +09:00
Viktor Szakats
7113970ff0
cmake: fix detecting quic openssl with win32
...
By adding two necessary system libraries to make the QUIC test snippet
link correctly.
Before:
```
-- Looking for SSL_is_quic
-- Looking for SSL_is_quic - not found
CMake Warning at CMakeLists.txt:206 (message):
OpenSSL in
/[...]/openssl-quic/x64-ucrt/usr/lib/libssl.a;/[...]/openssl-quic/x64-ucrt/usr/lib/libcrypto.a
dose not have SSL_is_quic. HTTP/3 support cannot be enabled
```
After:
```
-- Looking for SSL_is_quic
-- Looking for SSL_is_quic - found
```
Same fix as previously merged to ngtcp2:
https://github.com/ngtcp2/ngtcp2/pull/481
2022-07-14 05:35:11 +00:00
Tatsuhiro Tsujikawa
33974fbcd7
Merge pull request #1754 from nghttp2/bump-sphinx-rtd-theme
...
Bump sphinx_rtd_theme
2022-07-12 22:47:51 +09:00
Tatsuhiro Tsujikawa
6eb90570f0
Bump sphinx_rtd_theme
2022-07-12 22:23:12 +09:00
Tatsuhiro Tsujikawa
014f1c510d
Merge pull request #1752 from nghttp2/cross-build-fix
...
Cross build fix
2022-07-08 00:04:18 +09:00
Tatsuhiro Tsujikawa
db770a815a
Remove missing header patch
2022-07-07 21:59:14 +09:00
Tatsuhiro Tsujikawa
aedb01a1a4
Run tests for x86_64-w64-mingw32 host only
...
GitHub Actions suddenly refused to install wine32 because of broken
dependencies. In order to workaround this issue, do not run tests on
i686-w64-mingw32 host.
2022-07-07 21:54:31 +09:00
Tatsuhiro Tsujikawa
3d35558f0e
Merge pull request #1751 from nghttp2/bump-quictls
...
Bump quictls
2022-07-06 22:58:26 +09:00
Tatsuhiro Tsujikawa
02a3a15b82
Bump quictls
2022-07-06 22:21:26 +09:00
Tatsuhiro Tsujikawa
ffe1519366
Merge pull request #1750 from nghttp2/pythonbindings-deprecation
...
Deprecate Python bindings
2022-07-05 20:10:24 +09:00
Tatsuhiro Tsujikawa
97a5ca584b
Deprecate Python bindings
2022-07-05 19:45:14 +09:00
Tatsuhiro Tsujikawa
78cb0008d3
Merge pull request #1749 from nghttp2/libasio-deprecation
...
Deprecate libnghttp2_asio
2022-07-05 19:41:47 +09:00
Tatsuhiro Tsujikawa
d38cf2d11c
Merge pull request #1748 from nghttp2/cross-build
...
Cross build
2022-07-05 19:10:28 +09:00
Tatsuhiro Tsujikawa
b7b09acb81
Deprecate libnghttp2_asio
2022-07-05 18:57:22 +09:00
Tatsuhiro Tsujikawa
83ea8e5ba5
Add build-cross
2022-07-05 18:14:22 +09:00
Tatsuhiro Tsujikawa
9a16e73813
Compile with mingw64
2022-07-05 18:10:57 +09:00
Tatsuhiro Tsujikawa
2da1713200
Define BUILDING_NGHTTP2 for tests to make linker work
2022-07-05 18:10:35 +09:00
Tatsuhiro Tsujikawa
118648ff17
Merge pull request #1747 from nghttp2/nghttpx-fix-proxy-proto
...
nghttpx: Fix broken PROXY-protocol
2022-07-04 22:16:57 +09:00
Tatsuhiro Tsujikawa
d9acf873ed
nghttpx: Fix broken PROXY-protocol
...
Fix PROXY-protocol that is enabled for TLS connection.
2022-07-04 21:21:02 +09:00
Tatsuhiro Tsujikawa
e065cbccb6
Merge pull request #1745 from nghttp2/no-lws-check
...
No need to check pseudo header lws
2022-06-25 11:52:15 +09:00
Tatsuhiro Tsujikawa
cad6f6c3f0
Merge pull request #1744 from nghttp2/nghttpx-remove-h1-field-trailing-white-spaces
...
nghttpx: Remove trailing white spaces from HTTP/1.1 fields
2022-06-25 11:37:27 +09:00
Tatsuhiro Tsujikawa
fc6d064371
No need to check pseudo header lws
...
No need to check pseudo header lws because it is guaranteed not to
have leading white spaces.
2022-06-25 11:24:10 +09:00
Tatsuhiro Tsujikawa
501b1d4dcf
nghttpx: Remove trailing white spaces from HTTP/1.1 fields
2022-06-25 11:09:35 +09:00
Tatsuhiro Tsujikawa
54848210a9
Merge pull request #1743 from nghttp2/rfc9113-field-value-validation
...
Add nghttp2_check_header_value_rfc9113
2022-06-24 20:52:17 +09:00
Tatsuhiro Tsujikawa
7f4c2f9ec3
Add nghttp2_check_header_value_rfc9113
...
Add nghttp2_check_header_value_rfc9113 which verifies the additional
rule imposed by RFC 9113, section 8.2.1, that is a field value must
not start or end with 0x20(SPC) or 0x09(HTAB).
libnghttp2 uses this new function internally.
2022-06-24 19:44:13 +09:00
Tatsuhiro Tsujikawa
af30e57c5e
Bump package version
2022-06-24 18:27:00 +09:00
Tatsuhiro Tsujikawa
b5c4ba8322
Merge pull request #1742 from nghttp2/ignore-priority-in-pp
...
Do not parse priority header field value included in PUSH_PROMISE
2022-06-23 23:09:21 +09:00
Tatsuhiro Tsujikawa
d115f580e2
Do not parse priority header field value included in PUSH_PROMISE
2022-06-23 22:44:01 +09:00
Tatsuhiro Tsujikawa
511fea418a
Update bash_completion
2022-06-23 21:13:25 +09:00
Tatsuhiro Tsujikawa
711fb1d3c3
Update manual pages
2022-06-23 21:13:03 +09:00
Tatsuhiro Tsujikawa
31b39ebc4c
Bump package and library versions
2022-06-23 20:57:52 +09:00
Tatsuhiro Tsujikawa
f214519321
Merge pull request #1741 from nghttp2/gha-boringssl-build
...
workflow: Add BoringSSL build
2022-06-23 20:06:47 +09:00
Tatsuhiro Tsujikawa
5dfd6d22fa
workflow: Add BoringSSL build
2022-06-23 19:30:30 +09:00
Tatsuhiro Tsujikawa
146ca52f26
Update BoringSSL revision which is old but matches what ngtcp2 says
2022-06-23 18:18:26 +09:00
Tatsuhiro Tsujikawa
65e7c24df7
Merge pull request #1740 from nghttp2/bump-quictls
...
Bump quictls
2022-06-23 00:52:28 +09:00
Tatsuhiro Tsujikawa
5ecd1372c3
Bump quictls
2022-06-23 00:28:32 +09:00
Tatsuhiro Tsujikawa
6596cce8fb
Make concat_string_ref_count constexpr
2022-06-23 00:00:16 +09:00
Tatsuhiro Tsujikawa
ad7fc183d1
errno should be used to evaluate error code
2022-06-23 00:00:16 +09:00
Tatsuhiro Tsujikawa
22f8cc687f
Update doc
2022-06-23 00:00:16 +09:00
Tatsuhiro Tsujikawa
294fb07750
Merge pull request #1739 from nghttp2/h2load-no-udp-segment
...
h2load: Send more packets without GSO per event loop
2022-06-22 22:50:02 +09:00
Tatsuhiro Tsujikawa
71f8971dde
h2load: Send more packets without GSO per event loop
2022-06-22 21:05:11 +09:00
Tatsuhiro Tsujikawa
7077096162
Merge pull request #1738 from nghttp2/bump-llhttp
...
Bump llhttp to 75b45129db961e1fb3c56044e1b8f7721bfaee5d
2022-06-21 22:18:02 +09:00
Tatsuhiro Tsujikawa
9800934e19
Bump llhttp to 75b45129db961e1fb3c56044e1b8f7721bfaee5d
2022-06-21 21:52:03 +09:00
Tatsuhiro Tsujikawa
075142ab08
Merge pull request #1737 from nghttp2/bump-libbpf
...
Bump libbpf to v0.8.0
2022-06-21 21:51:31 +09:00
Tatsuhiro Tsujikawa
ab3f86ab36
Bump libbpf to v0.8.0
2022-06-21 21:31:37 +09:00
Tatsuhiro Tsujikawa
ce66ac88c8
Merge pull request #1736 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and nghttp3
2022-06-21 00:09:54 +09:00
Tatsuhiro Tsujikawa
3849337b42
Bump ngtcp2 and nghttp3
2022-06-20 21:52:19 +09:00
Tatsuhiro Tsujikawa
e6cf62664d
Merge pull request #1735 from nghttp2/update-default-tls-ciphers
...
Update default TLS cipher suites
2022-06-20 00:54:58 +09:00
Tatsuhiro Tsujikawa
56ae4124b1
Update default TLS cipher suites
2022-06-20 00:32:43 +09:00
Tatsuhiro Tsujikawa
41aaa47fd0
Merge pull request #1734 from nghttp2/server-change-extpri
...
Allow server to override RFC 9218 stream priority
2022-06-16 20:53:12 +09:00
Tatsuhiro Tsujikawa
ffa50c12b1
Check session side first
2022-06-16 19:50:29 +09:00
Tatsuhiro Tsujikawa
41955b3878
Allow server to override RFC 9218 stream priority
...
Allow server to override RFC 9218 stream priority with
nghttp2_session_change_extpri_stream_priority.
2022-06-16 19:49:53 +09:00
Tatsuhiro Tsujikawa
534284477e
Merge pull request #1733 from nghttp2/nghttpx-no-rfc7540-priorities
...
nghttpx: Disable RFC 7540 priorities
2022-06-16 18:39:34 +09:00
Tatsuhiro Tsujikawa
b646c0a351
Merge pull request #1732 from nghttp2/stream-priority-doc
...
Document how to change stream prioritization scheme
2022-06-16 08:34:01 +09:00
Tatsuhiro Tsujikawa
6429551272
nghttpx: Disable RFC 7540 priorities
...
Disable RFC 7540 priorities in nghttpx. It enables RFC 9218
extensible prioritization scheme. It also enables a mechanism for
server to fallback to RFC 7540 in order to handle the existing clients
which do not implement SETTINGS_NO_RFC7540_PRIORITIES.
2022-06-15 23:43:03 +09:00
Tatsuhiro Tsujikawa
ae2a9695f0
Document how to change stream prioritization scheme
2022-06-15 23:10:44 +09:00
Tatsuhiro Tsujikawa
9698bd530b
Merge pull request #1731 from nghttp2/fallback-rfc7540-pri
...
Add a server option to fallback to RFC 7540 priorities
2022-06-15 08:34:58 +09:00
Tatsuhiro Tsujikawa
8c2386c221
Add a server option to fallback to RFC 7540 priorities
...
Add nghttp2_option_set_server_fallback_rfc7540_priorities. If it is
set to nonzero, and server submits SETTINGS_NO_RFC7540_PRIORITIES = 1,
but it does not receive SETTINGS_NO_RFC7540_PRIORITIES from client,
server falls back to RFC 7540 priorities. Only minimal set of
features are enabled in this fallback case.
2022-06-14 23:47:42 +09:00
Tatsuhiro Tsujikawa
d1e07ab6b7
Merge pull request #1729 from nghttp2/rfc9218-priority-update-frame
...
Add PRIORITY_UPDATE frame support
2022-06-13 21:15:43 +09:00
Tatsuhiro Tsujikawa
b0fbb93022
Add PRIORITY_UPDATE frame support
...
This commit adds PRIORITY_UPDATE frame support. Applying incoming
PRIORITY_UPDATE frame to server push stream is not implemented.
Client can send PRIORITY_UPDATE frame by calling
nghttp2_submit_priority_update.
Server opts to receive PRIORITY_UPDATE frame by the call
nghttp2_option_set_builtin_recv_extension_type(option,
NGHTTP2_PRIORITY_UPDATE), and passing the option to
nghttp2_session_server_new2 or nghttp2_session_server_new3.
2022-06-13 20:04:30 +09:00
Tatsuhiro Tsujikawa
c44caa0580
Merge pull request #1728 from nghttp2/rfc9218-ext-priority
...
Implement RFC 9218 extensible prioritization scheme
2022-06-12 17:32:23 +09:00
Tatsuhiro Tsujikawa
c10a55588b
Implement RFC 9218 extensible prioritization scheme
...
This commit implements RFC 9218 extensible prioritization scheme. It
is enabled when a local endpoint submits
SETTINGS_NO_RFC7540_PRIORITIES = 1. This commit only handles priority
signal in HTTP request header field. Priority header field in
PUSH_PROMISE is not supported.
HTTP messaging must be enabled to take advantage of this
prioritization scheme because HTTP fields are not parsed if HTTP
messaging is disabled.
2022-06-12 16:06:04 +09:00
Tatsuhiro Tsujikawa
4ffb63a737
nghttp2_pq_init never fail
2022-06-11 17:36:48 +09:00
Tatsuhiro Tsujikawa
ac3f846f29
Merge pull request #1727 from nghttp2/host-in-resp-field-section
...
Do not verify host field specific characters for response field
2022-06-11 17:33:44 +09:00
Tatsuhiro Tsujikawa
73b5daddbc
Merge pull request #1725 from nghttp2/no-rfc7540-priorities
...
No rfc7540 priorities
2022-06-11 17:18:24 +09:00
Tatsuhiro Tsujikawa
a26bad3324
Do not verify host field specific characters for response field
...
Do not verify host field specific characters for response field
section because host field in response field section is undefined.
2022-06-11 17:08:51 +09:00
Tatsuhiro Tsujikawa
2c73de5292
Exclude macos + cmake build because of include path issue
2022-06-11 16:50:07 +09:00
Tatsuhiro Tsujikawa
9812a0bc81
Add SETTINGS_NO_RFC7540_PRIORITIES
...
Add SETTINGS_NO_RFC7540_PRIORITIES to disable RFC7540 priorities. If
disabled, streams are served in FIFO.
2022-06-11 16:50:07 +09:00
Tatsuhiro Tsujikawa
8d48686cec
Merge pull request #1724 from nghttp2/compile-with-libressl-3.5
...
Compile with libressl 3.5
2022-06-08 21:28:03 +09:00
Tatsuhiro Tsujikawa
f38d9f8cf6
Compile with libressl >= 3.5
2022-06-08 19:58:12 +09:00
Tatsuhiro Tsujikawa
0d1894ecbb
Disable neverbleed for macos
...
Disable neverbleed for macos because it does not work with libressl
installed on github actions.
2022-06-08 19:46:22 +09:00
Tatsuhiro Tsujikawa
d801a23f91
Merge pull request #1719 from nghttp2/go-update
...
Go update
2022-05-24 22:29:57 +09:00
Tatsuhiro Tsujikawa
24d27977bd
Rearrange imports
2022-05-24 21:56:38 +09:00
Tatsuhiro Tsujikawa
8bbd0363e9
Remove redundant select
2022-05-24 21:53:15 +09:00
Tatsuhiro Tsujikawa
c67dc7ff1d
Refactor serverTester constructor
2022-05-24 21:47:24 +09:00
Tatsuhiro Tsujikawa
0287024e85
Wrap error
2022-05-24 18:53:08 +09:00
Tatsuhiro Tsujikawa
31b5eb597d
Avoid io/ioutil
2022-05-24 18:52:30 +09:00
Tatsuhiro Tsujikawa
26ef62d613
Move runs-on under strategy
2022-05-22 12:22:32 +09:00
Tatsuhiro Tsujikawa
3977be938f
Merge pull request #1718 from nghttp2/bump-ubuntu
...
Bump ubuntu
2022-05-22 11:54:13 +09:00
Tatsuhiro Tsujikawa
fac4dcfc31
Bump ubuntu
2022-05-22 11:23:40 +09:00
Tatsuhiro Tsujikawa
4cd95470d6
IPV6_PMTUDISC_DO
2022-05-19 22:57:34 +09:00
Tatsuhiro Tsujikawa
e224ef45a4
Merge pull request #1716 from nghttp2/optimize-gso
...
Better pack UDP packets in one GSO write
2022-05-16 22:45:11 +09:00
Tatsuhiro Tsujikawa
aacc48662a
Merge pull request #1715 from nghttp2/parallel-build
...
Parallel build
2022-05-16 22:05:36 +09:00
Tatsuhiro Tsujikawa
0c77d6b943
Better pack UDP packets in one GSO write
2022-05-16 22:03:20 +09:00
Tatsuhiro Tsujikawa
9d159596a4
Merge pull request #1714 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and nghttp3
2022-05-16 21:52:09 +09:00
Tatsuhiro Tsujikawa
de8eaf6468
Parallel build
2022-05-16 21:40:08 +09:00
Tatsuhiro Tsujikawa
205e956883
Bump ngtcp2 and nghttp3
2022-05-16 21:22:22 +09:00
Tatsuhiro Tsujikawa
d5733b6beb
Merge pull request #1712 from nghttp2/extra-dist-mruby
...
EXTRA_DIST: List mruby files explicitly
2022-05-15 19:31:03 +09:00
Tatsuhiro Tsujikawa
4cbe74235d
EXTRA_DIST: List mruby files explicitly
2022-05-15 19:05:24 +09:00
Tatsuhiro Tsujikawa
974a614020
Merge pull request #1711 from nghttp2/fix-nproc
...
nproc is not available on macos
2022-05-15 18:11:04 +09:00
Tatsuhiro Tsujikawa
267ce93a7e
nproc is not available on macos
2022-05-15 17:36:53 +09:00
Tatsuhiro Tsujikawa
ae1de00c91
Bump actions/checkout to v3
2022-05-15 15:39:03 +09:00
Tatsuhiro Tsujikawa
a144dc0e59
Merge pull request #1710 from nghttp2/quic-error-handling
...
Quic error handling
2022-05-15 12:45:35 +09:00
Tatsuhiro Tsujikawa
516cf851c3
h2load: Deal with error from ngtcp2_conn_submit_crypto_data
2022-05-15 12:01:07 +09:00
Tatsuhiro Tsujikawa
59d6828848
Slightly simplified error handling for ngtcp2_conn_read_pkt
2022-05-15 11:57:00 +09:00
Tatsuhiro Tsujikawa
76ffd6bf96
nghttpx: Fix build error without mruby
2022-05-14 17:44:53 +09:00
Tatsuhiro Tsujikawa
8ad8d70f62
Merge pull request #1709 from nghttp2/bump-mruby
...
Bump mruby to 3.1.0
2022-05-14 10:36:45 +09:00
Tatsuhiro Tsujikawa
9da4449025
Merge pull request #1708 from nghttp2/bump-neverbleed
...
Bump neverbleed based on the latest head
2022-05-13 23:33:44 +09:00
Tatsuhiro Tsujikawa
0a3e55031d
Bump mruby to 3.1.0
2022-05-13 23:08:27 +09:00
Tatsuhiro Tsujikawa
be9bcdf36e
Bump neverbleed based on the latest head
2022-05-13 22:57:17 +09:00
Tatsuhiro Tsujikawa
c8a032b6f4
Merge pull request #1707 from nghttp2/fix-nghttpd-tls-read-stall
...
nghttpd: Fix TLS read stall
2022-05-08 18:25:58 +09:00
Tatsuhiro Tsujikawa
55cf5ff3da
nghttpd: Fix TLS read stall
2022-05-08 17:52:19 +09:00
Tatsuhiro Tsujikawa
a93cac525e
Merge pull request #1706 from nghttp2/tls13-default-enabled
...
TLSv1.3 is enabled by default
2022-05-08 12:23:22 +09:00
Tatsuhiro Tsujikawa
a20cc23a78
Merge pull request #1705 from nghttp2/nghttp-ktls-fix
...
nghttp: Fix ktls support
2022-05-08 11:56:53 +09:00
Tatsuhiro Tsujikawa
854ef0e839
Merge pull request #1704 from nghttp2/h2load-ktls
...
h2load: Add ktls support
2022-05-08 11:39:16 +09:00
Tatsuhiro Tsujikawa
317e80c239
h2load: Add ktls support
2022-05-08 11:08:34 +09:00
Tatsuhiro Tsujikawa
6f3ba6940e
TLSv1.3 is enabled by default
2022-05-08 11:08:05 +09:00
Tatsuhiro Tsujikawa
7858997c8f
nghttp: Fix ktls support
2022-05-08 11:07:33 +09:00
Tatsuhiro Tsujikawa
1ce55d23a3
Merge pull request #1703 from nghttp2/client-tls-handshake
...
nghttpx: Client always uses simpler TLS handshake
2022-05-08 11:05:57 +09:00
Tatsuhiro Tsujikawa
c13a66d26f
nghttpx: Client always uses simpler TLS handshake
2022-05-08 10:31:55 +09:00
Tatsuhiro Tsujikawa
992181a0de
Merge pull request #1702 from nghttp2/ktls
...
nghttp, nghttpd, nghttpx: Add ktls support
2022-05-07 20:59:11 +09:00
Tatsuhiro Tsujikawa
09344eb1ad
nghttp, nghttpd, nghttpx: Add ktls support
2022-05-07 18:53:59 +09:00
Tatsuhiro Tsujikawa
0f1cba2af5
Bump ngtcp2 and nghttp3 in Dockerfile
2022-05-07 11:22:23 +09:00
Tatsuhiro Tsujikawa
cf78f476b8
Merge pull request #1701 from nghttp2/bump-quictls
...
Bump quictls
2022-05-07 11:20:56 +09:00
Tatsuhiro Tsujikawa
846b0c076f
Bump quictls
2022-05-07 10:54:51 +09:00
Tatsuhiro Tsujikawa
f5757aa18d
Merge pull request #1698 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and nghttp3
2022-04-25 23:18:30 +09:00
Tatsuhiro Tsujikawa
80c09ea4db
Run build on PR
2022-04-25 22:54:18 +09:00
Tatsuhiro Tsujikawa
6b33fa3417
Bump ngtcp2 and nghttp3
2022-04-25 22:52:21 +09:00
Tatsuhiro Tsujikawa
9ba95c9706
Merge pull request #1697 from nghttp2/add-go-mod
...
Add go.mod
2022-04-25 22:51:54 +09:00
Tatsuhiro Tsujikawa
7b14706f03
Add go.mod
2022-04-25 22:28:14 +09:00
Tatsuhiro Tsujikawa
bfd08a46ec
Merge pull request #1695 from nghttp2/fix-perf-regression
...
nghttpx, h2load: Fix QUIC performance regression
2022-04-06 21:08:45 +09:00
Tatsuhiro Tsujikawa
3b84147f45
nghttpx, h2load: Fix QUIC performance regression
2022-04-06 19:42:01 +09:00
Tatsuhiro Tsujikawa
f277dafe1e
Bump macos
2022-04-03 22:03:34 +09:00
Tatsuhiro Tsujikawa
aca0573bed
Bump clang-format to 14
2022-04-03 22:03:34 +09:00
Tatsuhiro Tsujikawa
8d4c9e4345
Merge pull request #1693 from nghttp2/bump-ngtcp2
...
Bump ngtcp2 and nghttp3
2022-04-03 22:02:21 +09:00
Tatsuhiro Tsujikawa
80a93ddaf8
Bump ngtcp2 and nghttp3
2022-04-03 21:27:40 +09:00
Tatsuhiro Tsujikawa
3ab7cf375c
Merge pull request #1689 from nghttp2/bump-quictls
...
Bump quictls
2022-03-25 21:49:16 +09:00
Tatsuhiro Tsujikawa
a3fbd5ad73
Bump quictls
2022-03-25 21:28:31 +09:00
Tatsuhiro Tsujikawa
f2d1cc1a7a
Merge pull request #1685 from nghttp2/nghttpx-affinity-cookie-stickiness
...
nghttpx: Add affinity-cookie-stickiness backend parameter
2022-03-21 18:24:45 +09:00
Tatsuhiro Tsujikawa
5ded01e288
nghttpx: Add affinity-cookie-stickiness backend parameter
2022-03-20 11:30:32 +09:00
Tatsuhiro Tsujikawa
3ec588bb54
Merge pull request #1683 from nghttp2/nghttpx-fix-session-affinity
...
nghttpx: Fix broken session affinity
2022-03-15 21:07:40 +09:00
Tatsuhiro Tsujikawa
470f06e5f6
nghttpx: Fix broken session affinity
...
Session affinity has been broken since
fdcdb21c38 . This commit reverts the
relevant part of the commit to fix the session affinity.
2022-03-15 19:35:49 +09:00
Tatsuhiro Tsujikawa
a10bb832fd
Merge pull request #1680 from nghttp2/fix-stream-stall
...
Fix stream stall when initial window size is decreased
2022-03-13 19:24:32 +09:00
Tatsuhiro Tsujikawa
be16a24fcc
Merge pull request #1682 from nghttp2/http3-amplification
...
nghttpx: Limit CONNECTION_CLOSE and Retry under server amplification …
2022-03-13 18:27:20 +09:00
Tatsuhiro Tsujikawa
2f5ec66a65
nghttpx: Limit CONNECTION_CLOSE and Retry under server amplification limit
2022-03-12 19:48:31 +09:00
Tatsuhiro Tsujikawa
7c3e9152ce
Merge pull request #1681 from nghttp2/no-app-libs-check
...
Do not check application libraries if --enable-lib-only is given
2022-03-12 19:44:45 +09:00
Tatsuhiro Tsujikawa
37ad3462d2
Do not check application libraries if --enable-lib-only is given
2022-03-12 19:24:04 +09:00
Tatsuhiro Tsujikawa
129daeff6f
Fix stream stall when initial window size is decreased
...
Fix the bug that causes a stream to stall when a receiver, which
enables nghttp2_option_set_no_auto_window_update() option on, sends
SETTINGS_INITIAL_WINDOW_SIZE with the value that is less than or equal
to the amount of data received. Previously, in this particular case,
when SETTINGS is acknowledged by the sender, the receiver does not try
to send WINDOW_UPDATE frame. The sender is unable to send more data
because its stream-level window size is smaller than or equal to the
amount of data it has sent.
2022-03-12 17:05:42 +09:00
Tatsuhiro Tsujikawa
072784c9ee
Bump ngtcp2
2022-02-28 19:07:33 +09:00
Tatsuhiro Tsujikawa
89431f1727
Bump package version to 1.48.0-DEV
2022-02-23 17:15:04 +09:00
Tatsuhiro Tsujikawa
d9f580c3cb
Update doc
...
Bring back clang because we need it to compile bpf program.
2022-02-23 17:08:04 +09:00
Tatsuhiro Tsujikawa
f6b05a0111
Update doc
2022-02-23 17:01:00 +09:00
Tatsuhiro Tsujikawa
0353da4605
Update bash_completion
2022-02-23 16:49:24 +09:00
Tatsuhiro Tsujikawa
039ff29a2f
Update manual pages
2022-02-23 16:49:04 +09:00
Tatsuhiro Tsujikawa
385a28c7f1
Update doc
...
rlimit-memlock is not required anymore.
2022-02-23 16:46:56 +09:00
Tatsuhiro Tsujikawa
89e49f1066
Dockerfile: Pin ngtcp2 and nghttp3 versions
2022-02-23 16:41:17 +09:00
Tatsuhiro Tsujikawa
abd6bb6818
Bump package and library versions
2022-02-23 16:25:44 +09:00
Tatsuhiro Tsujikawa
ad2fbea087
Update AUTHORS
2022-02-23 16:23:58 +09:00
Tatsuhiro Tsujikawa
47cc36969a
Bump libbpf in Dockerfile
2022-02-21 22:18:25 +09:00
Tatsuhiro Tsujikawa
830cf1e294
Bump libbpf to v0.7.0 and turn on all strict features
2022-02-21 22:06:30 +09:00
Tatsuhiro Tsujikawa
a22f2cfcc8
Bump ngtcp2 and nghttp3
2022-02-19 18:14:18 +09:00
Tatsuhiro Tsujikawa
f3d4b4f846
nghttpx: Fix bug that h3 stream ends prematurely
2022-02-18 23:08:47 +09:00
Tatsuhiro Tsujikawa
a6537cb9ce
Fix compile error
2022-02-12 11:45:24 +09:00
Tatsuhiro Tsujikawa
79524471b4
nghttpx: Add --require-http-scheme option
2022-02-12 11:39:52 +09:00
Tatsuhiro Tsujikawa
a67822b382
Bump llhttp to v6.0.6
2022-02-10 21:53:23 +09:00
Tatsuhiro Tsujikawa
79da3fdedc
Revert "Bump llhttp to 836430e892862ed6462f6197417eba8e17378956"
...
This reverts commit b5d74d7c9d .
2022-02-10 21:51:18 +09:00
Tatsuhiro Tsujikawa
b5d74d7c9d
Bump llhttp to 836430e892862ed6462f6197417eba8e17378956
2022-02-10 21:34:15 +09:00
Tatsuhiro Tsujikawa
385abf10f7
nghttpx: Add support QUIC BBR2
2022-02-10 19:45:30 +09:00
Tatsuhiro Tsujikawa
f3206b12d5
Update doc
2022-02-10 19:38:23 +09:00
Tatsuhiro Tsujikawa
b70fdca9ac
h2load: Handle EAGAIN/EWOULDBLOCK from sendmsg
2022-02-10 19:35:50 +09:00
Tatsuhiro Tsujikawa
bd3cc94a36
Use nullptr for C++ code
2022-02-10 18:56:19 +09:00
Tatsuhiro Tsujikawa
02f2336ab1
Bump libbpf to v0.6.1
2022-02-09 19:03:13 +09:00
Tatsuhiro Tsujikawa
832d811982
Remove appveyor.yml
2022-02-08 20:21:23 +09:00
Tatsuhiro Tsujikawa
637f3d7b33
Windows build on GitHub Actions
2022-02-08 19:16:32 +09:00
Tatsuhiro Tsujikawa
254f2b3c42
Remove macos + gcc ci build to speed up ci build time
2022-02-08 19:14:45 +09:00
Tatsuhiro Tsujikawa
633691e164
Remove .travis.yml
2022-02-08 19:13:50 +09:00
Tatsuhiro Tsujikawa
01bcc72f66
nghttpx: Handle EAGAIN/EWOULDBLOCK from sendmsg
2022-02-03 22:20:58 +09:00
Tatsuhiro Tsujikawa
7ca255ff54
Fix docker build error
2022-02-02 22:55:19 +09:00
Tatsuhiro Tsujikawa
6430c98e86
Compile with the latest ngtcp2
2022-02-02 19:19:00 +09:00
Tatsuhiro Tsujikawa
32c2557bb7
Bump nghttp3
2022-01-26 22:58:50 +09:00
Tatsuhiro Tsujikawa
3122a83900
h2load: Set quic error code based on error from ngtcp2_conn_read_pkt
2022-01-23 23:47:40 +09:00
Tatsuhiro Tsujikawa
75272a817e
h2load: Fix ngtcp2 callback error code
2022-01-23 23:47:29 +09:00
Tatsuhiro Tsujikawa
809d5af43e
nghttpx: Fix invalid error code
2022-01-23 22:30:46 +09:00
Tatsuhiro Tsujikawa
3b549caf90
clang-format
2022-01-23 22:30:46 +09:00
Tatsuhiro Tsujikawa
42b659354d
nghttpx: Support h3 trailer fields
2022-01-23 22:30:46 +09:00
Tatsuhiro Tsujikawa
2275327794
nghttpx: Fix the issue that forwarded h3 GET request always has chunked TE
2022-01-23 21:36:35 +09:00
Tatsuhiro Tsujikawa
02a5649343
Require ngtcp2 >= 0.1.0 and nghttp3 >= 0.1.0
2022-01-23 18:34:59 +09:00
Tatsuhiro Tsujikawa
3b0b9a458c
Build docker image with ngtcp2 v0.1.0
2022-01-22 18:17:30 +09:00
Tatsuhiro Tsujikawa
6e6388e7c2
Depend on nghttp3 v0.1.1
2022-01-22 18:17:09 +09:00
Tatsuhiro Tsujikawa
ea6f0c641d
Merge pull request #1643 from nwtgck/fix-example-quotes
...
fix quotes in --altsvc example
2022-01-19 19:01:53 +09:00
Tatsuhiro Tsujikawa
c883b18f2d
Pin quic dependency
2022-01-16 22:00:27 +09:00
Tatsuhiro Tsujikawa
97e69f7416
Merge branch 'rex4539-typos'
2022-01-16 21:54:15 +09:00
Dimitris Apostolou
ad0c9eebf7
Fix typos
2022-01-16 21:53:44 +09:00
Tatsuhiro Tsujikawa
8a552631b4
Merge pull request #1667 from nghttp2/keep-hd-table-size
...
Fix decoder table size update
2022-01-11 20:53:08 +09:00
Tatsuhiro Tsujikawa
cff8106908
Merge pull request #1665 from c0bw3b/cleanup/spdy
...
Remove SPDY option for CMake
2022-01-11 20:14:37 +09:00
Tatsuhiro Tsujikawa
4eb49ac28e
Merge pull request #1666 from Kludex/patch-1
...
Update nghttp2.pyx
2022-01-11 20:13:43 +09:00
Tatsuhiro Tsujikawa
deb390cf85
Fix decoder table size update
...
When applying new header table size acknowledged with SETTINGS ACK by
an encoder, change the header table size on a decoder only when it
strictly lowers the current maximum table size set by Dynamic Table
Size Update from the encoder or the default size 4096 if no Dynamic
Table Size Update is received.
Previously, the header table size on a decoder is always changed. If
a maximum size in SETTINGS are increased (e.g., 4096 -> 8192), and
then decreased to the previous value, the decoder incorrectly requires
Dynamic Table Size Update from an encoder.
2022-01-11 19:50:45 +09:00
Tatsuhiro Tsujikawa
d91ae6987d
Compile with the latest ngtcp2
2022-01-11 19:40:26 +09:00
Marcelo Trylesinski
8ddb2273b9
Update nghttp2.pyx
2022-01-01 19:18:14 +01:00
Renaud
e1446fd57a
Remove SPDY option for CMake
...
SPDY feature removed in #1091 and release v1.29.0
2022-01-01 15:21:59 +01:00
Tatsuhiro Tsujikawa
02e6cad121
Bump quictls/openssl versions
2021-12-19 20:44:45 +09:00
Tatsuhiro Tsujikawa
0b053e06d8
Merge pull request #1657 from nwtgck/patch-2
...
Make Docker speak HTTP/3
2021-12-13 18:00:18 +09:00
Ryo Ota
c3c0403dfa
Make Docker speak HTTP/3
2021-12-12 23:16:10 +09:00
Ryo Ota
abc15c696d
fix quotes in --altsvc example
2021-11-18 09:12:05 +09:00
Tatsuhiro Tsujikawa
344d300cf9
Fix cmake CI build
2021-11-16 22:09:48 +09:00
Tatsuhiro Tsujikawa
dec233b9ef
cmake: Disable libbpf build by default
2021-11-16 22:03:30 +09:00
Tatsuhiro Tsujikawa
f695dc999b
Merge branch 'robaho-robaho/issue1639'
2021-11-14 16:43:23 +09:00
robaho
f92f81c05a
allow setting max frame size for h2load
2021-11-14 16:43:01 +09:00
Tatsuhiro Tsujikawa
3c4449c046
nghttpx: Use nghttp3 error code
2021-11-10 19:18:48 +09:00
Tatsuhiro Tsujikawa
918e4ea46b
Compile with the latest ngtcp2
2021-11-09 15:44:06 +09:00
Tatsuhiro Tsujikawa
d14d97ab68
Rename send_stop_sending to stop_sending
2021-11-09 11:13:23 +09:00
Tatsuhiro Tsujikawa
2aed077761
Merge fd_set_recv_ecn to create_quic_server_socket and handle errors
2021-11-06 17:19:02 +09:00
Tatsuhiro Tsujikawa
68b2295f4e
nghttpx: Set IP_PMTUDISC_DO explicitly
2021-11-06 17:12:43 +09:00
Tatsuhiro Tsujikawa
528d177847
nghttpx: Fix compile error
2021-11-06 00:16:53 +09:00
Tatsuhiro Tsujikawa
deae6c95b1
nghttpx: Send ECN
2021-11-05 23:23:00 +09:00
Tatsuhiro Tsujikawa
7eb179069d
Remove useless assignments
2021-11-05 22:51:36 +09:00
Tatsuhiro Tsujikawa
47c33b8d03
nghttpx: Receive ECN
2021-11-05 20:57:24 +09:00
Tatsuhiro Tsujikawa
94372fbe2a
Merge branch 'bagder-version-h3-too'
2021-11-05 18:39:09 +09:00
Daniel Stenberg
9e154297ff
shrpx: make nghttpx -v show ngtcp2 and nghttp3 version as well
...
... if HTTP/3 support is built in.
2021-11-05 18:38:39 +09:00
Tatsuhiro Tsujikawa
c4828dbd7c
h2load: Fix assertion failure with the latest ngtcp2
2021-11-03 21:23:26 +09:00
Tatsuhiro Tsujikawa
0d16db2c65
Use quictls 1.1.1l for now because 3.0.0 is much slower
2021-10-30 18:09:18 +09:00
Tatsuhiro Tsujikawa
fb63ef305d
Update doc
2021-10-30 18:09:06 +09:00
Tatsuhiro Tsujikawa
089fc81d72
Change qlog file extension to .sqlog
...
Change qlog file extension to .sqlog because upstream ngtcp2 moves to
JSON-SEQ streaming qlog format.
2021-10-29 21:59:54 +09:00
Tatsuhiro Tsujikawa
c20d175ff2
Guard RLIMIT_MEMLOCK usage
2021-10-29 21:39:17 +09:00
Tatsuhiro Tsujikawa
3985957c4d
Merge pull request #1625 from codebytere/fix-unreachable-return
...
chore: fix `-Wunreachable-code-return`
2021-10-29 21:35:44 +09:00
Tatsuhiro Tsujikawa
845a20b582
Bump version number to 1.47.0-DEV
2021-10-19 18:59:58 +09:00
Tatsuhiro Tsujikawa
7af0c508be
Update manual pages
2021-10-19 18:29:19 +09:00
Tatsuhiro Tsujikawa
f8474b25f0
nghttpx: Reduce dgram size if sendmsg fails with EINVAL or EMSGSIZE
2021-10-18 22:37:16 +09:00
Tatsuhiro Tsujikawa
15a8d913ea
examples/client: Enable ALPN
2021-10-17 17:25:18 +09:00
Tatsuhiro Tsujikawa
65d3c9047f
Replace TLSv23_method with TLS_method
2021-10-17 17:21:09 +09:00
Tatsuhiro Tsujikawa
8c36971ea9
Compile with OPENSSL_NO_DEPRECATED and fix memory leaks
2021-10-17 17:12:14 +09:00
Tatsuhiro Tsujikawa
ba1dff187b
Update bash_completion
2021-10-17 14:52:55 +09:00
Tatsuhiro Tsujikawa
8ecacc8ed2
Update manual pages
2021-10-17 14:52:36 +09:00
Tatsuhiro Tsujikawa
9d41896663
nghttpx: Rename --frontend-quic-server-id to --quic-server-id
2021-10-17 14:48:46 +09:00
Tatsuhiro Tsujikawa
18d4a9e4ff
Update bash_completion
2021-10-17 14:30:27 +09:00
Tatsuhiro Tsujikawa
1745a30644
Update manual pages
2021-10-17 14:30:27 +09:00
Tatsuhiro Tsujikawa
0cc7c598ff
src: TLS_DEFAULT_CIPHERSUITES was deprecated in OpenSSL 3.0.0
2021-10-17 14:30:27 +09:00
Tatsuhiro Tsujikawa
8c4fbb86d8
Bump version number to 1.46.0, LT revision to 35:1:21
2021-10-17 14:00:37 +09:00
Tatsuhiro Tsujikawa
693431312c
Fix cmake build
2021-10-15 23:39:44 +09:00
Tatsuhiro Tsujikawa
f3fca2a19a
Update doc
2021-10-15 23:24:23 +09:00
Tatsuhiro Tsujikawa
1ce9efc644
nghttpx: Set SCT data when built with boringssl
2021-10-15 23:06:24 +09:00
Tatsuhiro Tsujikawa
7055501efd
src: Enable HTTP/3 with boringssl
2021-10-15 22:50:34 +09:00
Tatsuhiro Tsujikawa
c790ee64a4
src: Prefer #ifdef for a single condition
2021-10-15 22:50:26 +09:00
Tatsuhiro Tsujikawa
9fb05d5ea2
Fix compile error under mac os
2021-10-15 19:54:08 +09:00
Tatsuhiro Tsujikawa
3742acaf39
nghttpx: Fix wrong SSL_CTX object usage
2021-10-15 18:19:07 +09:00
Tatsuhiro Tsujikawa
d8282de229
nghttpx: Respect !tls-no-postpone-early-data with boringssl
2021-10-15 00:13:49 +09:00
Tatsuhiro Tsujikawa
3a721a9dd5
nghttpx: Send session ticket after handshake with boringssl
2021-10-15 00:13:49 +09:00
Tatsuhiro Tsujikawa
0b6092446b
src: Compile with boringssl for non-http3 build
2021-10-14 23:44:27 +09:00
Shelley Vohr
59a76c6d39
chore: fix -Wunreachable-code-return
2021-10-11 12:56:23 +02:00
Tatsuhiro Tsujikawa
fa7a916ef3
nghttpx: Store initial_rtt in ev_tstamp for consistency
2021-10-10 17:34:58 +09:00
Tatsuhiro Tsujikawa
69c4187100
nghttpx: Add --frontend-quic-initial-rtt option
2021-10-10 17:24:02 +09:00
Tatsuhiro Tsujikawa
07128719c4
Workaround broken version check in AX_PYTHON_DEVEL
2021-10-10 16:52:05 +09:00
Tatsuhiro Tsujikawa
7471fa627d
Update ax_python_devel.m4
2021-10-10 16:08:49 +09:00
Tatsuhiro Tsujikawa
d7af5924ff
nghttpx: Extend QUIC server ID to 4 bytes
2021-10-10 16:05:48 +09:00
Tatsuhiro Tsujikawa
a48e9d3d80
Add bpf to clang-format
2021-10-06 21:29:15 +09:00
Tatsuhiro Tsujikawa
474a6db00c
Compile with gcc
2021-10-06 21:28:17 +09:00
Tatsuhiro Tsujikawa
cb6aea9aa9
Compile with -DNDEBUG
2021-10-06 21:28:00 +09:00
Tatsuhiro Tsujikawa
f4290c6497
Fix compile error
2021-10-04 23:23:03 +09:00
Tatsuhiro Tsujikawa
086b85b8f9
nghttpx: Unload BPF program after setting up all QUIC listeners
2021-10-04 22:39:31 +09:00
Tatsuhiro Tsujikawa
abee658a60
nghttpx: Make sure that ngtcp2_conn_update_pkt_tx_time is called
2021-10-02 19:22:53 +09:00
Tatsuhiro Tsujikawa
87bdc21667
nghttpx: Add --worker-process-grace-shutdown-period option
2021-10-02 18:55:51 +09:00
Tatsuhiro Tsujikawa
3e25ee8181
256k memlock is not enough when reloading happens
2021-09-29 22:16:39 +09:00
Tatsuhiro Tsujikawa
0266c458a3
nghttpx: Add --max-worker-processes option
2021-09-29 22:12:10 +09:00
Tatsuhiro Tsujikawa
d9c7631dcb
Fix compile error
2021-09-29 21:05:46 +09:00
Tatsuhiro Tsujikawa
df064fa2ba
nghttpx: Unload BPF objects on reload to avoid running out of memlock
2021-09-29 19:33:16 +09:00
Tatsuhiro Tsujikawa
318e0c8447
Guard msghdr_get_local_addr with ENABLE_HTTP3 macro
2021-09-28 22:35:53 +09:00
Tatsuhiro Tsujikawa
17d5503bf2
Update doc
2021-09-28 18:07:31 +09:00
Tatsuhiro Tsujikawa
19b4da6401
nghttpx: Support h3-29
2021-09-26 16:00:47 +09:00
Tatsuhiro Tsujikawa
886dc93f18
nghttpx: Fail h3 connection attempt if no ALPN is negotiated
2021-09-26 16:00:47 +09:00
Tatsuhiro Tsujikawa
407df2822e
Remove check for UDP_SEGMENT
...
Check for UDP_SEGMENT is for debian 10, but now that we have debian
11, remove the check because it breaks cross-build.
2021-09-26 10:29:05 +09:00
Tatsuhiro Tsujikawa
f6da0d342a
nghttpx: Fix crash if no keying materials are specified in file
2021-09-24 18:19:01 +09:00
Tatsuhiro Tsujikawa
7271537a15
nghttpx: Add --rlimit-memlock option
2021-09-24 18:13:38 +09:00
Tatsuhiro Tsujikawa
d0e8efac4d
nghttpx: Fix bug that reading QUIC secret file fails without line separator
2021-09-24 17:50:28 +09:00
Tatsuhiro Tsujikawa
27e6d56d83
Update doc
2021-09-23 12:02:19 +09:00
Tatsuhiro Tsujikawa
c5122c12cb
Update bash_completion
2021-09-23 11:45:23 +09:00
Tatsuhiro Tsujikawa
282050c596
Update manual pages
2021-09-23 11:45:10 +09:00
Tatsuhiro Tsujikawa
308c73bfa2
nghttpx: Read QUIC keying materials from file
...
Add --frontend-quic-secret-file to read QUIC keying materials from
file. --frontend-quic-connection-id-encryption-key was removed in
favor of this new option.
2021-09-23 11:18:07 +09:00
Tatsuhiro Tsujikawa
c40309ae8e
nghttpx: optarg should be allocated per configuration
2021-09-23 11:01:01 +09:00
Tatsuhiro Tsujikawa
1c7a4ecc7f
nghttpx: Rename generate_encrypted_quic_connection_id to generate_quic_connection_id
2021-09-21 23:09:03 +09:00
Tatsuhiro Tsujikawa
80cc623eb2
nghttpx: Allocate server id in Connection ID
2021-09-21 23:08:55 +09:00
Tatsuhiro Tsujikawa
89457fd991
More https
2021-09-21 20:40:57 +09:00
Tatsuhiro Tsujikawa
257043b8fb
Fix issue that libev cannot be found with autotools under mac osx
2021-09-21 19:49:56 +09:00
Tatsuhiro Tsujikawa
657d94b992
Fix compile error with libressl
2021-09-21 19:48:38 +09:00
Tatsuhiro Tsujikawa
06dc7d5964
Make sure that nghttp2 can be built from tar archive
2021-09-21 19:48:34 +09:00
Tatsuhiro Tsujikawa
b50079524b
Always include optional files to EXTRA_DIST
2021-09-21 19:26:28 +09:00
Tatsuhiro Tsujikawa
cdf1f269ff
Add missing cmake files to EXTRA_DIST
2021-09-21 17:53:15 +09:00
Tatsuhiro Tsujikawa
738b562f39
Bump up version number to 1.46.0-DEV
2021-09-20 17:52:07 +09:00
Tatsuhiro Tsujikawa
58499f256b
Update bash_completion
2021-09-20 17:07:58 +09:00
Tatsuhiro Tsujikawa
afb455ef80
python3
2021-09-20 17:07:44 +09:00
Tatsuhiro Tsujikawa
f4515e9034
Update manual pages
2021-09-20 17:02:54 +09:00
Tatsuhiro Tsujikawa
aab07d00d7
Bump version number to 1.45.0, LT revision to 35:0:21
2021-09-20 16:58:28 +09:00
Tatsuhiro Tsujikawa
32ecfc6a86
Use https
2021-09-20 16:54:47 +09:00
Tatsuhiro Tsujikawa
e866f9fae7
Update AUTHORS
2021-09-20 16:53:55 +09:00
Tatsuhiro Tsujikawa
a029f6ed2c
Rename sphinxcontrib to rubydomain to avoid module loading error
...
Rename sphinxcontrib to rubydomain to avoid module loading error when
sphinx-build docker image is used.
2021-09-20 13:43:40 +09:00
Tatsuhiro Tsujikawa
5b6e2cb5e0
Allow SPHINXBUILD to be overridden by environment variable
2021-09-20 12:19:26 +09:00
Tatsuhiro Tsujikawa
0264847a37
bpf: Use LINUX_KERNEL_VERSION extern variable
2021-09-19 21:07:40 +09:00
Tatsuhiro Tsujikawa
d276ca0adc
Update doc
2021-09-18 19:28:03 +09:00
Tatsuhiro Tsujikawa
6a099ee50a
nghttpx: QUIC requires TLS
2021-09-18 19:27:47 +09:00
Tatsuhiro Tsujikawa
be88846972
Build HTTP/3 and eBPF enabled nghttpx with Dockerfile
2021-09-18 18:08:40 +09:00
Tatsuhiro Tsujikawa
9a6b623c25
Update doc
2021-09-18 15:19:15 +09:00
Tatsuhiro Tsujikawa
97b36b8c74
make -C
2021-09-17 23:57:26 +09:00
Tatsuhiro Tsujikawa
0df332e7b8
Update doc
2021-09-17 23:53:35 +09:00
Tatsuhiro Tsujikawa
2d7e6fbb11
Update doc
2021-09-17 21:21:42 +09:00
Tatsuhiro Tsujikawa
fd107ab47c
nghttpx: Refactor quic
2021-09-17 19:35:31 +09:00
Tatsuhiro Tsujikawa
1320d7efab
nghttpx: Do not accept new connection during graceful shutdown period
2021-09-17 18:30:16 +09:00
Tatsuhiro Tsujikawa
7cdc6cfa6d
nghttpx: Store Retry in CloseWait to rate limit its transmission
2021-09-17 17:52:05 +09:00
Tatsuhiro Tsujikawa
095ee9683d
integration: Adds tests for chunked response
2021-09-16 22:37:33 +09:00
Tatsuhiro Tsujikawa
1e2081a1c5
Fix integration test error
2021-09-16 22:24:53 +09:00
Tatsuhiro Tsujikawa
e167e07a9a
nghttpx: Check that HTTP response message finished safely
2021-09-16 22:00:36 +09:00
Tatsuhiro Tsujikawa
f3b9cd8404
bpf: Add workaround for ubuntu 20.04
2021-09-16 20:20:02 +09:00
Tatsuhiro Tsujikawa
8f9744c07b
nghttpx: Pass hashed_scid_ to CloseWait
2021-09-15 23:40:46 +09:00
Tatsuhiro Tsujikawa
684a219e39
nghttpx: Tweak close wait handling
2021-09-15 23:07:46 +09:00
Tatsuhiro Tsujikawa
e2e6d827c7
Update bash_completion
2021-09-15 22:55:38 +09:00
Tatsuhiro Tsujikawa
f0108ece6f
Update manual pages
2021-09-15 22:55:21 +09:00
Tatsuhiro Tsujikawa
789b7a5ff1
Update doc
2021-09-15 22:50:47 +09:00
Tatsuhiro Tsujikawa
0961295a82
nghttpx: Transform odcid into hashed cid
2021-09-15 22:19:52 +09:00
Tatsuhiro Tsujikawa
fd060eb9f1
nghttpx: Connection ID encryption
2021-09-15 21:31:03 +09:00
Tatsuhiro Tsujikawa
1feeda4514
nghttpx: Fix bug that worker process never exit
2021-09-15 21:00:41 +09:00
Tatsuhiro Tsujikawa
6d29de0f1e
Fix compile error
2021-09-14 17:22:25 +09:00
Tatsuhiro Tsujikawa
74162850f0
nghttpx: Compile with the latest nghttp3
2021-09-14 16:45:11 +09:00
Tatsuhiro Tsujikawa
8903bd1e8a
nghttpx: Deal with error from ngtcp2_conn_read_pkt
2021-09-13 23:09:38 +09:00
Tatsuhiro Tsujikawa
4b79a4a10d
Add message when checking UDP_SEGMENT in linux/udp.h
2021-09-13 21:46:41 +09:00
Tatsuhiro Tsujikawa
8f419a4869
nghttpx: Add --frontend-quic-congestion-controller option
2021-09-13 21:35:46 +09:00
Tatsuhiro Tsujikawa
fcdac50f79
Should run program
2021-09-13 21:19:18 +09:00
Tatsuhiro Tsujikawa
4541134c88
Add missing include
2021-09-13 21:19:00 +09:00
Tatsuhiro Tsujikawa
b5e5972c2a
Update doc
2021-09-12 18:11:11 +09:00
Tatsuhiro Tsujikawa
525d59fdf6
Remove util::make_hostport returning std::string
2021-09-12 18:07:54 +09:00
Tatsuhiro Tsujikawa
00f65afe20
nghttpx: Fix incorrect quic frontend address matching
2021-09-12 18:07:54 +09:00
Tatsuhiro Tsujikawa
fc402f5804
Cleanup
2021-09-12 16:55:56 +09:00
Tatsuhiro Tsujikawa
f74b6d9a43
nghttpx: Add --frontend-quic-require-token option
2021-09-12 15:04:54 +09:00
Tatsuhiro Tsujikawa
ccaf2333ca
nghttpx: Enable websocket over h3
2021-09-11 17:56:25 +09:00
Tatsuhiro Tsujikawa
0066bf8eed
h2load: Cleanup
2021-09-11 17:00:11 +09:00
Tatsuhiro Tsujikawa
bc8f88f5fa
Compile with the latest ngtcp2
2021-09-11 16:57:14 +09:00
Tatsuhiro Tsujikawa
10c9d917ad
Fix compile error
2021-09-10 22:55:33 +09:00
Tatsuhiro Tsujikawa
cc5f752f2d
nghttpx: Use secure random to create websocket nonce
2021-09-10 22:43:03 +09:00
Tatsuhiro Tsujikawa
39b1a51ff4
Compile with the latest ngtcp2
2021-09-09 23:41:27 +09:00
Tatsuhiro Tsujikawa
a2e2e46af3
Build with OpenSSL v3.0.0
2021-09-09 18:35:35 +09:00
Tatsuhiro Tsujikawa
9d53a7e0a6
Fix compile error
2021-09-07 14:55:30 +09:00
Tatsuhiro Tsujikawa
7ea57eaa18
h2load: Add --max-udp-payload-size option
2021-09-07 14:42:35 +09:00
Tatsuhiro Tsujikawa
1657a425c1
Build with the latest ngtcp2
2021-09-07 13:40:41 +09:00
Tatsuhiro Tsujikawa
e929e92245
nghttpx: Fix typo
2021-09-06 20:59:11 +09:00
Tatsuhiro Tsujikawa
5994e48b28
nghttpx: Add more logging for token validation
2021-09-06 20:58:35 +09:00
Tatsuhiro Tsujikawa
50662c9c9e
nghttpx: Guard TLS1_3_VERSION
2021-09-06 20:07:38 +09:00
Tatsuhiro Tsujikawa
addd614e94
nghttpx: Add qlog support
2021-09-06 20:06:38 +09:00
Tatsuhiro Tsujikawa
fbb228050a
nghttpx: Fix uninitialized dnf fields
2021-09-06 00:12:04 +09:00
Tatsuhiro Tsujikawa
9bda8e266e
nghttpx: Remove BoringSSL early data for QUIC for now
2021-09-05 22:37:20 +09:00
Tatsuhiro Tsujikawa
d977005126
nghttpx: Disable session cache for QUIC since it solely uses ticket
2021-09-05 22:36:43 +09:00
Tatsuhiro Tsujikawa
8b579bc7d0
nghttpx: Always renew TLS ticket for TLSv1.3
2021-09-05 22:26:45 +09:00
Tatsuhiro Tsujikawa
ab16a11aa3
nghttpx: Add --frontend-quic-early-data, disable early data by default
2021-09-05 21:39:45 +09:00
Tatsuhiro Tsujikawa
85347e12de
nghttpx: Rate limit Stateless Reset transmission
2021-09-05 19:23:50 +09:00
Tatsuhiro Tsujikawa
67afbbbaa6
nghttpx: Use ngtcp2_cid as a hash key
2021-09-05 19:00:26 +09:00
Tatsuhiro Tsujikawa
b743ee21f0
nghttpx: Implement closing and draining state
2021-09-05 18:01:27 +09:00
Tatsuhiro Tsujikawa
72702a042e
Cleanup
2021-09-05 17:47:50 +09:00
Tatsuhiro Tsujikawa
649c69fa9e
nghttpx: Do not send CONNECTION_CLOSE on idle timeout
2021-09-04 19:04:22 +09:00
Tatsuhiro Tsujikawa
9fd0b87925
Add missing APIDOCS entry
2021-09-04 18:41:13 +09:00
Tatsuhiro Tsujikawa
1c7a001489
bpf: Take into account entire DCID
2021-09-04 18:31:21 +09:00
Tatsuhiro Tsujikawa
47edc33b0d
nghttpx: Use ULOG
2021-09-04 17:48:02 +09:00
Tatsuhiro Tsujikawa
2afad0c650
nghttpx: Use ngtcp2_conn_get_client_initial_dcid
2021-09-04 17:43:24 +09:00
Tatsuhiro Tsujikawa
fb53a6a686
Follow the latest ngtcp2 change
2021-09-04 17:37:00 +09:00
Tatsuhiro Tsujikawa
31b5b78dc1
Use switch to avoid many if-else-if
2021-09-04 17:35:33 +09:00
Tatsuhiro Tsujikawa
2f941c7fb3
Update doc
2021-09-04 17:32:57 +09:00
Tatsuhiro Tsujikawa
ba483b4032
Update doc
2021-09-04 17:30:06 +09:00
Tatsuhiro Tsujikawa
977b0ceee4
make clang-format
2021-09-04 17:27:43 +09:00
Tatsuhiro Tsujikawa
fcc20334da
Merge pull request #1613 from mkauf/check_pseudo_header_chars
...
Stricter checks for pseudo-headers :method and :path
2021-09-04 17:26:47 +09:00
Michael Kaufmann
83c063346d
Stricter checks for pseudo-headers :method and :path
...
Check the allowed characters for ":method" (see RFC 7230, section 3.2.6) and
":path". For ":path", the space and tab characters are now forbidden, but
other special characters are still allowed for compatibility reasons.
Update genvchartbl.py so that it generates the same table as in the code.
Fixes #1611
2021-08-31 21:47:35 +02:00
Tatsuhiro Tsujikawa
c2e29ad06f
nghttpx: Enforce worker-frontend-connections for QUIC
2021-08-31 19:48:26 +09:00
Tatsuhiro Tsujikawa
9194d40da7
Update bash_completions
2021-08-31 19:24:41 +09:00
Tatsuhiro Tsujikawa
002073ef57
Update manual pages
2021-08-31 19:24:41 +09:00
Tatsuhiro Tsujikawa
ef3066a1bd
nghttpx: Update doc
2021-08-31 19:24:41 +09:00
Tatsuhiro Tsujikawa
65db5b94e4
nghttpx: Document "quic" parameter
2021-08-31 19:24:41 +09:00
Tatsuhiro Tsujikawa
3122038c48
Add HTTP/3 documentation
2021-08-31 19:24:41 +09:00
Tatsuhiro Tsujikawa
54fd0efdfe
nghttpx: Return error if quic param is specified when quic is disabled
2021-08-31 17:15:44 +09:00
Tatsuhiro Tsujikawa
f0d1e50d5a
cmake: Build bpf
2021-08-31 17:15:37 +09:00
Tatsuhiro Tsujikawa
a87ea20b7c
configure: Avoid compile failure
2021-08-31 16:49:55 +09:00
Tatsuhiro Tsujikawa
8e7e40d0cc
bpf: Remove redundant -g
2021-08-31 16:49:55 +09:00
Tatsuhiro Tsujikawa
de4d4f6609
Fix cmake Systemd warning
2021-08-31 16:49:55 +09:00
Tatsuhiro Tsujikawa
e01d61484d
Fix compile error with cmake
2021-08-31 16:49:55 +09:00
Tatsuhiro Tsujikawa
51f83087f2
nghttpx: Add missing HTTP/3 timer handling
2021-08-31 14:19:31 +09:00
Tatsuhiro Tsujikawa
17012654e1
nghttpx: Add HTTP/3 graceful shutdown
2021-08-31 14:06:59 +09:00
Tatsuhiro Tsujikawa
e998d125ab
nghttpx: Send CONNECTION_CLOSE if Retry token validation failed
2021-08-31 13:23:52 +09:00
Tatsuhiro Tsujikawa
95601d3179
nghttpx: Utilize the latest ngtcp2 features
2021-08-31 12:13:06 +09:00
Tatsuhiro Tsujikawa
0566a5833b
nghttpx: Fix infinite loop
2021-08-30 18:39:28 +09:00
Tatsuhiro Tsujikawa
c50459b81a
bpf: use __builtin_memcpy explicitly to build under ubuntu 20.04
2021-08-30 18:34:26 +09:00
Tatsuhiro Tsujikawa
0e52cf76eb
bpf: Add -g flag by default
2021-08-30 18:33:27 +09:00
Tatsuhiro Tsujikawa
0baf725073
Remove unneeded include files
2021-08-30 18:32:58 +09:00
Tatsuhiro Tsujikawa
e77fd7ddb9
Build libbpf on CI
2021-08-29 22:08:42 +09:00
Tatsuhiro Tsujikawa
e5cb5dca61
Fix reuseport_kern.c to work under ubuntu 20.04
2021-08-29 21:09:27 +09:00
Tatsuhiro Tsujikawa
7941b559c5
Fix libbpf configure help message
2021-08-29 21:08:41 +09:00
Tatsuhiro Tsujikawa
58d81dbc52
nghttpx: Send Stateless Reset in response to Short packet only for now
2021-08-29 21:08:41 +09:00
Tatsuhiro Tsujikawa
2b4dc4496f
nghttpx: Forward QUIC UDP datagram to lingering worker in graceful shutdown
...
Forward QUIC UDP datagram to lingering worker process which is in
graceful shutdown. Both SIGHUP and SIGUSR2 work. To make this work
correctly, eBPF is required.
2021-08-29 18:35:41 +09:00
Tatsuhiro Tsujikawa
c5e9d0096a
nghttpx: Fix crash when ConnectionHandler is deleted while doing memcached request
2021-08-29 17:17:36 +09:00
Tatsuhiro Tsujikawa
c6f9780b1b
Add accidentally deleted BPFCFLAGS
2021-08-29 15:47:45 +09:00
Tatsuhiro Tsujikawa
ef694923f7
Provide enum bpf_stats_type if not defined in linux/bpf.h for older kernel
2021-08-29 14:30:59 +09:00
Tatsuhiro Tsujikawa
8d02203bb6
Add LIBBPF_CFLAGS for eBPF program and nghttpx
2021-08-29 13:58:10 +09:00
Tatsuhiro Tsujikawa
1e75be3b5d
Find libbpf with pkg-config
2021-08-29 13:43:07 +09:00
Tatsuhiro Tsujikawa
7d13891066
nghttpx: Rename eBPF options
2021-08-27 21:34:18 +09:00
Tatsuhiro Tsujikawa
4292bd7ad9
nghttpx: Set max udp payload size to IPv4 minimum payload size for now
2021-08-27 21:26:50 +09:00
Tatsuhiro Tsujikawa
82cd110dbe
nghttpx: Use SHRPX_MAX_UDP_PAYLOAD_SIZE
2021-08-27 21:13:26 +09:00
Tatsuhiro Tsujikawa
d2729193c7
nghttpx: Add --frontend-http3-max-concurrent-streams option
2021-08-27 21:11:03 +09:00
Tatsuhiro Tsujikawa
87fb325357
nghttpx: Add window size options for HTTP/3 connection
2021-08-27 21:02:45 +09:00
Tatsuhiro Tsujikawa
fb8ff7b892
nghttpx: Format duration for frontend-quic-idle-timeout default value
2021-08-27 19:52:24 +09:00
Tatsuhiro Tsujikawa
5aeae7444f
nghttpx: Add --frontend-quic-debug-log option
2021-08-27 19:16:25 +09:00
Tatsuhiro Tsujikawa
c9b11e9fbf
nghttpx: Rename --quic-idle-timeout to --frontend-quic-idle-timeout
2021-08-27 19:03:06 +09:00
Tatsuhiro Tsujikawa
0005efa508
nghttpx: --frontend-http3-read-timeout should be noop if HTTP/3 is disabled
2021-08-27 18:45:19 +09:00
Tatsuhiro Tsujikawa
6931cb9d65
nghttpx: Add --quic-idle-timeout option
2021-08-27 18:44:33 +09:00
Tatsuhiro Tsujikawa
c1bcf0f11a
nghttpx: Do not dump HTTP/3 header fields
2021-08-27 18:35:27 +09:00
Tatsuhiro Tsujikawa
717e7ae8b2
nghttpx: Add --frontend-http3-read-timeout option
...
Add --frontend-http3-read-timeout option. QUIC idle timeout option
will be added later.
2021-08-27 18:29:06 +09:00
Tatsuhiro Tsujikawa
bed00fb8e1
nghttpx: Use buf.size()
2021-08-27 18:20:17 +09:00
Tatsuhiro Tsujikawa
2010401b81
nghttpx: Send APPLICATION_CLOSE on app read timeout
2021-08-27 18:19:44 +09:00
Tatsuhiro Tsujikawa
23e09e3b3c
Mention libbpf-dev in README.rst
2021-08-26 22:12:54 +09:00
Tatsuhiro Tsujikawa
80c9d46b70
Update doc
2021-08-26 22:10:02 +09:00
Tatsuhiro Tsujikawa
0aa107426c
Bump QUIC flavored OpenSSL
2021-08-26 21:41:06 +09:00
Tatsuhiro Tsujikawa
1517c77d9c
h2load: Do not use legacy QUIC transport_parameters code point
2021-08-26 21:34:49 +09:00
Tatsuhiro Tsujikawa
51bf79bb8c
nghttpx: Add --http2-altsvc option
2021-08-26 21:34:49 +09:00
Tatsuhiro Tsujikawa
d88eadff13
nghttpx: Make sure each quic frontend endpoint has a unique address
2021-08-26 21:34:49 +09:00
Tatsuhiro Tsujikawa
0d35e8e15e
nghttpx: Do not allow quic on UNIX domain socket for now
2021-08-26 21:34:49 +09:00
Tatsuhiro Tsujikawa
a0066a1ccf
nghttpx: Send NEW_TOKEN and very token from client
2021-08-26 21:34:49 +09:00
Tatsuhiro Tsujikawa
7a5082e8c4
nghttpx: Clean up confusing dcid/scid mixup
2021-08-26 21:34:49 +09:00
Tatsuhiro Tsujikawa
dfc345756c
nghttpx: Send Retry packet
2021-08-26 21:34:49 +09:00
Tatsuhiro Tsujikawa
137da6adf6
nghttpx: Generate and set QUIC secrets
2021-08-26 21:34:49 +09:00
Tatsuhiro Tsujikawa
8563ec5a7a
nghttpx: Add options to specify eBPF program file path and disable eBPF
2021-08-26 21:34:49 +09:00
Tatsuhiro Tsujikawa
8ac4bee3bc
nghttpx: Add eBPF program to steer QUIC datagram to a correct socket
2021-08-26 21:34:49 +09:00
Tatsuhiro Tsujikawa
579fb478b5
nghttpx: Fix heap-use-after-free on initialization failure
2021-08-26 13:26:37 +09:00
Tatsuhiro Tsujikawa
33c580ebbf
Forward QUIC packet to the correct worker
2021-08-23 22:21:48 +09:00
Tatsuhiro Tsujikawa
ff389b3e97
Merge branch 'quic'
2021-08-23 18:41:35 +09:00
Tatsuhiro Tsujikawa
50fe8e7852
Check the availability of SSL_is_quic
2021-08-22 23:59:09 +09:00
Tatsuhiro Tsujikawa
cdb6d19989
Enable HTTP/3 build for cmake on CI
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
29694e2945
nghttpx: Fix build error regarding RAND_bytes
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
9fe08d3913
nghttpx: Fix build without mruby
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
c07a0d9005
Allow HTTP/3 in cmake build
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
cbd45478e0
Cleanup flags/libs order
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
6f243108e9
nghttpx: Fix CI build error
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
0dcdf7ae21
Run http3 build on CI
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
e7ef2bec8b
Rename h2load Dockerfile to Dockerfile-h2load-http3
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
4f4dce82c6
Update h2load Dockerfile
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
a619e7a88c
Define UDP_SEGMENT if linux/udp.h has it
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
102d960106
nghttpx: Compile without UDP_SEGMENT
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
7de71b29a0
Update doc
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
4eced8a393
Build without HTTP/3 support
2021-08-22 23:54:29 +09:00
Tatsuhiro Tsujikawa
710b9c35e5
Merge pull request #1610 from amirlivneh/comment-typo
...
Fix reference to non-existing nghttp2_option_set_max_send_header_block_size() in comment
2021-08-22 23:35:05 +09:00
Tatsuhiro Tsujikawa
f46984d218
nghttpx: Enable QUIC 0RTT
2021-08-21 18:34:08 +09:00
Tatsuhiro Tsujikawa
44663a7e6e
nghttpx: Handle backend reset and early response
2021-08-21 18:34:08 +09:00
Tatsuhiro Tsujikawa
446124f378
nghttpx: Process request body
2021-08-21 18:34:08 +09:00
Tatsuhiro Tsujikawa
c45f2085d5
nghttpx: Fix veccnt assertion
2021-08-21 18:34:08 +09:00
Tatsuhiro Tsujikawa
3abf62b41a
nghttpx: Send stateless reset token in TP
2021-08-21 18:34:08 +09:00
Tatsuhiro Tsujikawa
9b2982510e
nghttpx: Send stateless reset
2021-08-21 18:34:08 +09:00
Tatsuhiro Tsujikawa
48bb1ebe01
nghttpx: Add configuration to enable ngtcp2 logging (no cmd-line opt yet)
2021-08-21 18:34:08 +09:00
Tatsuhiro Tsujikawa
fe4c6e4c56
nghttpx: Generate stateless reset secret
2021-08-21 18:34:08 +09:00
Tatsuhiro Tsujikawa
37bd9ffc48
nghttpx: Implement http_reset_stream and http_send_stop_sending
2021-08-21 18:34:08 +09:00
Tatsuhiro Tsujikawa
b0548b4944
nghttpx: Complete HTTP request and response
2021-08-21 18:34:08 +09:00
Tatsuhiro Tsujikawa
12425556c1
nghttpx: Extend Downstream stream_id to 64 bits
2021-08-21 18:34:07 +09:00
Tatsuhiro Tsujikawa
3ed2da562b
nghttpx: Add HTTP3 skeleton and minor SSL_CTX fix
2021-08-21 18:34:07 +09:00
Tatsuhiro Tsujikawa
354f46d8c5
nghttpx: Add QUIC timeouts
2021-08-21 18:34:07 +09:00
Tatsuhiro Tsujikawa
e70f0db83c
nghttpx: QUIC handshake now works
2021-08-21 18:34:07 +09:00
Tatsuhiro Tsujikawa
49b8c56fde
nghttpx: Use existing QUIC error object
2021-08-21 18:34:07 +09:00
Tatsuhiro Tsujikawa
940fdd5573
nghttpx: Read quic packet
2021-08-21 18:34:04 +09:00
Tatsuhiro Tsujikawa
ef53db201e
nghttpx: Create QUIC SSL_CTX
...
We choose an easier route to duplicate SSL_CTX for QUIC.
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
aeb0b0728d
nghttpx: Add QUICConnectionHandler and HTTP3Upstream skeleton
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
8b2746abf1
nghttpx: Add QUICListener
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
01da060496
nghttpx: Create quic server socket
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
20cbd269c4
Compile with the latest ngtcp2
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
7c2cd43dfa
Compile with the latest ngtcp2 and nghttp3
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
de5feff720
Compile with the latest nghttp3
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
7342de837d
Compile with the latest ngtcp2
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
aa2c648918
Just use h3 ALPN
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
e914b50d16
Compile with the latest ngtcp2
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
f79554f918
Count outgoing packets
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
213cc9c4b5
Enlarge receive buffer
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
05f3b8fa0f
Adopt ngtcp2_crypto_recv_crypto_data_cb
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
bc53624133
Do not specify max_udp_payload_size for now
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
5944d034da
Avoid std::ostringstream
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
df400feb61
make clang-format
2021-08-21 18:33:39 +09:00
Hajime Fujita
48e10c57da
h2load: Add qlog output support
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
1eb818b64c
QUIC UDP GSO
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
0954932091
Rewrite docker file
...
Rewrite docker file so that:
- avoid k8s debian-base
- build h2load as statically as possible
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
e584d9cd2e
Measure the number of UDP datagrams sent and received
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
4d140ea6bd
Update Dockerfile
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
09a2e50fc2
Support both h3 and h3-29 ALPN and their corresponding QUIC versions
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
35d8ef33ef
Compile with the latest ngtcp2
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
f1ff2af47a
Deal with 0 length HTTP data write case
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
d2d2c31ec7
Follow ngtcp2_conn_writev_stream specification change
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
95102c1c6c
Compile with the latest ngtcp2
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
fa8c16ae01
Compile with the latest ngtcp2 and nghttp3
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
7ca2a8213d
h2load: Enable --data for HTTP/3
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
1c8e5046e5
Compile with the latest ngtcp2
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
68a5652733
Build with draft-32 openssl
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
6b4be30c64
Cap --window-bits to 26 for QUIC
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
6ce952ad4a
Set X25519 as default
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
5ae62dd9d7
Cap --window-bits to 23 for QUIC
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
51987107a2
Compile with the latest ngtcp2
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
e4a8c4813c
Compile with the latest ngtcp2
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
3d708f7dc4
Compile with the latest ngtcp2
2021-08-21 18:33:39 +09:00
George Liu
4b5bcb56bc
fix quic branch Dockerfile
...
libjemalloc1 package doesn't exist as it's now libjemalloc2 named
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [121 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [213 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7905 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7868 B]
Fetched 8364 kB in 1s (6499 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libjemalloc1
fix reference to OpenSSL 1.1.1 branch
Cloning into 'openssl'...
warning: Could not find remote branch OpenSSL_1_1_1d-quic-draft-29 to clone.
fatal: Remote branch OpenSSL_1_1_1d-quic-draft-29 not found in upstream origin
2021-08-21 18:33:39 +09:00
Tatsuhiro Tsujikawa
10ec8c9558
Compile with the latest ngtcp2
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
3900f758ea
QUIC needs termination without session
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
a3346fbad8
Compile with latest ngtcp2
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
f73d58d74e
quic draft-29
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
813d5e1ddf
Compile with latest ngtcp2
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
acb661df72
Fix bug for platform which does not have SOCK_NONBLOCK
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
4bc7710de9
Fix compile error
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
b8c1f4f138
Compile with latest ngtcp2
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
387b67472c
Compile latest ngtcp2 crypto lib
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
b2c099bac6
Use ngtcp2_conn_handle_expiry
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
1acebb1cc4
draft-28
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
8d89a8dcb0
Assert ndatalen
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
a60a34331b
Revert "Ensure complete packet is written"
...
This reverts commit c19046b09f8e66713f0e067f986ed92d676eb6b6.
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
749015eb86
Ensure complete packet is written
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
4b45142e72
Fix compile error with the latest ngtcp2
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
76009ce7b9
draft-27
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
2722119776
Handle stream limit increment
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
c724585bce
Update Dockerfile
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
0b61e46f95
draft-25
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
5c0da486b9
Remove unused member function declaration
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
9701e5e6e4
Fix compile error
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
1684091234
Bump base image and use OpenSSL_1_1_1d-quic-draft-24
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
a93eb8b8f5
Optimize QUIC write
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
c591ab5e6f
Only count STREAM data as bytes_total
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
b3fbebed55
Use correct type
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
4621f88441
Follow ngtcp2 API update
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
747edb3a99
quic draft-24
2021-08-21 18:33:38 +09:00
Dmitri Tikhonov
558970e281
Update Dockerfile to use I-D 23 branches of ngtcp2 and openssl
2021-08-21 18:33:38 +09:00
Lucas Pardue
73fd20a608
Add SSLKEYLOGFILE support
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
78c2c33b9e
Compile with the latest ngtcp2
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
610add1f59
Send SNI
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
655510ce28
h3-23
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
f7414700f4
Small adjustment of successful HTTP/3 error code
...
Non-zero successful error code is a bit annoying because ngtcp2 does
not know it. Enforcing successful application error code to 0 is a
lot simpler.
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
53a860a5bf
Simplify write_quic
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
1aae450303
Handle sending just fine
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
b3a2f8837c
Avoid setting 0 to repeat field
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
33d2a93294
Add missing acked_stream_data_offset callback
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
2da0db70de
Fix return value
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
8b5cbf8066
Update doc
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
9668563801
Update docker build and doc
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
ff7067f3a3
Compile with the latest ngtcp2 and ngtcp2_crypto_openssl
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
6b8b152444
Remove error handling which does not happen
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
3dbe3b3e7f
Follow ngtcp2 API changes and use libngtcp2_crypto_openssl
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
7aa4bff97b
quic: Support TLS_AES_128_CCM_SHA256
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
6002fac9f1
h2load: Add --tls13-ciphers option
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
231c6ac862
Add Dockerfile
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
c3eb7e1634
Handle preferred address
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
05a6ee2b49
Show ngtcp2 debug log with --verbose
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
94d76c042d
h2load: Add --groups option
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
23ccaa6191
Always call write_quic when timer expires
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
476e9d0a48
h3-22
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
7cd5ed6fc6
Handle Retry
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
750c23f319
quic: Configure settings with options
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
bb36df8b2e
h2load: Fix possible deadlock
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
470c43a986
Fix link
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
8ea78e8361
Add build instruction
2021-08-21 18:33:38 +09:00
Tatsuhiro Tsujikawa
9c748d20d5
[WIP] Add QUIC to h2load
2021-08-21 18:33:38 +09:00
Amir Livneh
af15b22b03
Fix reference to non-existing nghttp2_option_set_max_send_header_block_size() in comment
2021-08-19 13:14:58 -04:00
Tatsuhiro Tsujikawa
80c9c705b8
Merge pull request #1607 from nghttp2/dnf
...
Add "dnf" (= "do not forward") parameter to backend option
2021-08-14 17:35:20 +09:00
Tatsuhiro Tsujikawa
138419d232
Add "dnf" (= "do not forward") parameter to backend option
2021-08-14 17:16:21 +09:00
Tatsuhiro Tsujikawa
8cee15bc5a
Merge pull request #1603 from JackyYin/improve-doc
...
update doc for nghttp2_session_mem_recv
2021-08-10 21:25:41 +09:00
Jacky_Yin
8113974b26
doc: update document for nghttp2_session_mem_recv
2021-08-09 23:54:07 +08:00
Tatsuhiro Tsujikawa
2b70cefd48
Merge pull request #1598 from danbev/programmers_guide_typo
...
Fix typo in programmers-guide.rst
2021-08-08 15:49:43 +09:00
Tatsuhiro Tsujikawa
16054d4bfd
Merge pull request #1602 from lhuang04/file_read_callback_prototype_mismatch
...
Fix prototype mismatch for function 'file_read_callback'
2021-08-08 15:48:55 +09:00
lhuang04
c2d4a53b67
Fix prototype mismatch for function 'file_read_callback'
...
Summary:
The [data_flags](https://github.com/lhuang04/nghttp2/blob/master/src/HttpServer.cc#L1078 ) is defined as `uint32_t*` in definition, but delared as [int*](https://github.com/lhuang04/nghttp2/blob/master/src/HttpServer.h#L245 ) in the prototype.
```
stderr: error: no previous prototype for function 'file_read_callback' [-Werror,-Wmissing-prototypes]
ssize_t file_read_callback(nghttp2_session *session, int32_t stream_id,
^
```
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
2021-08-07 07:24:21 -07:00
Tatsuhiro Tsujikawa
29cbf8b83f
clang-format-12
2021-08-04 15:04:58 +09:00
Daniel Bevenius
3448b1c78c
Fix typo in programmers-guide.rst
2021-07-26 14:44:15 +02:00
Tatsuhiro Tsujikawa
31253f400d
Update manual pages
2021-07-18 14:08:52 +09:00
Tatsuhiro Tsujikawa
1b6f547948
Replace mater remnants with main in nghttpx manual
2021-07-18 14:02:52 +09:00
Tatsuhiro Tsujikawa
deb68b414a
Bump up version number to v1.45.0-DEV
2021-07-18 13:16:42 +09:00
Tatsuhiro Tsujikawa
b799b063f8
Update manual pages
2021-07-18 12:45:33 +09:00
Tatsuhiro Tsujikawa
368014b8dd
Bump version number to v1.44.0, LT revision to 34:2:20
2021-07-18 12:40:51 +09:00
Tatsuhiro Tsujikawa
fa16e66a6d
nghttpx: Fix max distance in weight group/address cycle comparison
2021-07-14 23:26:33 +09:00
Tatsuhiro Tsujikawa
40af31da4c
nghttpx: Set connect_blocker and live_check after shuffling addresses
2021-07-14 23:09:28 +09:00
Tatsuhiro Tsujikawa
9e6c0685a2
Fix build failure
2021-05-15 13:51:24 +09:00
Tatsuhiro Tsujikawa
ebad3d4755
Port new ngtcp2 map implementation
2021-05-13 15:01:58 +09:00
Tatsuhiro Tsujikawa
d4fd0681ef
Bump llhttp to 6.0.2
2021-05-13 14:06:17 +09:00
Tatsuhiro Tsujikawa
43a47aa08b
Do not return HPE_USER from where it is prohibited
2021-05-13 13:59:44 +09:00
Tatsuhiro Tsujikawa
20079b4c2f
Update bash_completions
2021-04-02 22:35:37 +09:00
Tatsuhiro Tsujikawa
2aeec7703e
Update manual pages
2021-04-02 22:35:37 +09:00
Tatsuhiro Tsujikawa
cef458c31c
Replace black-list with block-list
...
nghttpx --no-http2-cipher-black-list and
--client-no-http2-cipher-black-list are deprecated and replaced with
--no-http2-cipher-block-list and --client-no-http2-cipher-block-list
respectively.
2021-04-02 22:35:37 +09:00
Tatsuhiro Tsujikawa
617a5766a2
Replace master with main
2021-04-02 22:08:19 +09:00
Tatsuhiro Tsujikawa
f1d6733554
Initialize Config rps field
2021-03-10 13:45:20 +09:00
Tatsuhiro Tsujikawa
5f3bcb1f58
Add precious variables for libev and jemalloc and use JEMALLOC_CFLAGS
2021-03-06 22:32:17 +09:00
Tatsuhiro Tsujikawa
b419bfd95f
Remove unused field
2021-02-24 20:58:15 +09:00
Tatsuhiro Tsujikawa
e406a2c15e
Update doc
2021-02-23 17:41:27 +09:00
Tatsuhiro Tsujikawa
962a75c45e
Merge pull request #1559 from nghttp2/h2load-rps
...
h2load: Add --rps option
2021-02-23 17:08:01 +09:00
Tatsuhiro Tsujikawa
6cdc13d6c6
h2load: Add --rps option
2021-02-23 16:40:17 +09:00
Tatsuhiro Tsujikawa
92944f7847
h2load: Allow unit in -D option
2021-02-23 15:31:54 +09:00
Tatsuhiro Tsujikawa
276792a812
Remove unnecessary function
...
on_stream_close is called after on_frame_not_send_callback with
success=false without this function.
2021-02-23 14:32:43 +09:00
Tatsuhiro Tsujikawa
579fa6ea93
Add more --with-* configure flags
2021-02-21 21:42:15 +09:00
Tatsuhiro Tsujikawa
2f2b211766
Add LIBTOOL_LDFLAGS configure variable
2021-02-21 21:32:48 +09:00
Tatsuhiro Tsujikawa
88a3cb51af
Bump llhttp to 4.0.0
2021-02-18 18:46:23 +09:00
Tatsuhiro Tsujikawa
40679cf638
Merge pull request #1553 from nghttp2/nghttpx-fix-accesslog-method
...
nghttpx: Remove trailing white space after $method log variable
2021-02-08 23:02:19 +09:00
Tatsuhiro Tsujikawa
5b587e8578
Merge pull request #1550 from jktjkt/docs-asio-fix-typos
...
docs: asio: fix some typos
2021-02-08 22:29:03 +09:00
Tatsuhiro Tsujikawa
50a1121d81
nghttpx: Remove trailing white space after $method log variable
2021-02-08 22:22:05 +09:00
Tatsuhiro Tsujikawa
3239c5efcc
Bump up version number to v1.44.0-DEV
2021-02-02 20:39:12 +09:00
Tatsuhiro Tsujikawa
fb0bd22979
Update manual pages
2021-02-02 19:34:21 +09:00
Tatsuhiro Tsujikawa
3dc6c0afa2
Bump version number to 1.43.0
2021-02-02 19:28:14 +09:00
Tatsuhiro Tsujikawa
e8762781a7
Update AUTHORS
2021-02-02 19:26:08 +09:00
Tatsuhiro Tsujikawa
2bf841e22a
workflow: Build with UBSAN enabled
2021-01-17 17:41:01 +09:00
Jan Kundrát
5b9892a902
docs: asio: fix some typos
...
Really just a s/pusedo/pseudo/g and s/exluced/excluded/g.
2021-01-15 00:39:39 +01:00
Tatsuhiro Tsujikawa
7ebab98e91
Merge pull request #1548 from nghttp2/py3-bindings
...
Py3 bindings
2020-12-29 19:09:35 +09:00
Tatsuhiro Tsujikawa
23fc6cc900
Bump Linux runner OS to ubuntu 20.04
2020-12-29 18:33:50 +09:00
Tatsuhiro Tsujikawa
2e35cdea6c
Update doc
2020-12-29 18:27:07 +09:00
Tatsuhiro Tsujikawa
22af8e782b
Require python3 for python bindings
2020-12-29 18:24:41 +09:00
Tatsuhiro Tsujikawa
c88e910009
Update ax_python_devel.m4
2020-12-29 18:24:41 +09:00
Tatsuhiro Tsujikawa
43ba312593
Merge pull request #1547 from nghttp2/sphinx-v3.3
...
Sphinx v3.3
2020-12-29 18:15:35 +09:00
Tatsuhiro Tsujikawa
3c17299a92
Update enum references
2020-12-29 17:47:57 +09:00
Tatsuhiro Tsujikawa
a7ecff657c
Make doc generation work with sphinx v3.3
2020-12-29 17:47:57 +09:00
Tatsuhiro Tsujikawa
79a4f789a1
Merge pull request #1546 from nghttp2/py3-scripts
...
Python3 development scripts
2020-12-29 17:47:04 +09:00
Tatsuhiro Tsujikawa
28ba0b37e1
Update document reference
2020-12-29 17:35:55 +09:00
Tatsuhiro Tsujikawa
6b7ade9f3f
Require python3 for python scripts
2020-12-29 17:35:55 +09:00
Tatsuhiro Tsujikawa
465367294f
Bump clang-format to 10
2020-12-28 11:45:44 +09:00
Tatsuhiro Tsujikawa
563c117303
Merge pull request #1544 from nghttp2/nghttpx-clear-mcpool
...
nghttpx: Make sure that Pool gets cleared when all buffers are returned
2020-12-16 23:50:39 +09:00
Tatsuhiro Tsujikawa
1c04ca8032
Merge pull request #1540 from tavrez/patch-1
...
Added new nghttp2_ksl.c to Windows makefile
2020-12-16 23:31:33 +09:00
Tatsuhiro Tsujikawa
d32e20bcaa
nghttpx: Make sure that Pool gets cleared when all buffers are returned
2020-12-16 23:27:58 +09:00
Tatsuhiro Tsujikawa
8b8ba6b0a6
Merge pull request #1542 from nghttp2/nghttpx-check-sigalg
...
nghttpx: Choose ECDSA cert if compatible signature algorithm available
2020-12-14 23:00:52 +09:00
Tatsuhiro Tsujikawa
81fb015391
nghttpx: Choose ECDSA cert if compatible signature algorithm available
2020-12-13 23:40:43 +09:00
Reza Tavakoli
d8c71d5fdb
Added new nghttp2_ksl.c to Windows makefile
2020-12-02 17:38:03 +03:30
Tatsuhiro Tsujikawa
fb5b5aef0a
Merge pull request #1537 from nghttp2/nghttpx-allow-colon-in-pattern
...
nghttpx: Add workaround to include ':' in backend pattern
2020-11-27 23:35:27 +09:00
Tatsuhiro Tsujikawa
6787423edc
nghttpx: Add workaround to include ':' in backend pattern
2020-11-27 22:15:46 +09:00
Tatsuhiro Tsujikawa
ffcdf5dfbc
Merge pull request #1533 from LorenzNickel/patch-1
...
Fix typo in security.rst
2020-11-24 00:51:14 +09:00
Lorenz Nickel
0cdb173846
Fix typo in security.rst
2020-11-23 16:39:49 +01:00
Tatsuhiro Tsujikawa
c9d5472ffb
Bump version number to 1.43.0-DEV
2020-11-23 23:54:19 +09:00
Tatsuhiro Tsujikawa
15bd71ed94
Update manual pages
2020-11-23 23:38:21 +09:00
Tatsuhiro Tsujikawa
a76b7a37fd
Bump version number to 1.42.0, LT revision to 34:1:20
2020-11-23 23:22:49 +09:00
Tatsuhiro Tsujikawa
5cdf9ce19b
Update AUTHORS
2020-11-23 23:19:58 +09:00
Tatsuhiro Tsujikawa
0fba09246b
Build with GitHub Actions
2020-11-16 21:22:03 +09:00
Tatsuhiro Tsujikawa
444fd8180d
Bump llhttp to 2.2.0
2020-11-15 11:42:25 +09:00
Tatsuhiro Tsujikawa
f6b875e09d
Add missing cmake/FindSystemd.cmake to dist
2020-11-15 11:25:33 +09:00
Tatsuhiro Tsujikawa
694c0a4fb3
cmake: Remove spdylay
2020-11-15 11:23:12 +09:00
Tatsuhiro Tsujikawa
da7959c2e8
nghttpx: Deal with the case when h2 backend is retired before it is initialized
2020-11-15 11:19:07 +09:00
Tatsuhiro Tsujikawa
2e44f23b05
Another mruby build fix
2020-09-24 23:30:41 +09:00
Tatsuhiro Tsujikawa
f5351bee25
Fix make clean on mruby
2020-09-24 23:18:35 +09:00
Tatsuhiro Tsujikawa
a1999ab2a5
Bump llhttp to 2.1.3
2020-09-24 23:13:00 +09:00
Tatsuhiro Tsujikawa
1bccccc174
Merge pull request #1511 from nghttp2/nghttpx-accesslog-path-without-query
...
nghttpx: Add accesslog variables to record request path without query
2020-09-24 22:56:30 +09:00
Tatsuhiro Tsujikawa
4e3c61ef4d
nghttpx: Add accesslog variables to record request path without query
...
This commit the following variables to construct request line without
including query component:
* $method
* $path
* $path_without_query
* $protocol_version
2020-09-19 23:58:37 +09:00
Tatsuhiro Tsujikawa
7b4de401d2
nghttpx: Check worker wide blocker before creating new downstream connection
2020-09-19 23:22:14 +09:00
Tatsuhiro Tsujikawa
1570d5f694
Bump llhttp to 2.1.1
2020-09-03 19:33:09 +09:00
Tatsuhiro Tsujikawa
181a007a34
Fix mruby build
...
Copy build_config.rb to build directory because now
build_config.rb.lock is created along side it.
Define toolchain depending on CC environment variable.
2020-09-02 23:36:44 +09:00
Tatsuhiro Tsujikawa
7df73a5d90
nghttpx: mrb_run was removed
2020-09-02 22:12:45 +09:00
Tatsuhiro Tsujikawa
b00fa5567c
Bump mruby to 2.1.2
2020-09-02 22:03:14 +09:00
Tatsuhiro Tsujikawa
4ecdc2903d
Amend 7a57b039a6
2020-07-26 15:31:54 +09:00
Tatsuhiro Tsujikawa
7a57b039a6
Fix cmake build
2020-07-26 15:19:19 +09:00
Tatsuhiro Tsujikawa
1ce628529b
nghttp2_map backed by nghttp2_ksl
2020-07-26 15:13:43 +09:00
Tatsuhiro Tsujikawa
6089353d52
Fix EXTRA_DIST
2020-07-24 20:37:16 +09:00
Tatsuhiro Tsujikawa
db45fb483c
Fix sphinx warnings
...
This commit fixes the following warning:
RemovedInSphinx30Warning: sphinx.locale.l_() is deprecated. Please use `_()` instead.
2020-07-24 20:23:57 +09:00
Tatsuhiro Tsujikawa
4272dcac1d
Update sphinx_rtd_theme
2020-07-24 20:18:59 +09:00
Tatsuhiro Tsujikawa
32ac8bdf79
Add security process document
2020-07-24 20:14:07 +09:00
Tatsuhiro Tsujikawa
7f92b1e0e8
Merge pull request #1489 from tomaskrizek/doc-session-send
...
doc: nghttp2_session_send is also affected by max concurrent streams
2020-07-19 12:14:53 +09:00
Tatsuhiro Tsujikawa
d5550e946d
Amend f1d8547b29
...
Better handling of tls and early data buffer
2020-07-14 19:47:08 +09:00
Tatsuhiro Tsujikawa
62411f5a6e
nghttpx: Set client_handler to special frontend objects
2020-07-14 01:13:29 +09:00
Tatsuhiro Tsujikawa
e9465f0ee5
Revert "nghttpx: Fix ubsan error"
...
This reverts commit 14dfeee4ed .
2020-07-14 01:13:29 +09:00
Tatsuhiro Tsujikawa
14dfeee4ed
nghttpx: Fix ubsan error
2020-07-14 00:12:07 +09:00
Tatsuhiro Tsujikawa
f1d8547b29
nghttpx: Fix stall when TLS follows after proxy protocol
...
This fixes that nghttpx stalls when TLS handshake and data follow
after proxy protocol header and no extra read notification is
triggered (e.g., just small 1 HTTP request).
2020-07-13 23:39:17 +09:00
Tatsuhiro Tsujikawa
7b46edb483
Merge pull request #1477 from nghttp2/ignore-rst-stream-to-idle-stream
...
Don't send RST_STREAM to idle stream
2020-06-28 11:50:59 +09:00
Tomas Krizek
5497a1dfa7
doc: nghttp2_session_send is also affected by max concurrent streams
...
Further clarify the function also takes into account maximum concurrent
streams.
Closes #691
Closes #817
2020-06-19 17:22:55 +02:00
Tatsuhiro Tsujikawa
c8bf8c6521
Don't send RST_STREAM to idle stream
2020-06-18 11:59:06 +09:00
Tatsuhiro Tsujikawa
b6b135c060
Merge pull request #1488 from tomaskrizek/doc-session-send-flow-control
...
doc: clarify flow control behaviour for nghttp2_session_send()
2020-06-18 11:57:51 +09:00
Tomas Krizek
f76ac19627
doc: clarify flow control behaviour for nghttp2_session_send()
...
The previous wording implied that if send_callback doesn't return
NGHTTP2_ERR_WOULDBLOCK, this function would always send all
submitted requests / data. This is not the case, since flow control can
cause some data to remain queued until WINDOW_UPDATE is received.
2020-06-17 17:19:30 +02:00
Tatsuhiro Tsujikawa
abe80e371e
nghttpx: Fix logging integer
2020-06-10 20:56:33 +09:00
Tatsuhiro Tsujikawa
1ecc7940b8
Fix compile error with gcc
2020-06-06 00:48:33 +09:00
Tatsuhiro Tsujikawa
ab11b2bba5
clang-format
2020-06-05 23:16:01 +09:00
Tatsuhiro Tsujikawa
6d7f1256de
Merge branch 'asraa-fix-ubsan'
2020-06-05 23:13:34 +09:00
Tatsuhiro Tsujikawa
cf094bd56b
Fix ubsan applying zero offset to null pointer occurred in unit test
2020-06-05 23:13:08 +09:00
Asra Ali
78a56cf66f
fix ubsan errors
...
Signed-off-by: Asra Ali <asraa@google.com >
2020-06-05 23:13:08 +09:00
Tatsuhiro Tsujikawa
ec084acdba
Bump version number to 1.42.0-DEV
2020-06-02 21:21:13 +09:00
Tatsuhiro Tsujikawa
8f7b008b15
Update bash_completion
2020-06-02 21:05:34 +09:00
Tatsuhiro Tsujikawa
83086ba91a
Update manual pages
2020-06-02 21:04:57 +09:00
Tatsuhiro Tsujikawa
c3b4662563
Merge pull request from GHSA-q5wr-xfw9-q7xr
...
Implement max settings option
2020-06-02 20:58:21 +09:00
Tatsuhiro Tsujikawa
3eecc2ca45
Bump version number to v1.41.0, LT revision to 34:0:20
2020-06-02 19:09:08 +09:00
Tatsuhiro Tsujikawa
881c060d8c
Update AUTHORS
2020-06-02 19:09:08 +09:00
James M Snell
f8da73bd04
Earlier check for settings flood
2020-05-05 11:55:38 -07:00
James M Snell
336a98feb0
Implement max settings option
2020-05-05 11:55:32 -07:00
Tatsuhiro Tsujikawa
ef41583614
Revert "Add missing connection error handling"
...
This reverts commit b7d1610141 .
2020-04-22 21:26:23 +09:00
Tatsuhiro Tsujikawa
979e6c5325
Merge pull request #1459 from nghttp2/proxyprotov2
...
nghttpx: Add PROXY protocol version 2
2020-04-21 22:30:31 +09:00
Tatsuhiro Tsujikawa
b7d1610141
Add missing connection error handling
2020-04-21 22:11:19 +09:00
Tatsuhiro Tsujikawa
cd53bd81bf
Merge pull request #1460 from gportay/patch-1
...
Fix doc
2020-04-18 19:24:50 +09:00
Gaël PORTAY
e5625b8cf0
Fix doc
2020-04-18 05:50:51 -04:00
Tatsuhiro Tsujikawa
c663349f24
integration: Add PROXY protocol v2 tests
2020-04-18 17:23:49 +09:00
Tatsuhiro Tsujikawa
854e9fe395
nghttpx: Always call init_forwarded_for
...
Always call init_forwarded_for to get the default when source address
in PROXY protocol is ignored. This ensures that forwarded header
field has the same value as x-forwarded-for.
2020-04-18 17:16:45 +09:00
Tatsuhiro Tsujikawa
c60ea227cc
Update doc
2020-04-18 17:16:30 +09:00
Tatsuhiro Tsujikawa
49cd8e6e73
nghttpx: Add PROXY-protocol v2 support
2020-04-18 17:16:30 +09:00
Tatsuhiro Tsujikawa
3b17a659f6
Merge pull request #1453 from Leo-Neat/master
...
Add CIFuzz
2020-03-31 18:48:52 +09:00
Tatsuhiro Tsujikawa
600fcdf52d
Merge pull request #1455 from xjtian/long_serials
...
Fix get_x509_serial for long serial numbers
2020-03-31 18:47:53 +09:00
Jacky Tian
4922bb41d6
static_cast size parameter in StringRef constructor to size_t
2020-03-31 00:54:08 -07:00
Jacky Tian
aad8697575
Fix get_x509_serial for long serial numbers
2020-03-31 00:19:06 -07:00
Leo Neat
dc7a7df61c
Adding CIFuzz
2020-03-18 10:12:29 -07:00
Tatsuhiro Tsujikawa
b3f85e2daa
Merge pull request #1444 from nghttp2/fix-recv-window-flow-control-issue
...
Fix receiving stream data stall
2020-02-20 11:22:18 +09:00
Tatsuhiro Tsujikawa
ffb49c6c58
Merge pull request #1435 from geoffhill/master
...
Enable session_create_idle_stream test, fix errors
2020-02-20 10:53:12 +09:00
Tatsuhiro Tsujikawa
2ec585518e
Fix receiving stream data stall
...
Previously, if automatic window update is enabled (which is default),
after window size is set to 0 by
nghttp2_session_set_local_window_size, once the receiving window is
exhausted, even after window size is increased by
nghttp2_session_set_local_window_size, no more data cannot be
received. This is because nghttp2_session_set_local_window_size does
not submit WINDOW_UPDATE. It is only triggered when new data arrives
but since window is filled up, no more data cannot be received, thus
dead lock happens.
This commit fixes this issue. nghttp2_session_set_local_window_size
submits WINDOW_UPDATE if necessary.
https://github.com/curl/curl/issues/4939
2020-02-20 10:40:38 +09:00
Tatsuhiro Tsujikawa
459df42b8b
Merge pull request #1442 from nghttp2/upgrade-llhttp
...
Bump llhttp to 2.0.4
2020-02-11 23:26:41 +09:00
Tatsuhiro Tsujikawa
a4c1fed513
Bump llhttp to 2.0.4
2020-02-11 23:05:53 +09:00
Geoff Hill
866eadb5de
Enable session_create_idle_stream test, fix errors
...
Add the currently-unused `test_nghttp2_session_create_idle_stream()`
function to the test suite definition.
Modify the test in two places to make it pass:
* Use stream ID=10 as the priority stream ID to test automatic creation
of streams for priority specs. The code below checks against stream
ID=10 so I assume this was a typo in the test.
* Set the `last_sent_stream_id` instead of the `next_stream_id` to test
that idle streams cannot be created with smaller numbers than the
most-recently-seen stream ID. Looking at the validation path in
`session_detect_idle_stream()`, I think this was another test typo.
2020-01-23 17:29:19 -08:00
Tatsuhiro Tsujikawa
5e13274b7c
Fix typo
2019-12-21 11:39:05 +09:00
Tatsuhiro Tsujikawa
e0d7f7de5e
h2load: Allow port in --connect-to
2019-12-21 11:39:05 +09:00
lucas
df575f968f
h2load: add --connect-to option
2019-12-21 11:39:05 +09:00
Tatsuhiro Tsujikawa
1fff737955
clang-format-9
2019-12-18 14:25:32 +09:00
Tatsuhiro Tsujikawa
b40c6c862f
Merge pull request #1418 from vszakats/patch-1
...
lib/CMakeLists.txt: Make hard-coded static lib suffix optional
2019-12-08 11:09:59 +09:00
Viktor Szakats
9bc2c75e38
lib/CMakeLists.txt: Make hard-coded static lib suffix optional
...
It can be set via the `STATIC_LIB_SUFFIX` variable.
This fixes every existing dependent project that relied on the name
having no suffix and thus capable of using either a static or shared
flavour depending on which one is present on this or how the linker
is configured.
Ref: https://github.com/nghttp2/nghttp2/pull/1394
2019-11-15 20:53:50 +00:00
Tatsuhiro Tsujikawa
2d5f76594a
Bump up version number to 1.41.0-DEV
2019-11-15 23:34:33 +09:00
Tatsuhiro Tsujikawa
cc05c5fe8c
Update manual pages
2019-11-15 23:03:14 +09:00
Tatsuhiro Tsujikawa
66d7b194d4
Update AUTHORS
2019-11-15 22:54:56 +09:00
Tatsuhiro Tsujikawa
41060943bd
Bump up version number to 1.40.0, LT revision to 33:0:19
2019-11-15 22:53:05 +09:00
Tatsuhiro Tsujikawa
5ae9bb8925
Fail fast if huffman decoding context is in failure state
2019-11-09 17:18:11 +09:00
Tatsuhiro Tsujikawa
bb519154fe
Merge pull request #1413 from nghttp2/check-authority
...
Add nghttp2_check_authority as public API
2019-11-02 10:53:33 +09:00
Tatsuhiro Tsujikawa
77f5487a58
Add nghttp2_check_authority as public API
2019-11-02 00:33:59 +09:00
Tatsuhiro Tsujikawa
db9a8f6efe
Merge pull request #1409 from nghttp2/fix-wrong-stream-close-error-code
...
Fix the bug that stream is closed with wrong error code
2019-10-29 21:24:57 +09:00
Tatsuhiro Tsujikawa
6f28a69b7d
Merge pull request #1411 from richard78917/fix_warning
...
priority_spec::valid(): remove const qualifier from return value
2019-10-29 21:24:34 +09:00
Tatsuhiro Tsujikawa
6ce4835eea
Fix the bug that stream is closed with wrong error code
...
This commit fixes the bug that stream is closed with wrong error code
(0). This happens when STREAM or DATA frame with END_STREAM flag set
is received and it violates HTTP messaging rule (i.e., content-length
does not match) and the other side of stream has been closed. In this
case, nghttp2_on_stream_close_callback should be called with nonzero
error code, but previously it is called with 0 (NO_ERROR).
2019-10-29 21:04:52 +09:00
Richard Wolfert
29042f1c95
priority_spec::valid(): remove const qualifier from return value
...
gcc generates warning:
* type qualifiers ignored on function return type [-Wignored-qualifiers]
2019-10-29 11:28:26 +01:00
Tatsuhiro Tsujikawa
d08c43951f
Merge pull request #1405 from nghttp2/huffman
...
Faster Huffman encoding/decoding
2019-10-12 18:48:21 +09:00
Tatsuhiro Tsujikawa
5d6964cf81
Faster huffman decoding
2019-10-12 14:30:31 +09:00
Tatsuhiro Tsujikawa
0d855bfc1b
Faster huffman encoding
2019-10-12 14:30:31 +09:00
Tatsuhiro Tsujikawa
6f967c6ef3
Fix errors reported by coverity scan
2019-09-21 13:45:20 +09:00
Tatsuhiro Tsujikawa
b8a43db84c
Merge pull request #1394 from wrowe/fix-static-libname
...
Avoid filename collision of static and dynamic lib
2019-09-21 10:45:45 +09:00
Tatsuhiro Tsujikawa
70b62c1a32
Merge pull request #1393 from wrowe/fix-static-msvcrt
...
Add new flag ENABLE_STATIC_CRT for Windows
2019-09-21 10:45:11 +09:00
William A Rowe Jr
28b1f0b90f
Avoid filename collision of static and dynamic lib
...
Renames the output of the ENABLE_STATIC_LIB library/archive output
to nghttp2_static.lib/.a to avoid filenames colliding with the output
name for ENABLE_SHARED_LIB library/archive, when both are enabled.
Signed-off-by: William A Rowe Jr <wrowe@pivotal.io >
Signed-off-by: Yechiel Kalmenson <ykalmenson@pivotal.io >
2019-09-16 08:48:35 -07:00
Tatsuhiro Tsujikawa
1dd966f189
Merge branch 'fix-nghttpx-mruby'
2019-09-17 00:42:04 +09:00
Tatsuhiro Tsujikawa
fe8946ddc7
nghttpx: Fix bug that mruby is incorrectly shared between backends
...
Previously, mruby context is wrongly shared by multiple patterns if
the underlying SharedDownstreamAddr is shared by multiple
DownstreamAddrGroups. This commit fixes it.
2019-09-16 22:25:06 +09:00
William A Rowe Jr
72b71a6ba3
Add new flag ENABLE_STATIC_CRT for Windows
...
This change adds the CMake option;
ENABLE_STATIC_CRT Build libnghttp2 against the MS LIBCMT[d]
This avoids linking to msvcrt.lib for binaries to compile (/MT[d])
and link against the static C Runtime libcrt.lib, and
avoiding the msvcrt[d].dll dependency.
Signed-off-by: William A Rowe Jr <wrowe@pivotal.io >
Signed-off-by: Yechiel Kalmenson <ykalmenson@pivotal.io >
2019-09-14 16:23:16 -07:00
Tatsuhiro Tsujikawa
f8933fe504
nghttpx: Reconnect h1 backend if it lost connection before sending headers
...
This is the second attempt. The first attempt was
8a59ce6d37 and it failed.
2019-09-07 18:20:24 +09:00
Tatsuhiro Tsujikawa
89c33d690f
Update neverbleed
2019-09-07 00:19:59 +09:00
Tatsuhiro Tsujikawa
7079dc5e75
Update neverbleed to fix memory leak
2019-09-06 23:58:22 +09:00
Tatsuhiro Tsujikawa
5080db84e2
Revert "nghttpx: Reconnect h1 backend if it lost connection before sending headers"
...
This reverts commit 8a59ce6d37 .
2019-09-06 22:01:03 +09:00
Tatsuhiro Tsujikawa
053c7ac588
nghttpx: Returns 408 if backend timed out before sending headers
2019-09-03 00:29:01 +09:00
Tatsuhiro Tsujikawa
8a59ce6d37
nghttpx: Reconnect h1 backend if it lost connection before sending headers
2019-09-03 00:28:21 +09:00
Tatsuhiro Tsujikawa
f2fde180cd
Remove redundant null check before delete
...
Reported in https://github.com/nghttp2/nghttp2/issues/1384
2019-08-19 22:27:32 +09:00
Tatsuhiro Tsujikawa
95efb3e19d
Don't read too greedily
2019-08-14 11:44:28 +09:00
Tatsuhiro Tsujikawa
0a6ce87c22
Add nghttp2_option_set_max_outbound_ack
2019-08-14 11:43:55 +09:00
Tatsuhiro Tsujikawa
2aa79fa91d
Bump up LT revision to 32:0:18
2019-08-14 08:46:43 +09:00
Tatsuhiro Tsujikawa
3980678d24
Merge branch 'nghttpx-fix-request-stall'
2019-08-06 21:28:45 +09:00
Tatsuhiro Tsujikawa
319d5ab1c6
nghttpx: Fix request stall
...
Fix request stall if backend connection is reused and buffer is full.
2019-08-06 20:50:29 +09:00
Tatsuhiro Tsujikawa
448bbbc38c
integration-tests: gofmt
2019-08-06 20:44:15 +09:00
Tatsuhiro Tsujikawa
e575a2aad9
Merge pull request #1377 from Aldrog/cmake_systemd
...
Support building nghttpx with systemd using cmake
2019-08-01 09:27:54 +09:00
Andrew Penkrat
4f7aedc9d2
cmake: Support building nghttpx with systemd
2019-07-29 13:55:05 +03:00
Tatsuhiro Tsujikawa
7a5908933e
Fix clang-8 warning
2019-06-22 17:44:16 +09:00
Tatsuhiro Tsujikawa
ee44313445
Fix FPE with default backend
2019-06-11 23:15:01 +09:00
Tatsuhiro Tsujikawa
abef9b90ef
Fix log-level is not set with cmd-line or configuration file
2019-06-11 23:13:43 +09:00
Tatsuhiro Tsujikawa
12a999f0b8
Bump up version number to 1.40.0-DEV
2019-06-11 22:10:05 +09:00
Tatsuhiro Tsujikawa
acfb360770
Update manual pages
2019-06-11 21:22:20 +09:00
Tatsuhiro Tsujikawa
bdfd14c2b7
Bump up version number to 1.39.0, LT revision to 31:4:17
2019-06-11 21:19:05 +09:00
Tatsuhiro Tsujikawa
cddc09feaa
Update AUTHORS
2019-06-11 21:16:17 +09:00
Tatsuhiro Tsujikawa
3c3b6ae8ca
Add missing colon
2019-06-10 19:18:10 +09:00
Tatsuhiro Tsujikawa
2f83aa9e1b
Fix multi-line text travis issue
2019-06-10 18:58:47 +09:00
Tatsuhiro Tsujikawa
fc591d0cd6
Run nghttpx integration test with cmake build
...
Run nghttpx integration test with cmake build. Autotools build erases
artifacts for packaging tests, so we cannot run nghttpx integration
test with autotools build at the moment.
Relay on go modules to download dependencies.
2019-06-08 00:34:27 +09:00
Tatsuhiro Tsujikawa
9a17c3efc6
travis: use multi-line text
2019-06-08 00:23:17 +09:00
Tatsuhiro Tsujikawa
b7220f075c
cmake: Remove SPDY related files
2019-06-08 00:23:17 +09:00
Tatsuhiro Tsujikawa
a1556fd11f
Merge pull request #1356 from nghttp2/fix-log-level-on-reload
...
nghttpx: Fix unchanged log level on configuration reload
2019-06-07 23:36:49 +09:00
Tatsuhiro Tsujikawa
77f1c872b1
nghttpx: Fix unchanged log level on configuration reload
...
Previously, if log-level is not mentioned in configuration file and
reload happens, the log level was not set to the default value NOTICE.
Instead, the log level stayed the same. This commit fixes this bug.
2019-06-05 21:17:23 +09:00
Tatsuhiro Tsujikawa
49ce44e1f5
Merge pull request #1352 from nghttp2/travis-osx
...
Travis osx
2019-05-30 23:58:35 +09:00
Tatsuhiro Tsujikawa
f54b3ffc0e
Fix libxml2 CFLAGS output
2019-05-30 23:22:44 +09:00
Tatsuhiro Tsujikawa
b0f5e5cc79
Implement daemon() using fork() for OSX
2019-05-30 23:22:44 +09:00
Tatsuhiro Tsujikawa
8d6ecd66cc
Enable osx build on travis
2019-05-29 00:28:39 +09:00
Tatsuhiro Tsujikawa
f82fb52187
Update doc
2019-05-18 10:31:47 +09:00
Tatsuhiro Tsujikawa
2e1975ddf6
clang-format-8
2019-05-18 10:28:35 +09:00
Tatsuhiro Tsujikawa
97ce392bcc
Merge pull request #1347 from nghttp2/nghttpx-ignore-cl-te-on-upgrade
...
Ignore Content-Length and Transfer-Encoding in 200 response to CONNECT request
2019-05-17 23:34:34 +09:00
Tatsuhiro Tsujikawa
afefbda518
Ignore content-length in 200 response to CONNECT request
2019-05-17 23:00:32 +09:00
Tatsuhiro Tsujikawa
4fca2502d8
nghttpx: Ignore Content-Length and Transfer-Encoding in 1xx or 200 to CONNECT
...
A well known server sends content-length: 0 in 101 response. RFC 7230
says Content-Length or Transfer-Encoding in 200 response to CONNECT
request: https://tools.ietf.org/html/rfc7230#section-3.3.3
2019-05-17 22:58:26 +09:00
Tatsuhiro Tsujikawa
6975c336fc
Update llhttp to 1.1.3
2019-05-07 22:40:06 +09:00
Tatsuhiro Tsujikawa
0288093caf
Fix llhttp_get_error_pos usage
...
It returns NULL if return value is HPE_OK.
2019-04-21 00:07:11 +09:00
Tatsuhiro Tsujikawa
a3a034813b
Merge pull request #1340 from nghttp2/nghttpx-llhttp
...
Replace http-parser with llhttp
2019-04-20 22:07:14 +09:00
Tatsuhiro Tsujikawa
c64d2573dc
Replace http-parser with llhttp
...
llhttp does not include URL parser. We extracted URL parser code from
http-parser and put it under third-party/url-parser.
llhttp bd3d224eb8cdc92c6fc8f508d7bbe0ba266e8e92
2019-04-20 18:42:30 +09:00
Tatsuhiro Tsujikawa
f028cc4392
clang-format
2019-04-18 23:37:48 +09:00
Tatsuhiro Tsujikawa
302e37460f
Merge pull request #1337 from nghttp2/upgrade-mruby
...
Upgrade mruby
2019-04-18 23:37:18 +09:00
Tatsuhiro Tsujikawa
3cdbc5f525
Merge pull request #1335 from adamgolebiowski/boost-1.70
...
asio: support boost-1.70
2019-04-18 23:32:19 +09:00
Tatsuhiro Tsujikawa
a69251864b
Fix mruby build error
...
mruby minirake does not like CXX="clang++-7 -std=c++14" because it
expects CXX to be an executable. To workaround this, split CXX so
that CXX becomes a single word and move the rest of words to CXXFLAGS.
2019-04-18 23:04:33 +09:00
Tatsuhiro Tsujikawa
45d63d2006
Upgrade mruby to 2.0.1
2019-04-18 22:45:02 +09:00
Adam Gołębiowski
cbba1ebf8f
asio: support boost-1.70
...
In boost 1.70, deprecated get_io_context() has finally been removed.
Introduce GET_IO_SERVICE macro that based on boost version uses
old get_io_service() interface (boost < 1.70), or get_executor().context()
for boost 1.70+.
Commit based idea seen in monero-project/monero@17769db946
2019-04-18 12:35:54 +02:00
Tatsuhiro Tsujikawa
e86d1378da
Bump up version number to 1.39.0-DEV
2019-04-18 15:12:39 +09:00
Tatsuhiro Tsujikawa
4a9d200554
Update manual pages
2019-04-18 15:08:36 +09:00
Tatsuhiro Tsujikawa
acf6a9229d
Bump up version number to 1.38.0, LT revision to 31:3:17
2019-04-18 14:57:20 +09:00
Tatsuhiro Tsujikawa
4ff4582132
Update AUTHORS
2019-04-18 14:55:09 +09:00
Tatsuhiro Tsujikawa
42dce01ec1
Merge branch 'nghttpx-fix-backend-selection-on-retry'
2019-04-16 22:38:55 +09:00
Tatsuhiro Tsujikawa
a35059e3f1
nghttpx: Fix bug that altered authority and path affect backend selection
...
Fix bug that altered authority and path by per-pattern mruby script
affect backend selection on retry.
2019-04-16 22:18:30 +09:00
Tatsuhiro Tsujikawa
5a30fafdda
Merge branch 'nghttpx-fix-chunked-request-stall'
2019-04-16 00:26:18 +09:00
Tatsuhiro Tsujikawa
dce91ad37c
Merge branch 'nghttpx-dont-log-authorization'
2019-04-16 00:26:12 +09:00
Tatsuhiro Tsujikawa
2cff8b43cf
nghttpx: Fix bug that chunked request stalls
2019-04-15 23:58:30 +09:00
Tatsuhiro Tsujikawa
be96654d56
nghttpx: Don't log authorization request header field value with -LINFO
2019-04-15 22:59:26 +09:00
Tatsuhiro Tsujikawa
ce962c3fdf
Merge branch 'update-http-parser'
2019-04-15 22:33:14 +09:00
Tatsuhiro Tsujikawa
f931504e1c
Update http-parser to v2.9.1
...
http-parser c5c45636b85e7598223adede6ba2d8cb8fe03ebe
2019-04-15 22:23:03 +09:00
Tatsuhiro Tsujikawa
d978f351da
Fix bug that on_header callback is still called after stream is closed
2019-04-11 10:17:01 +09:00
Tatsuhiro Tsujikawa
ec519f22dc
Merge pull request #1270 from baitisj/master
...
Fix for compilation against modern LibreSSL
2019-03-13 20:52:50 +09:00
Tatsuhiro Tsujikawa
e8b213e367
Bump up version number to 1.38.0-DEV
2019-03-08 21:26:37 +09:00
Tatsuhiro Tsujikawa
cfb47d30a5
Take into account larger frame size for prioritization
...
Larger frame size just destroys multiplexing and prioritization does
not work.
2019-03-08 00:23:02 +09:00
Tatsuhiro Tsujikawa
dbbe4e017a
Remove unused field
2019-03-08 00:22:45 +09:00
Tatsuhiro Tsujikawa
371bc3a8f7
clang-format
2019-03-08 00:19:34 +09:00
Tatsuhiro Tsujikawa
5e7889c5ef
Update manual pages
2019-03-07 23:22:06 +09:00
Tatsuhiro Tsujikawa
b1b2ad5017
Bump up version number to 1.37.0, LT revision to 31:2:17
2019-03-07 23:18:49 +09:00
Tatsuhiro Tsujikawa
e043ca83c5
Update AUTHORS
2019-03-07 23:16:58 +09:00
Tatsuhiro Tsujikawa
c2434dfbbc
Simplify stream_less
2019-03-04 23:30:03 +09:00
Tatsuhiro Tsujikawa
816ad2102f
Reuse name when indexing header by referencing dynamic table
2019-03-04 23:30:03 +09:00
Tatsuhiro Tsujikawa
f5feb16ef4
Merge pull request #1295 from bratkartoffel/fix-compile-boringssl
...
Fix compilation with boringssl
2019-02-20 00:13:00 +09:00
Tatsuhiro Tsujikawa
adf09f2124
Merge pull request #1303 from donny-dont/fix-shared-install
...
Explicitly set install location when building shared libs
2019-02-20 00:10:50 +09:00
Don
2591960e2f
Explicitly set install location when building shared libs
2019-02-06 10:26:30 -08:00
Tatsuhiro Tsujikawa
d93842db3e
nghttpx: Fix backend stall if header and request body are sent in 2 packets
2019-01-23 17:57:12 +09:00
Tatsuhiro Tsujikawa
8dc2b263ba
nghttpx: Use std::priority_queue
2019-01-22 00:01:17 +09:00
Tatsuhiro Tsujikawa
8d842701b5
Update manual pages
2019-01-21 23:05:09 +09:00
Tatsuhiro Tsujikawa
de85b0fda5
Update README
2019-01-21 23:03:10 +09:00
Tatsuhiro Tsujikawa
5d6beed590
Merge branch 'nghttpx-backend-weight'
2019-01-21 22:59:39 +09:00
Tatsuhiro Tsujikawa
1ff9de4c87
nghttpx: Backend address selection with weight
2019-01-21 22:23:19 +09:00
Simon Frankenberger
34482ed4df
Fix compilation with boringssl
2019-01-18 20:12:57 +01:00
Tatsuhiro Tsujikawa
9b6ced66f3
Bump up version number to 1.37.0-DEV
2019-01-18 23:22:47 +09:00
Tatsuhiro Tsujikawa
e7e8ee5fe6
Update bash_completion
2019-01-18 21:21:12 +09:00
Tatsuhiro Tsujikawa
b3b4e33535
Update manual pages
2019-01-18 21:20:47 +09:00
Tatsuhiro Tsujikawa
bd93d90a89
Don't treat text as option if it matches -[0-9]
...
-[0-9] is valid option, but we don't use them so far and don't want to
mark integer -1 as option.
2019-01-18 21:18:18 +09:00
Tatsuhiro Tsujikawa
ea69c84b33
Bump up version number to 1.36.0
2019-01-18 21:12:46 +09:00
Tatsuhiro Tsujikawa
783b649bb1
Update AUTHORS
2019-01-18 21:10:49 +09:00
Tatsuhiro Tsujikawa
eb21e6f8f7
Merge branch 'update-http-parser'
2019-01-17 23:35:50 +09:00
Tatsuhiro Tsujikawa
ab2aa5672b
Fix test failure
...
Now http_parser_parse_url returns nonzero if empty URI is given.
2019-01-17 23:16:49 +09:00
Tatsuhiro Tsujikawa
ff87a54202
Use http-parser 0d0a24e19eb5ba232d2ea8859aba2a7cc6c42bc4
2019-01-17 23:08:27 +09:00
Tatsuhiro Tsujikawa
439dbce679
Merge branch 'nghttpx-h1-connection-pool-per-addr'
2019-01-14 22:29:20 +09:00
Tatsuhiro Tsujikawa
e9c9838cdc
nghttpx: Pool h1 backend connection per address
...
Pool HTTP/1.1 backend connection per address and reuse it only when
the next round robin index refers to this address. Previously if
there is a pooled connection, there is no round robin selection.
2019-01-14 22:20:58 +09:00
Tatsuhiro Tsujikawa
803d4ba948
Merge branch 'nghttpx-randomize-roundrobin-order'
2019-01-14 22:17:12 +09:00
Tatsuhiro Tsujikawa
732245e562
make clang-format
2019-01-12 00:11:31 +09:00
Tatsuhiro Tsujikawa
9e8d5433e7
Use clang-format-7
2019-01-12 00:11:19 +09:00
Tatsuhiro Tsujikawa
fdcdb21c38
nghttpx: Randomize backend address round robin order per thread
2019-01-11 22:36:45 +09:00
Tatsuhiro Tsujikawa
11d0533cfc
nghttpx: Ensure that cert serial does not exceed 20 bytes
2019-01-05 10:03:44 +09:00
Tatsuhiro Tsujikawa
dbb5f00d68
Merge pull request #1287 from rckclmbr/fix_serial_size
...
Fix getting long serial numbers for openssl < 1.1
2019-01-05 09:48:36 +09:00
Tatsuhiro Tsujikawa
9cc412e2fd
Merge pull request #1285 from staticinvocation/master
...
Add a CMake option to disable shared library
2019-01-05 09:40:54 +09:00
Josh Braegger
5b2efc0a12
Fix getting long serial numbers for openssl < 1.1
...
From https://www.ietf.org/rfc/rfc5280.txt
> As noted in Section 4.1.2.2, serial numbers can be expected to
> contain long integers. Certificate users MUST be able to handle
> serialNumber values up to 20 octets in length. Conforming CAs MUST
> NOT use serialNumber values longer than 20 octets.
Without this, nghttpx will fatal.
jbraeg$ openssl x509 -in ~/test_certs/client.crt -serial -noout
serial=E0CFDFC7CEA10DF8AAF715C37FAEB410
jbraeg$ curl -k --key ~/test_certs/client.key --cert ~/test_certs/client.crt https://192.168.98.100:3000/ ; echo
curl: (56) Unexpected EOF
...
Assertion failed: n == b.size() (shrpx_tls.cc: get_x509_serial: 2051)
2019-01-03T20:25:21.289Z 1 1 f84316ae NOTICE (shrpx_log.cc:895) Worker process: [9] exited abnormally with status 0x06; exit status 0; signal Aborted(6)
2019-01-03T20:25:21.290Z 1 1 f84316ae NOTICE (shrpx.cc:4311) Shutdown momentarily
2019-01-03 13:20:29 -08:00
Brendan Heinonen
7e4c48a461
Disable shared library if ENABLE_SHARED_LIB is OFF
...
Signed-off-by: Brendan Heinonen <brendan@heinonen.co >
2018-12-27 13:06:02 -05:00
Tatsuhiro Tsujikawa
082e162f3c
Merge pull request #1282 from alagoutte/travis
...
Travis: Update to Xenial
2018-12-26 20:44:39 +09:00
Alexis La Goutte
7cc7c06c7b
.travis(.yml): no longer need llvm-toolchain-trusty-7
...
clang-7 is enable by default
2018-12-26 10:18:54 +00:00
Alexis La Goutte
12ebeb30d0
.travis(.yml): Update to Xenial
...
Xenial is now available with Travis CI
https://blog.travis-ci.com/2018-11-08-xenial-release
2018-12-25 18:35:54 +00:00
Tatsuhiro Tsujikawa
c78abbe1d2
Update mruby to 2.0.0
2018-12-26 00:03:40 +09:00
Tatsuhiro Tsujikawa
124c7848c0
nghttpx: Add missing return
2018-12-11 22:52:34 +09:00
Tatsuhiro Tsujikawa
ce9667c4f5
Merge branch 'nghttpx-fix-trailing-slash-handling'
2018-12-09 17:47:28 +09:00
Tatsuhiro Tsujikawa
f3f40840b3
nghttpx: Fix broken trailing slash handling
...
nghttpx allows a pattern with trailing slash to match a request path
without it. Previously, under certain pattern registration, this does
not work.
2018-12-09 17:07:28 +09:00
Jeff 'Raid' Baitis
2c1570595e
Fix for compilation against modern LibreSSL
2018-12-02 13:30:42 -08:00
Tatsuhiro Tsujikawa
302abf1b46
h2load: Fix compile error with gcc
2018-11-23 14:39:51 +09:00
Tatsuhiro Tsujikawa
089a03be42
h2load: Write log file with write(2)
2018-11-23 13:08:38 +09:00
Tatsuhiro Tsujikawa
de4fe72861
Merge branch 'pyos-master'
2018-11-23 12:11:21 +09:00
dawg
d1b3a83f59
h2load: add an option to write per-request logs
2018-11-23 12:11:00 +09:00
Tatsuhiro Tsujikawa
eb6792533d
Merge branch 'puscas-port_in_use'
2018-11-23 11:00:39 +09:00
Pedro Santos
6800d317e7
added access to the number of the current server port
2018-11-23 10:56:21 +09:00
Tatsuhiro Tsujikawa
c98362eab1
Bump up version number to 1.36.0-DEV
2018-11-23 10:33:29 +09:00
Tatsuhiro Tsujikawa
e520469b3e
Update manual pages
2018-11-23 10:07:33 +09:00
Tatsuhiro Tsujikawa
54067256eb
Bump up version number to 1.35.0
2018-11-23 10:04:04 +09:00
Tatsuhiro Tsujikawa
c4d2eeeec7
Update AUTHORS
2018-11-23 10:01:20 +09:00
Tatsuhiro Tsujikawa
f51e696e4a
asio: Add stop() to listen_and_serve doc
2018-11-18 17:30:35 +09:00
Tatsuhiro Tsujikawa
a433b132fc
Merge pull request #1260 from nghttp2/h2load-non-final-response
...
h2load: Handle HTTP/1 non-final response
2018-11-15 17:32:15 +09:00
Tatsuhiro Tsujikawa
cf48a56d2e
Merge pull request #1238 from jktjkt/cmake-fix-libevent-detection
...
cmake: Fix libevent version detection
2018-11-15 17:11:02 +09:00
Tatsuhiro Tsujikawa
6cad1b243b
nghttpx: Write mruby send_info early
2018-11-15 10:17:47 +09:00
Tatsuhiro Tsujikawa
3c393dca58
nghttpx: Fix assertion failure on mruby send_info with HTTP/1 frontend
2018-11-15 10:17:41 +09:00
Tatsuhiro Tsujikawa
172924457f
h2load: Handle HTTP/1 non-final response
2018-11-15 10:13:19 +09:00
Tatsuhiro Tsujikawa
f6644a92af
make clang-format
2018-11-09 22:29:18 +09:00
Tatsuhiro Tsujikawa
48998f7239
Merge pull request #1222 from donny-dont/fix/declspec
...
Use __has_declspec_attribute for shared builds
2018-11-09 22:18:06 +09:00
Tatsuhiro Tsujikawa
15ff52f9fb
Update README
2018-11-02 18:28:00 +09:00
Tatsuhiro Tsujikawa
6c03bb142b
Upgrade travis toolchain
2018-11-02 17:57:16 +09:00
Tatsuhiro Tsujikawa
524b439221
Fix travis build failure
2018-11-02 17:56:53 +09:00
Tatsuhiro Tsujikawa
859bf2bc41
Update manual pages
2018-11-02 15:44:57 +09:00
Tatsuhiro Tsujikawa
b5619fb156
h2load: Clarify that time for connect includes TLS handshake
2018-11-02 15:43:35 +09:00
Tatsuhiro Tsujikawa
dcbe0c690f
nghttpx: Simplify move ctor and operator
2018-11-02 15:40:53 +09:00
Tatsuhiro Tsujikawa
2996c28456
nghttpx: Cleanup
2018-11-02 15:16:36 +09:00
Tatsuhiro Tsujikawa
42e8ceb656
nghttpx: Convert API status code to enum class
2018-11-02 14:14:48 +09:00
Tatsuhiro Tsujikawa
1daf9ce8b7
nghttpx: Convert WorkerEventType to enum class
2018-11-02 14:14:48 +09:00
Tatsuhiro Tsujikawa
d68edf56c0
nghttpx: Convert MemcachedStatusCode to enum class
2018-11-02 14:14:48 +09:00
Tatsuhiro Tsujikawa
0c4e9fef29
nghttpx: Convert memcached op to enum class
2018-11-02 14:14:48 +09:00
Tatsuhiro Tsujikawa
571404c6e8
nghttpx: Convert MemcachedParseState to enum class
2018-11-02 14:14:48 +09:00
Tatsuhiro Tsujikawa
4d562b773b
nghttpx: Convert LogFragmentType to enum class
2018-11-02 14:14:48 +09:00
Tatsuhiro Tsujikawa
e62258713e
nghttpx: Convert connection check status to enum class
2018-11-02 14:14:48 +09:00
Tatsuhiro Tsujikawa
4bd075defd
nghttpx: Convert Http2Session state to enum class
2018-11-02 14:14:48 +09:00
Tatsuhiro Tsujikawa
b46a324943
nghttpx: Convert FreelistZone to enum class
2018-10-17 14:19:58 +09:00
Tatsuhiro Tsujikawa
4bd44b9cdf
nghttpx: Convert dispatch state to enum class
2018-10-17 14:19:58 +09:00
Tatsuhiro Tsujikawa
1b42110d4f
nghttpx: Make Downstream state enum class
2018-10-17 14:19:58 +09:00
Tatsuhiro Tsujikawa
0735ec55f3
nghttpx: Convert shrpx_connect_proto to enum class
2018-10-17 14:19:58 +09:00
Tatsuhiro Tsujikawa
00554779e1
nghttpx: Convert DNSResolverStatus to enum class
2018-10-17 14:19:58 +09:00
Tatsuhiro Tsujikawa
0963f38935
nghttpx: Convert SerialEventType to enum class
2018-10-17 14:19:58 +09:00
Tatsuhiro Tsujikawa
1abfa3ca5f
nghttpx: Make TLS handshake state enum class
2018-10-17 08:52:27 +09:00
Tatsuhiro Tsujikawa
f2159bc2c1
nghttpx: Convert UpstreamAltMode to enum class
2018-10-17 08:38:55 +09:00
Tatsuhiro Tsujikawa
b0eb68ee9e
nghttpx: Convert shrpx_forwarded_node_type to enum class
2018-10-16 23:10:17 +09:00
Tatsuhiro Tsujikawa
e7b7b037f6
nghttpx: Convert shrpx_cookie_secure to enum class
2018-10-16 23:06:59 +09:00
Tatsuhiro Tsujikawa
5e4f434fd8
nghttpx: Convert shrpx_session_affinity to enum class
2018-10-16 23:03:17 +09:00
Tatsuhiro Tsujikawa
20ea964f2f
nghttpx: Convert shrpx_proto to enum class
2018-10-16 22:59:34 +09:00
Tatsuhiro Tsujikawa
d105619bc3
src: Remove extra braces if possible
2018-10-15 23:46:33 +09:00
Tatsuhiro Tsujikawa
ec5729b1fa
Use std::make_unique
2018-10-15 23:02:44 +09:00
Tatsuhiro Tsujikawa
6c9196953e
Use C++14
2018-10-15 22:35:05 +09:00
Tatsuhiro Tsujikawa
46576178a3
Don't send Transfer-Encoding to pre-HTTP/1.1 clients
2018-10-14 22:57:54 +09:00
Tatsuhiro Tsujikawa
5e925f873e
Update doc
2018-10-14 22:57:11 +09:00
Tatsuhiro Tsujikawa
153531d4d0
nghttpx: Use the same type as standard stream operator<<
2018-10-07 22:19:00 +09:00
Tatsuhiro Tsujikawa
f7287df03f
Bump up version number to 1.35.0-DEV
2018-10-04 12:38:10 +09:00
Tatsuhiro Tsujikawa
2b085815b7
Update manual pages
2018-10-04 12:31:06 +09:00
Tatsuhiro Tsujikawa
986fa30264
Bump up version number to 1.34.0, LT revision to 31:1:17
2018-10-04 12:30:18 +09:00
Tatsuhiro Tsujikawa
7c8cb3a0ce
nghttpx: Improve CONNECT response status handling
2018-10-04 12:04:15 +09:00
Tatsuhiro Tsujikawa
334c439ce0
Fix bug that regular CONNECT does not work
2018-10-04 12:02:46 +09:00
Jan Kundrát
6c17ed7e61
cmake: Fix libevent version detection
...
On my x86_64 Gentoo Linux, the CMake build won't find libevent because
Gentoo wraps include files via multilib-aware wrappers. This means that
the "real" include file lives in
/usr/include/x86_64-pc-linux-gnu/event2/event-config.h , and that
there's a proxy file at /usr/include/event2/event-config.h which check
the compile target's architecture and includes the real file from a
correct directory.
In other words, nghttp2's CMake FindLibevent.cmake reads a wrong file
and ends up not detecting the libevent's version.
This patch fixes it by simply using the version reported by pkg-config
as the libevent's version if the original method fails. I will be happy
to change this patch to always check version from pkg-config if you're
OK with that.
Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz >
2018-10-03 17:38:17 +02:00
Tatsuhiro Tsujikawa
6700626c30
Rule out content-length in the successful response to CONNECT
2018-10-03 23:24:32 +09:00
Tatsuhiro Tsujikawa
15162addc4
Update manual pages
2018-10-02 01:34:32 +09:00
Tatsuhiro Tsujikawa
9327077741
Merge pull request #1235 from nghttp2/backend-conn-timeout
...
nghttpx: Add read/write-timeout parameters to backend option
2018-09-30 13:17:24 +09:00
Tatsuhiro Tsujikawa
aeb92bbbe2
nghttpx: Add read/write-timeout parameters to backend option
2018-09-30 12:32:43 +09:00
Tatsuhiro Tsujikawa
fc7489e044
nghttpx: Fix mruby parameter validation
2018-09-30 12:30:19 +09:00
Tatsuhiro Tsujikawa
87ac872fdc
nghttpx: Update doc
2018-09-30 12:28:43 +09:00
Tatsuhiro Tsujikawa
c278adde7a
nghttpx: Log error when mruby file cannot be opened
2018-09-30 12:23:01 +09:00
Tatsuhiro Tsujikawa
f94d720909
Merge pull request #1234 from nghttp2/nghttpx-rfc8441
...
nghttpx: Implement RFC 8441 Bootstrapping WebSocket with HTTP/2
2018-09-29 11:54:47 +09:00
Tatsuhiro Tsujikawa
9b9baa6bd9
Update doc
2018-09-29 11:46:11 +09:00
Tatsuhiro Tsujikawa
02566ee383
nghttpx: Update doc
2018-09-29 11:42:37 +09:00
Tatsuhiro Tsujikawa
3002f31b1f
src: Add debug output for SETTINGS_ENABLE_CONNECT_PROTOCOL
2018-09-29 11:39:49 +09:00
Tatsuhiro Tsujikawa
d2a594a753
nghttpx: Implement RFC 8441 Bootstrapping WebSocket with HTTP/2
2018-09-29 11:35:41 +09:00
Tatsuhiro Tsujikawa
651e147711
Allow client sending :protocol optimistically
2018-09-28 00:12:02 +09:00
Tatsuhiro Tsujikawa
a42faf1cc2
nghttpx: Write TLS alert during handshake
2018-09-23 18:01:38 +09:00
Tatsuhiro Tsujikawa
4aac05e193
Merge pull request #1231 from nghttp2/ws-lib-only
...
Implement RFC 8441
2018-09-23 17:34:53 +09:00
Tatsuhiro Tsujikawa
b80dfaa8a0
Adjustment for RFC 8441
2018-09-23 11:22:30 +09:00
Tatsuhiro Tsujikawa
a19d8f5d31
Deal with :protocol pseudo header
2018-09-23 10:36:30 +09:00
Tatsuhiro Tsujikawa
33f6e90a56
Add NGHTTP2_TOKEN__PROTOCOL
2018-09-23 10:36:30 +09:00
Tatsuhiro Tsujikawa
ed7fabcbc2
Add SETTINGS_ENABLE_CONNECT_PROTOCOL
2018-09-23 10:36:30 +09:00
Tatsuhiro Tsujikawa
8753b6da14
Update doc
2018-09-17 16:12:15 +09:00
Tatsuhiro Tsujikawa
f2de733bdf
Update neverbleed to fix OpenSSL 1.1.1 issues
2018-09-16 22:55:07 +09:00
Tatsuhiro Tsujikawa
88ff8c69a0
Update mruby 1.4.1
2018-09-16 22:54:09 +09:00
Tatsuhiro Tsujikawa
a63558a1eb
nghttpx: Call OCSP_response_get1_basic only when OCSP status is successful
2018-09-16 22:19:27 +09:00
Tatsuhiro Tsujikawa
3575a1325e
nghttpx: Fix crash with plain text HTTP
2018-09-15 12:16:23 +09:00
Tatsuhiro Tsujikawa
e2de2fee69
Update bash_completion
2018-09-15 11:15:22 +09:00
Tatsuhiro Tsujikawa
9f415979fb
Update manual pages
2018-09-15 11:15:04 +09:00
Tatsuhiro Tsujikawa
4bfc0cd196
Merge pull request #1230 from nghttp2/nghttpx-faster-logging
...
nghttpx: Get rid of std::stringstream from Log
2018-09-14 23:13:03 +09:00
Tatsuhiro Tsujikawa
9c824b87fe
nghttpx: Get rid of std::stringstream from Log
2018-09-14 22:58:48 +09:00
Tatsuhiro Tsujikawa
a1ea1696be
Make VALID_HD_NAME_CHARS and VALID_HD_VALUE_CHARS const qualified
2018-09-13 23:50:31 +09:00
Tatsuhiro Tsujikawa
dfc0f248c6
Make static_table const qualified
2018-09-13 23:48:53 +09:00
Tatsuhiro Tsujikawa
ed7c9db2a6
nghttpx: Add mruby env.tls_handshake_finished
2018-09-09 22:59:35 +09:00
Tatsuhiro Tsujikawa
5b42815afb
nghttpx: Strip incoming Early-Data header field by default
2018-09-09 22:37:22 +09:00
Tatsuhiro Tsujikawa
cfe7fa9a75
nghttpx: Add --tls13-ciphers and --tls-client-ciphers options
2018-09-09 16:35:47 +09:00
Tatsuhiro Tsujikawa
cb8a9d58fd
src: Remove TLSv1.3 ciphers from DEFAULT_CIPHER_LIST
...
TLSv1.3 ciphers are treated differently from the ciphers for TLSv1.2
or earlier.
2018-09-09 15:53:04 +09:00
Tatsuhiro Tsujikawa
023b94480b
Merge branch 'tls13-early-data'
2018-09-09 15:48:25 +09:00
Tatsuhiro Tsujikawa
9b03c64f68
nghttpx: Should postpone early data by default
2018-09-08 19:22:30 +09:00
Tatsuhiro Tsujikawa
b8eccec62d
nghttpx: Disable OpenSSL anti-replay
2018-09-08 19:10:59 +09:00
Tatsuhiro Tsujikawa
9f21258720
Specify SSL_CTX_set_max_early_data and add an option to change max value
2018-09-08 17:59:28 +09:00
Tatsuhiro Tsujikawa
47f6012407
nghttpx: Add an option to postpone early data processing
2018-09-08 17:57:21 +09:00
Tatsuhiro Tsujikawa
770e44de4d
Implement draft-ietf-httpbis-replay-02
...
nghttpx sends early-data header field when forwarding requests which
are received in TLSv1.3 early data, and the TLS handshake is still in
progress.
2018-09-08 17:54:35 +09:00
Tatsuhiro Tsujikawa
2ab319c137
Don't hide error code from openssl
2018-09-08 17:54:35 +09:00
Tatsuhiro Tsujikawa
3992302432
Remove SSL_ERROR_WANT_WRITE handling
2018-09-08 17:54:35 +09:00
Tatsuhiro Tsujikawa
b30f312a70
Honor SSL_read semantics
2018-09-08 17:54:35 +09:00
Tatsuhiro Tsujikawa
c5cdb78a95
nghttpx: Add TLSv1.3 0-RTT early data support
2018-09-08 17:54:35 +09:00
Don
d82811303b
Use __has_declspec_attribute for shared builds
2018-09-05 10:01:50 -07:00
Tatsuhiro Tsujikawa
f79a58120e
Bump up version number to 1.34.0
2018-09-02 15:55:08 +09:00
Tatsuhiro Tsujikawa
9d843334d6
Update bash_completion
2018-09-02 15:34:33 +09:00
Tatsuhiro Tsujikawa
23cb3f38a6
Update manual pages
2018-09-02 15:33:58 +09:00
Tatsuhiro Tsujikawa
1d682dcdae
Bump up version number to 1.33.0, LT revision to 31:0:17
2018-09-02 15:24:28 +09:00
Tatsuhiro Tsujikawa
601fbbb4ae
Update doc
2018-09-02 15:24:12 +09:00
Tatsuhiro Tsujikawa
f44aa2466f
Update AUTHORS
2018-09-02 15:15:52 +09:00
Tatsuhiro Tsujikawa
dd74a6dd34
Update manual pages
2018-09-02 14:59:38 +09:00
Tatsuhiro Tsujikawa
e959e7338e
src: Refactor utos
2018-09-01 22:29:11 +09:00
Tatsuhiro Tsujikawa
fb9a204de2
nghttpx: Fix compile error without mruby
2018-08-31 21:58:35 +09:00
Tatsuhiro Tsujikawa
cd096802bd
Update doc
2018-08-28 17:58:18 +09:00
Tatsuhiro Tsujikawa
7417fd71a4
nghttpx: Per-pattern not per-backend
2018-08-28 17:50:01 +09:00
Tatsuhiro Tsujikawa
2d1a981c81
Merge branch 'akonskarm-master'
2018-08-27 21:34:41 +09:00
Tatsuhiro Tsujikawa
45acc922eb
clang-format
2018-08-27 21:34:18 +09:00
Tatsuhiro Tsujikawa
214d089910
Merge branch 'master' of https://github.com/akonskarm/nghttp2 into akonskarm-master
2018-08-27 21:30:36 +09:00
Tatsuhiro Tsujikawa
31fd707d0c
nghttpx: Fix broken healthmon frontend
2018-08-27 21:21:55 +09:00
Alexandros Konstantinakis-Karmis
9a2e38e058
fix code for reuse addr on asio client
2018-08-27 10:53:14 +03:00
Tatsuhiro Tsujikawa
d24527e7e6
Bump up LT revision due to v1.32.1 release
2018-08-25 17:01:22 +09:00
Tatsuhiro Tsujikawa
6195d747ce
nghttpx: Share mruby context if it is compiled from same file
2018-08-24 23:11:21 +09:00
Tatsuhiro Tsujikawa
fb97f596e1
nghttpx: Allocate mruby file because fopen requires NULL terminated string
2018-08-24 23:08:15 +09:00
Tatsuhiro Tsujikawa
0ccc7a770d
nghttpx: Move blocked request data to request buffer for API request
2018-08-24 23:07:43 +09:00
Tatsuhiro Tsujikawa
32826466f5
nghttpx: Fix crash with API request
2018-08-24 23:07:16 +09:00
Tatsuhiro Tsujikawa
0422f8a844
nghttpx: Fix worker process crash with neverbleed write error
2018-08-24 22:22:53 +09:00
Tatsuhiro Tsujikawa
e329479a99
Merge pull request #1215 from nghttp2/mruby-per-backend
...
nghttpx: Support per-backend mruby script
2018-08-23 18:41:40 +09:00
Tatsuhiro Tsujikawa
f80a7873ba
Merge branch 'akonskarm-reuse_addr'
2018-08-23 18:19:46 +09:00
Alexandros Konstantinakis-Karmis
866ac6ab27
add option reuse addr in local endpoint configuration of asio client
2018-08-23 18:19:10 +09:00
Tatsuhiro Tsujikawa
b574ae6aa2
nghttpx: Support per-backend mruby script
2018-08-23 18:13:29 +09:00
Tatsuhiro Tsujikawa
de4fd7cd35
doc: Update doc
2018-08-23 11:01:12 +09:00
Tatsuhiro Tsujikawa
32d7883c47
nghttpx: Downstream::request_buf_full: take into account blocked_request_buf_
2018-08-23 10:55:42 +09:00
Tatsuhiro Tsujikawa
9b24e19763
nghttpx: Choose h1 protocol if headers have been sent to backend on retry
2018-08-22 23:20:13 +09:00
Tatsuhiro Tsujikawa
13ffece12d
Merge pull request #1214 from nghttp2/fix-rst-without-dconn
...
Fix stream reset if data from client is arrived before dconn is attached
2018-08-22 23:05:01 +09:00
Tatsuhiro Tsujikawa
9d5b781df6
Fix stream reset if data from client is arrived before dconn is attached
2018-08-22 22:32:25 +09:00
Tatsuhiro Tsujikawa
11d822c2a7
Merge pull request #1211 from nghttp2/stream-user-data
...
Tweak nghttp2_session_set_stream_user_data
2018-08-19 21:01:08 +09:00
Tatsuhiro Tsujikawa
4098512b5d
Tweak nghttp2_session_set_stream_user_data
...
nghttp2_session_set_stream_user_data now works for a stream which is
not created yet, but the request which creates the stream is queued.
2018-08-18 17:38:58 +09:00
Tatsuhiro Tsujikawa
7e06ac1072
Merge branch 'akonskarm-master'
2018-08-02 16:18:51 +09:00
Alexandros Konstantinakis-Karmis
c6d8c4013c
support definition of local endpoint for cleartext client session
2018-08-02 16:18:23 +09:00
Tatsuhiro Tsujikawa
e5b3f9addd
Compile with clang-6.0
2018-06-09 16:27:43 +09:00
Tatsuhiro Tsujikawa
880f948684
Enable IndentPPDirectives
2018-06-09 16:21:30 +09:00
Tatsuhiro Tsujikawa
bda7e079e2
Update .clang-format
2018-06-09 16:20:27 +09:00
Tatsuhiro Tsujikawa
fc94018b97
clang-format-6.0
2018-06-09 16:02:26 +09:00
Tatsuhiro Tsujikawa
159c5e446a
Merge pull request #1184 from PiotrSikora/max_streams
...
Fix handling of SETTINGS_MAX_CONCURRENT_STREAMS.
2018-06-05 22:02:02 +09:00
Tatsuhiro Tsujikawa
bfd4d8b052
Merge pull request #1183 from PiotrSikora/spdy
...
Remove remaining SPDY code from the integration tests.
2018-06-03 13:14:25 +09:00
Tatsuhiro Tsujikawa
388e785822
Fix typo
2018-06-03 13:10:32 +09:00
Piotr Sikora
2ba1389993
Fix handling of SETTINGS_MAX_CONCURRENT_STREAMS.
...
The maximum number of outgoing concurrent streams is initially
limited to 100 to avoid issues when the local endpoint submits
lots of requests before receiving initial SETTINGS frame from
the remote endpoint, since sending them at once to the remote
endpoint could lead to rejection of some of the requests.
This initial limit is overwritten with the value advertised in
SETTINGS_MAX_CONCURRENT_STREAMS setting by the remote endpoint,
but previously, it wasn't lifted if the remote endpoint didn't
advertise that setting (implying no limits), in which case the
limit of 100 was retained, even though it was never advertised
by the remote endpoint.
Signed-off-by: Piotr Sikora <piotrsikora@google.com >
2018-05-30 20:24:00 -07:00
Piotr Sikora
d65a417306
Remove remaining SPDY code from the integration tests.
...
Signed-off-by: Piotr Sikora <piotrsikora@google.com >
2018-05-30 17:45:20 -07:00
Tatsuhiro Tsujikawa
575bc309b9
Fix typo
2018-05-12 13:07:52 +09:00
Tatsuhiro Tsujikawa
00909d0742
Update doc
2018-05-12 13:07:04 +09:00
Tatsuhiro Tsujikawa
a7e38724e7
Merge pull request #1177 from nghttp2/origin-frame
...
ORIGIN frame
2018-05-12 13:03:12 +09:00
Tatsuhiro Tsujikawa
325612bcde
nghttp: Receive ORIGIN frame
2018-05-12 12:35:08 +09:00
Tatsuhiro Tsujikawa
8034221525
Implement ORIGIN frame
2018-05-12 12:35:08 +09:00
Tatsuhiro Tsujikawa
2e6593e5a5
Bump up version number to 1.33.0-DEV
2018-05-08 22:36:31 +09:00
Tatsuhiro Tsujikawa
572735e496
Update manual pages
2018-05-08 22:18:42 +09:00
Tatsuhiro Tsujikawa
e8d693c395
Bump up version number to 1.32.0, LT revision to 30:2:16
2018-05-08 22:12:43 +09:00
Tatsuhiro Tsujikawa
f44dfcd9dc
Update AUTHORS
2018-05-08 22:11:06 +09:00
Tatsuhiro Tsujikawa
1f1b0d93d4
Update manual pages
2018-05-07 21:43:13 +09:00
Tatsuhiro Tsujikawa
ce8c749b77
Merge pull request #1173 from nghttp2/asio-client-sni
...
asio: Support client side SNI
2018-05-04 10:26:31 +09:00
Tatsuhiro Tsujikawa
3e4f257b91
asio: Support client side SNI
2018-05-03 20:29:16 +09:00
Tatsuhiro Tsujikawa
86fab997b4
Upgrade neverbleed to the latest master
2018-05-03 14:51:59 +09:00
Tatsuhiro Tsujikawa
c3ecd44592
Merge pull request #1171 from nghttp2/h2load-rate-and-duration
...
h2load: -r and --duration are mutually exclusive
2018-04-28 01:23:22 +09:00
Tatsuhiro Tsujikawa
c65ca20a49
h2load: -r and --duration are mutually exclusive
2018-04-28 00:30:43 +09:00
Tatsuhiro Tsujikawa
a5c408c5e3
Ignore all input after calling session_terminate_session
2018-04-22 14:42:28 +09:00
Tatsuhiro Tsujikawa
06379b2861
Fix treatment of padding
2018-04-22 14:42:28 +09:00
Tatsuhiro Tsujikawa
e04de48ed9
Merge pull request #1162 from nghttp2/libressl
...
Libressl
2018-04-14 23:57:20 +09:00
Tatsuhiro Tsujikawa
009646421c
Use LIBRESSL_IN_USE instead of defined(LIBRESSL_VERSION_NUMBER)
2018-04-14 18:31:57 +09:00
Tatsuhiro Tsujikawa
8d0b4544f8
libressl 2.7 has X509_VERIFY_PARAM_*
2018-04-14 18:31:57 +09:00
Tatsuhiro Tsujikawa
d8a34131e1
libressl 2.7 has SSL_CTX_get0_certificate
2018-04-14 18:31:57 +09:00
Tatsuhiro Tsujikawa
5db17d0af9
Compile with libressl 2.7.2
2018-04-14 18:09:47 +09:00
Tatsuhiro Tsujikawa
1bf69b5662
Define LIBRESSL_LEGACY_API and LIBRESSL_2_7_API
...
LIBRESSL_LEGACY_API is drop-in replacement for LIBRESSL_IN_USE. In
the upcoming commits, we will add changes to support libressl 2.7.
2018-04-14 18:09:47 +09:00
Tatsuhiro Tsujikawa
3febaef1fa
Bump up LT revision to 30:1:16 due to v1.31.1 release
2018-04-13 00:24:13 +09:00
Tatsuhiro Tsujikawa
b1bd6035e8
Fix frame handling
2018-04-07 00:27:55 +09:00
Tatsuhiro Tsujikawa
b48bcb214a
examples: Use C style comment in .c files
2018-04-03 22:08:24 +09:00
Tatsuhiro Tsujikawa
6f3ce2c72d
examples: Remove unused lambda capture
2018-04-03 22:07:02 +09:00
Tatsuhiro Tsujikawa
2f9121cf44
Merge branch 'Sp1l-Sp1l/allow-no-npn'
2018-04-03 21:42:17 +09:00
Tatsuhiro Tsujikawa
e65e7711ca
Add comment on #endif
2018-04-03 21:39:44 +09:00
Tatsuhiro Tsujikawa
636ef51b0f
Fix compile error with -Wunused-function
2018-04-03 21:33:09 +09:00
Bernard Spil
400934e5a3
[PATCH] Allow building without NPN
...
NPN has been superseeded by ALPN. OpenSSL provides a configure
option to disable npn (no-npn) which results in an OpenSSL
installation that defines OPENSSL_NO_NEXTPROTONEG in opensslconf.h
The #ifdef's look safe here (as the next_proto is initialized as
nullptr). Alteratively, macros could be defined for the used npn
methods that return a 0 for next_proto.
Signed-off-by: Bernard Spil <brnrd@FreeBSD.org >
2018-03-25 18:27:23 +02:00
Tatsuhiro Tsujikawa
4c3a3acf9b
Merge pull request #1146 from vszakats/cmakestaticlib
...
cmake: add ENABLE_STATIC_LIB option to build static lib
2018-03-13 23:06:29 +09:00
Tatsuhiro Tsujikawa
9aa6002c37
Merge pull request #1144 from hellojaewon/master
...
Fix typo
2018-03-13 23:04:05 +09:00
Viktor Szakats
f342260bfe
cmake: add ENABLE_STATIC_LIB option to build static lib
...
When using the ENABLE_LIB_ONLY option, only the shared
library was built. This new option allows to build the
static library as well.
2018-03-12 22:41:37 +00:00
jwchoi
a6dd497016
Fix typo
2018-03-12 09:19:19 +09:00
Tatsuhiro Tsujikawa
842509dab6
Don't allow 101 HTTP status code because HTTP/2 removes HTTP Upgrade
2018-03-11 15:37:30 +09:00
Tatsuhiro Tsujikawa
4add618a3f
Bump up version number to 1.32.0-DEV
2018-02-27 22:32:00 +09:00
Tatsuhiro Tsujikawa
6e74466231
Update bash_completion
2018-02-27 21:18:50 +09:00
Tatsuhiro Tsujikawa
478eac099f
Update manual pages
2018-02-27 21:18:05 +09:00
Tatsuhiro Tsujikawa
88e2029e37
Bump up version number to 1.31.0, LT revision to 30:0:16
2018-02-27 21:15:26 +09:00
Tatsuhiro Tsujikawa
45d76cf501
nghttpx: Close listening socket on graceful shutdown
2018-02-26 22:40:24 +09:00
Tatsuhiro Tsujikawa
54573f28a8
Merge pull request #1137 from nghttp2/session-set-user-data
...
Add nghttp2_session_set_user_data() public API function
2018-02-25 18:26:43 +09:00
Tatsuhiro Tsujikawa
17793e99dc
Add nghttp2_session_set_user_data() public API function
2018-02-22 21:02:16 +09:00
Tatsuhiro Tsujikawa
5eac3c9025
Update manual pages
2018-02-22 16:14:34 +09:00
Tatsuhiro Tsujikawa
e70195ae91
nghttpx: Update doc
2018-02-22 16:12:38 +09:00
Tatsuhiro Tsujikawa
fe51e7fa1a
Merge pull request #1130 from nghttp2/avoid-inet_pton-macro
...
src: Define nghttp2_inet_pton wrapper to avoid inet_pton macro
2018-02-17 22:58:37 +09:00
Tatsuhiro Tsujikawa
eb951c2ce4
src: Define nghttp2_inet_pton wrapper to avoid inet_pton macro
2018-02-12 16:22:47 +09:00
Tatsuhiro Tsujikawa
39f0ce7c25
Merge pull request #1126 from nghttp2/nghttpx-expired-client-cert
...
nghttpx: Add an option to accept expired client certificate
2018-02-10 16:00:43 +09:00
Tatsuhiro Tsujikawa
65157811d4
Merge pull request #1123 from nghttp2/mruby-client-cert-not-before-after
...
nghttpx: Add mruby tls_client_not_before, and tls_client_not_after
2018-02-10 16:00:29 +09:00
Tatsuhiro Tsujikawa
e8af7afc65
nghttpx: Add an option to accept expired client certificate
2018-02-08 16:51:23 +09:00
Tatsuhiro Tsujikawa
38abfd1863
nghttpx: Add mruby tls_client_not_before, and tls_client_not_after
2018-02-08 16:25:31 +09:00
Tatsuhiro Tsujikawa
ff3edc09ed
nghttpx: Fix potential memory leak
2018-02-03 18:21:42 +09:00
Tatsuhiro Tsujikawa
0bb1540682
Bump up version number to 1.31.0-DEV
2018-02-02 22:17:47 +09:00
Tatsuhiro Tsujikawa
f0836c7e39
Update manual pages
2018-02-02 21:19:16 +09:00
Tatsuhiro Tsujikawa
25db178b7d
Bump up version number to 1.30.0, LT revision to 29:2:15
2018-02-02 21:15:03 +09:00
Tatsuhiro Tsujikawa
1b6713e6ec
Update AUTHORS
2018-02-02 21:12:40 +09:00
Tatsuhiro Tsujikawa
c1a496cf4e
nghttpx: Fix bug that h1 backend idle timeout expires sooner
2018-02-02 21:09:04 +09:00
Tatsuhiro Tsujikawa
e098a21132
mruby: Fix bug that response header is unexpectedly overwritten
...
The bug is the same bug fixed by
6deee2037d , but in response handler.
2018-01-28 19:41:45 +09:00
Tatsuhiro Tsujikawa
0ba4bf51e4
Merge pull request #1120 from dylanplecki/issue-1119-mruby-header-overwrite
...
Fix #1119 : Overwrite of first header on mruby call to env.req.set_header(..)
2018-01-28 19:35:20 +09:00
Dylan Plecki
6deee2037d
Fix #1119 : Stop overwrite of first header on mruby call to env.req.set_header(..)
2018-01-26 18:49:08 -08:00
Tatsuhiro Tsujikawa
6761a933fe
Merge pull request #1105 from nghttp2/nghttpx-upgrade-scheme
...
nghttpx: Add upgrade-scheme parameter to backend option
2018-01-14 23:44:00 +09:00
Tatsuhiro Tsujikawa
5cc3d159e1
nghttpx: Add upgrade-scheme parameter to backend option
...
If "upgrade-scheme" parameter is present in backend option along with
"tls" paramter, HTTP/2 :scheme pseudo header field is changed to
"https" from "http" when forwarding a request to this particular
backend. This is a workaround for a server which requests "https"
scheme on HTTP/2 connection encrypted by TLS.
2018-01-08 18:08:01 +09:00
Tatsuhiro Tsujikawa
652f57e79d
Merge pull request #1104 from nghttp2/allow-ping-after-goaway
...
Allow PING frame to be sent after GOAWAY
2018-01-08 17:26:47 +09:00
Tatsuhiro Tsujikawa
acd6b40e4c
Allow PING frame to be sent after GOAWAY
2018-01-08 17:03:48 +09:00
Tatsuhiro Tsujikawa
0fbb46edd6
Merge pull request #1101 from nghttp2/remember-pushed-links
...
nghttpx: Remember which resource is pushed
2018-01-04 23:15:35 +09:00
Tatsuhiro Tsujikawa
6ad629de47
Merge pull request #1102 from nghttp2/fix-missing-alpn-validation
...
nghttpx: Fix missing ALPN validation (--npn-list)
2018-01-04 23:15:10 +09:00
Tatsuhiro Tsujikawa
74754982f1
nghttpx: Fix missing ALPN validation (--npn-list)
...
This commit fixes the bug that ALPN validation does not occur when
ALPN list is not sent from client.
2018-01-04 22:43:47 +09:00
Tatsuhiro Tsujikawa
a31a2e3b2c
nghttpx: Remember which resource is pushed
...
Remember which resource is pushed in order to conform to the semantics
described in RFC 8297.
2018-01-04 22:35:22 +09:00
Tatsuhiro Tsujikawa
a776b0dbcc
Merge pull request #1092 from nghttp2/define-103
...
src: Define 103 status code
2017-12-20 20:39:22 +09:00
Tatsuhiro Tsujikawa
cfd926f09b
src: Define 103 status code
2017-12-20 19:30:55 +09:00
Tatsuhiro Tsujikawa
72f52716ae
Bump up version number to 1.30.0-DEV
2017-12-19 23:37:09 +09:00
Tatsuhiro Tsujikawa
439b9b6c6a
Update manual pages
2017-12-19 23:18:56 +09:00
Tatsuhiro Tsujikawa
4849845292
Bump up version number to v1.29.0, LT revision to 29:1:15
2017-12-19 23:16:34 +09:00
Tatsuhiro Tsujikawa
d30f38163c
Update manual pages
2017-12-17 14:16:53 +09:00
Tatsuhiro Tsujikawa
cff9ebe1dd
Merge pull request #1091 from nghttp2/remove-spdy
...
Remove SPDY
2017-12-17 14:14:14 +09:00
Tatsuhiro Tsujikawa
4d1139f653
Remove SPDY
2017-12-17 13:28:44 +09:00
Tatsuhiro Tsujikawa
48f574076c
nghttpx: Update doc
2017-12-16 00:13:27 +09:00
Tatsuhiro Tsujikawa
c1f14d73c7
Update manual pages
2017-12-14 22:25:07 +09:00
Tatsuhiro Tsujikawa
216f4dad83
nghttpx: Remove redundant check
2017-12-14 21:39:22 +09:00
Tatsuhiro Tsujikawa
a4e27d766b
Revert "nghttpx: Use an existing h2 backend connection as much as possible"
...
This reverts commit f507b5eee4 .
Balancing load is more important at the moment.
2017-12-14 21:34:04 +09:00
Tatsuhiro Tsujikawa
96df14d2ec
Merge pull request #1084 from dvetutnev/cmake_module_path
...
Fix CMAKE_MODULE_PATH
2017-12-14 21:19:34 +09:00
Dmitriy Vetutnev
2365f12e39
Fix CMAKE_MODULE_PATH
2017-12-06 20:48:52 +03:00
Tatsuhiro Tsujikawa
96ea9cdaf7
Merge pull request #1083 from nghttp2/nghttpx-api-tmp-file
...
nghttpx: Write API request body in temporary file
2017-12-03 16:43:54 +09:00
Tatsuhiro Tsujikawa
03f7ec0f60
nghttpx: Write API request body in temporary file
2017-12-03 16:19:57 +09:00
Tatsuhiro Tsujikawa
a941699962
Merge pull request #1082 from nghttp2/nghttpx-increase-api-max-request-body
...
nghttpx: Increase api-max-request-body
2017-12-02 14:55:45 +09:00
Tatsuhiro Tsujikawa
2056e812bd
nghttpx: Increase api-max-request-body
2017-12-02 13:49:42 +09:00
Tatsuhiro Tsujikawa
04348ff20e
Merge pull request #1081 from nghttp2/nghttpx-faster-parse-config
...
nghttpx: Faster configuration loading with lots of backends
2017-12-01 23:47:34 +09:00
Tatsuhiro Tsujikawa
d8e378fea9
Merge pull request #1080 from nghttp2/nghttpx-fix-crash-with-backend-http-proxy-uri
...
nghttpx: Fix crash with --backend-http-proxy-uri option
2017-12-01 23:07:38 +09:00
Tatsuhiro Tsujikawa
1ebb6810a1
nghttpx: Faster configuration loading with lots of backends
2017-12-01 23:06:06 +09:00
Tatsuhiro Tsujikawa
2a694b270a
Merge pull request #1077 from nghttp2/refused-stream
...
Use NGHTTP2_REFUSED_STREAM for streams which are closed by GOAWAY
2017-12-01 22:36:09 +09:00
Tatsuhiro Tsujikawa
a3ebeeafba
nghttpx: Fix crash with --backend-http-proxy-uri option
2017-12-01 22:28:16 +09:00
Tatsuhiro Tsujikawa
422ad1be32
Use NGHTTP2_REFUSED_STREAM for streams which are closed by GOAWAY
...
The error code NGHTTP2_REFUSED_STREAM is passed to
nghttp2_on_stream_close callback when a stream is closed because its
stream ID is strictly larger than incoming or outgoing GOAWAY.
2017-11-30 23:10:57 +09:00
Tatsuhiro Tsujikawa
97f1735cf5
Bump up version number to 1.29.0
2017-11-25 23:04:03 +09:00
Tatsuhiro Tsujikawa
939ad5ddbe
Update manual pages
2017-11-25 22:19:11 +09:00
Tatsuhiro Tsujikawa
24d92b979d
Add deprecation warning when spdylay support is enabled
2017-11-25 22:16:23 +09:00
Tatsuhiro Tsujikawa
4c92ff1843
Bump up version number to 1.28.0, LT revision to 29:0:15
2017-11-25 22:10:02 +09:00
Tatsuhiro Tsujikawa
280db5c6ba
Update neverbleed
2017-11-25 21:27:14 +09:00
Tatsuhiro Tsujikawa
7fbcb2d005
Merge pull request #1074 from nghttp2/fix-doc
...
Fix doc
2017-11-24 22:59:04 +09:00
Tatsuhiro Tsujikawa
53aeb2c3d7
Fix doc
2017-11-24 22:26:29 +09:00
Tatsuhiro Tsujikawa
ff200bfcf3
clang-format-5.0
2017-11-23 14:19:12 +09:00
Tatsuhiro Tsujikawa
fee3151fd2
Switch to clang-format-5.0
2017-11-23 14:16:42 +09:00
Tatsuhiro Tsujikawa
99a85159ae
Update manual pages
2017-11-21 23:27:02 +09:00
Tatsuhiro Tsujikawa
2a981a3f56
Merge pull request #1066 from nghttp2/nghttpx-add-affinity-cookie-secure
...
nghttpx: Add affinity-cookie-secure parameter to backend option
2017-11-21 23:24:40 +09:00
Tatsuhiro Tsujikawa
0028275d7b
nghttpx: Add affinity-cookie-secure parameter to backend option
2017-11-21 22:29:22 +09:00
Tatsuhiro Tsujikawa
ee8bfddfc9
Merge pull request #1063 from nghttp2/error_callback2
...
Error callback2
2017-11-21 21:25:53 +09:00
Tatsuhiro Tsujikawa
194acb1f2c
src: Use nghttp2_error_callback2
2017-11-19 16:51:52 +09:00
Tatsuhiro Tsujikawa
43a2a70ae7
Add nghttp2_error_callback2
...
nghttp2_error_callback2 is an extended version of the existing
nghttp2_error_callback by adding error code parameter. This
deprecates nghttp2_error_callback.
2017-11-19 16:51:52 +09:00
Tatsuhiro Tsujikawa
73344ae9aa
nghttpx: Use plain hex string format for client serial
2017-11-17 00:04:23 +09:00
Tatsuhiro Tsujikawa
c479f6122f
Merge pull request #1060 from nghttp2/nghttpx-add-client-serial
...
Nghttpx add client serial
2017-11-16 23:26:35 +09:00
Tatsuhiro Tsujikawa
eca0a3025b
nghttpx: Add $tls_client_serial log variable
2017-11-16 22:53:54 +09:00
Tatsuhiro Tsujikawa
4720c5cb3d
nghttpx: Make client serial available in mruby script
2017-11-16 22:53:54 +09:00
Tatsuhiro Tsujikawa
cd55ab28ab
nghttpx: Add function to get serial number from certificate
2017-11-16 22:53:54 +09:00
Tatsuhiro Tsujikawa
d402cfdf16
Merge pull request #1057 from nghttp2/nghttpx-add-tls-client-issuer-name
...
Add tls_client_issuer_name log variable and expose it to mruby
2017-11-16 01:16:11 +09:00
Tatsuhiro Tsujikawa
22502182d0
Add tls_client_issuer_name log variable and expose it to mruby
2017-11-15 23:41:47 +09:00
Tatsuhiro Tsujikawa
05e1fd5e77
Update manual pages
2017-11-04 17:53:51 +09:00
Tatsuhiro Tsujikawa
943d7923f9
Add Session Affinity section to nghttpx howto
2017-11-04 17:49:09 +09:00
Tatsuhiro Tsujikawa
568ecbfb28
doc: Add missing port
2017-11-04 17:48:46 +09:00
Tatsuhiro Tsujikawa
f5ddd7f43b
nghttpx: Make initial_addr_idx_ unsigned
2017-11-04 17:30:56 +09:00
Tatsuhiro Tsujikawa
88abbce7e7
nghttpx: Fix compile error with gcc
2017-11-04 17:30:27 +09:00
Tatsuhiro Tsujikawa
16e9036568
nghttpx: Fix affinity retry
2017-11-04 17:13:45 +09:00
Tatsuhiro Tsujikawa
fa7945c627
nghttpx: Refactor
2017-11-04 15:55:25 +09:00
Tatsuhiro Tsujikawa
daca43f0dd
nghttpx: Fix stalled backend connection on retry
2017-11-04 15:46:08 +09:00
Tatsuhiro Tsujikawa
16bc11e670
nghttpx: Remove duplicated util::make_socket_nodelay
2017-11-04 13:00:17 +09:00
Tatsuhiro Tsujikawa
6f7e94cdba
Merge pull request #1047 from PiotrSikora/go_vet
...
integration: Fix issues reported by the `go vet` tool.
2017-11-03 23:02:37 +09:00
Piotr Sikora
61efa15a14
integration: Fix issues reported by the go vet tool.
...
Signed-off-by: Piotr Sikora <piotrsikora@google.com >
2017-11-02 21:13:25 -07:00
Tatsuhiro Tsujikawa
8c0ea56bb8
Merge pull request #1036 from nghttp2/nghttpx-affinity-cookie
...
nghttpx: Cookie based session affinity
2017-11-01 22:45:38 +09:00
Tatsuhiro Tsujikawa
549053710b
nghttpx: Refactor
2017-11-01 22:33:49 +09:00
Tatsuhiro Tsujikawa
6010d39325
integration: Add tests
2017-11-01 22:18:03 +09:00
Tatsuhiro Tsujikawa
be5c39a1cf
src: Add tests
2017-11-01 22:18:03 +09:00
Tatsuhiro Tsujikawa
b8fda6808b
nghttpx: Cookie based session affinity
2017-11-01 22:18:03 +09:00
Tatsuhiro Tsujikawa
e29b9c1261
Merge pull request #1045 from nghttp2/nghttpx-sha1-fingerprint
...
Nghttpx sha1 fingerprint
2017-10-31 23:07:39 +09:00
Tatsuhiro Tsujikawa
539e27812b
nghttpx: Add tls_client_fingerprint_sha1 to mruby and accesslog
...
Also tls_client_fingerprint is renamed to
tls_client_fingerprint_sha256.
2017-10-31 21:41:40 +09:00
Tatsuhiro Tsujikawa
7008afd40e
nghttpx: Refactor get_x509_fingerprint to accept hash function
2017-10-31 21:28:16 +09:00
Tatsuhiro Tsujikawa
77a41756db
Merge pull request #1041 from nghttp2/fix-examples-client-server
...
examples: Make client and server work with libevent-2.1.8
2017-10-30 17:30:20 +09:00
Tatsuhiro Tsujikawa
b15045d60e
Merge pull request #1040 from nghttp2/nghttpx-mruby-add-more-tls-vars
...
nghttpx: Add more TLS related attributes to mruby Env object
2017-10-29 23:14:16 +09:00
Tatsuhiro Tsujikawa
03084f7517
examples: Make client and server work with libevent-2.1.8
2017-10-29 23:09:23 +09:00
Tatsuhiro Tsujikawa
60baca27e4
nghttpx: Add more TLS related attributes to mruby Env object
...
The added attributes are:
* tls_cipher
* tls_protocol
* tls_session_id
* tls_session_reused
* alpn
2017-10-29 22:42:30 +09:00
Tatsuhiro Tsujikawa
86990db236
Merge pull request #1038 from nghttp2/nghttpx-add-more-logging-vars
...
nghttpx: Add client fingerprint and subject name to accesslog
2017-10-29 22:21:10 +09:00
Tatsuhiro Tsujikawa
cb376bcd80
nghttpx: Add client fingerprint and subject name to accesslog
2017-10-29 21:47:00 +09:00
Tatsuhiro Tsujikawa
f2b8edd1e2
nghttpx: Fix memory leak
2017-10-29 21:46:12 +09:00
Tatsuhiro Tsujikawa
c4f8afcfde
nghttpx: Get TLS info only when it is necessary when writing accesslog
2017-10-29 21:22:33 +09:00
Tatsuhiro Tsujikawa
1a1a216d5a
Merge pull request #1037 from nghttp2/nghttpx-mruby-tls-client-vars
...
nghttpx: Add client fingerprint and subject name to mruby env
2017-10-29 21:13:20 +09:00
Tatsuhiro Tsujikawa
9f80a82c1a
nghttpx: Add client fingerprint and subject name to mruby env
2017-10-29 19:54:42 +09:00
Tatsuhiro Tsujikawa
c573c80bd3
nghttpx: Pass a pointer to SSL instead of TLSSessionInfo to LogSpec
2017-10-29 19:47:39 +09:00
Tatsuhiro Tsujikawa
3cd6817e21
Fix typos
2017-10-29 16:54:21 +09:00
Tatsuhiro Tsujikawa
d4a69658a1
Add another warning about mruby
2017-10-29 16:18:20 +09:00
Tatsuhiro Tsujikawa
8e06fe4971
Fix typo
2017-10-29 16:14:30 +09:00
Tatsuhiro Tsujikawa
aaeeec8f1c
Fix typos
2017-10-28 22:25:42 +09:00
Tatsuhiro Tsujikawa
66d5e24606
Bump up version number to 1.28.0-DEV
2017-10-25 21:20:16 +09:00
Tatsuhiro Tsujikawa
e8907a073f
Update manual pages
2017-10-24 23:10:37 +09:00
Tatsuhiro Tsujikawa
9656ac0254
Fix sphinx warnings
2017-10-24 23:10:23 +09:00
Tatsuhiro Tsujikawa
75624617ce
Bump up version number to 1.27.0
2017-10-24 22:51:17 +09:00
Tatsuhiro Tsujikawa
1a8f6578b3
Update AUTHORS
2017-10-24 22:49:51 +09:00
Tatsuhiro Tsujikawa
4f0548b018
travis: Compile mruby and neverbleed in make distcheck
...
gcc is upgraded to gcc-7.
2017-10-24 21:41:10 +09:00
Tatsuhiro Tsujikawa
5119e82b93
src: Fix memory leak in unit test
2017-10-24 21:40:30 +09:00
Tatsuhiro Tsujikawa
3be5856c82
nghttpx: Fix unused function warnings
2017-10-24 21:40:30 +09:00
Tatsuhiro Tsujikawa
a319143901
nghttpx: Fix bug that header fields are missing in HTTP/1.0 response
2017-10-22 01:11:32 +09:00
Tatsuhiro Tsujikawa
17c88d60c7
Compile with g++ 7.2.1
2017-10-19 23:04:12 +09:00
Tatsuhiro Tsujikawa
7601511fdf
Merge pull request #1029 from lazyhamster/master
...
Fixed accidental compiler flags concatenation for MSVC.
2017-10-19 21:21:46 +09:00
Tatsuhiro Tsujikawa
f507b5eee4
nghttpx: Use an existing h2 backend connection as much as possible
...
h2load measurement reveals that this strategy is 3 times faster than
the previous implementations.
2017-10-19 21:15:08 +09:00
LazyHamster
93821165be
Fixed accidental compiler flags concatenation for MSVC.
2017-10-18 15:25:17 +03:00
Tatsuhiro Tsujikawa
aaa0b858e4
Amend some macro comments
2017-10-14 11:50:16 +09:00
Tatsuhiro Tsujikawa
5fa1938691
clang-format
2017-10-14 11:45:41 +09:00
Tatsuhiro Tsujikawa
56ee3d4820
Merge pull request #1027 from dermojo/mingw
...
Support for Windows / MinGW
2017-10-14 11:44:57 +09:00
Daniel Evers
c2d9a1ed6f
Support for Windows / MinGW
2017-10-12 18:15:12 +02:00
Tatsuhiro Tsujikawa
fcf9ab2798
Merge pull request #1023 from nckx/fix-fuzz-typo
...
fuzz: Fix typo (‘-fsanitize=adres’) in README.rst
2017-10-12 21:00:18 +09:00
Tobias Geerinckx-Rice
35e445bd04
fuzz: Fix typo (‘-fsanitize=adres’) in README.rst
2017-10-10 22:14:25 +02:00
Tatsuhiro Tsujikawa
88ce3c31b7
Merge pull request #1020 from FireBurn/master
...
Reduce libxml2 version requirement to 2.6.26
2017-10-07 21:17:33 +09:00
Mike Lothian
16320a0f81
Reduce libxml2 version requirement to 2.6.26
...
It's currently set at 2.7.7 but reducing this down to 2.6.26 allows
nghttp2 to be built on RHEL5
2017-10-04 14:25:12 +01:00
Tatsuhiro Tsujikawa
8c72fb3539
Merge pull request #1018 from nghttp2/h2load-verbose-h2-headers
...
h2load: Print out h2 header fields with --verbose option
2017-10-01 12:49:13 +09:00
Tatsuhiro Tsujikawa
8ffe389daa
h2load: Print out h2 header fields with --verbose option
2017-09-22 18:12:20 +09:00
Tatsuhiro Tsujikawa
189a4516a1
Merge pull request #1016 from nghttp2/nghttpx-non-final-response
...
nghttpx: Send non-final response to HTTP/1.1 or HTTP/2 client only
2017-09-21 22:28:51 +09:00
Tatsuhiro Tsujikawa
2576855ded
nghttpx: Send non-final response to HTTP/1.1 or HTTP/2 client only
2017-09-21 21:42:56 +09:00
Tatsuhiro Tsujikawa
7d4d48a35e
Add timing-based load-testing section to h2load howto
2017-09-21 17:57:32 +09:00
Tatsuhiro Tsujikawa
cc6f759190
src: Add static to constexpr char[]
2017-09-20 23:54:10 +09:00
Tatsuhiro Tsujikawa
c23fc86a23
Bump up version number to 1.27.0-DEV
2017-09-20 22:52:43 +09:00
Tatsuhiro Tsujikawa
d2324bdda1
Update bash_completion
2017-09-20 22:42:14 +09:00
Tatsuhiro Tsujikawa
6f0ae9d49a
Update manual pages
2017-09-20 22:41:56 +09:00
Tatsuhiro Tsujikawa
0389af5724
Bump up version number to 1.26.0
2017-09-20 22:29:38 +09:00
Tatsuhiro Tsujikawa
1766e25f45
Update AUTHORS
2017-09-20 22:28:43 +09:00
Tatsuhiro Tsujikawa
323001238a
clang-format
2017-09-20 22:08:22 +09:00
Tatsuhiro Tsujikawa
91f062f873
src: Fix compile error
2017-09-20 22:08:08 +09:00
Tatsuhiro Tsujikawa
650a0cfbff
Merge pull request #1013 from marcbachmann/patch-1
...
Fix some typos in the nghttpx how-to doc
2017-09-13 23:59:07 +09:00
Marc Bachmann
e6b8b3d1d3
docs: Fix some typos in the nghttpx how-to
2017-09-11 22:10:03 +02:00
Tatsuhiro Tsujikawa
a170023f23
nghttpx: Verify OCSP response using trusted CA certificates
2017-09-01 21:35:38 +09:00
Tatsuhiro Tsujikawa
4be4c0cddc
Revert "nghttpx: Verify OCSP response using trusted CA certificates"
...
This reverts commit 59c78d5809 .
2017-08-30 22:27:02 +09:00
Tatsuhiro Tsujikawa
0de9d374df
Merge pull request #1002 from GitaiQAQ/master
...
Just fix unreachable links and remove ndk...
2017-08-26 22:39:24 +09:00
Tatsuhiro Tsujikawa
0df199198a
Merge pull request #1001 from rlei/master
...
Fix OCSP related error when building with BoringSSL
2017-08-26 22:00:56 +09:00
Gitai
7646e376e0
Fix unreachable
2017-08-26 12:54:03 +08:00
Rick Lei
5996798a34
Fix OCSP related error when building with BoringSSL
...
BoringSSL has no "openssl/ocsp.h" nor most OCSP related APIs used in
shrpx_tls.cc. This commit add ifdefs to disable related code to allow
building nghttp2 with BoringSSL (again).
It's possible to use !defined(OPENSSL_IS_BORINGSSL), but since BoringSSL
defines OPENSSL_NO_OCSP which is more specific, I chose to go with the
latter one.
2017-08-24 11:56:46 -04:00
Tatsuhiro Tsujikawa
6fec532012
Merge pull request #998 from nghttp2/h2load-fix-timing-script-stall
...
Fix bug that timing script stalls with -m1
2017-08-24 21:17:43 +09:00
Tatsuhiro Tsujikawa
15713e0b7c
h2load: Ignore -n for timing-based mode instead of requiring -n=0
2017-08-23 20:35:01 +09:00
Tatsuhiro Tsujikawa
a6a561af47
Fix bug that timing script stalls with -m1
2017-08-23 20:10:23 +09:00
Tatsuhiro Tsujikawa
09c468a4b4
Merge branch 'sohamm17-master'
2017-08-23 19:22:44 +09:00
Tatsuhiro Tsujikawa
bcda1c2409
Fix assertion failure
2017-08-23 19:22:23 +09:00
Tatsuhiro Tsujikawa
afcd8d9ab1
clang-format
2017-08-23 19:19:00 +09:00
Tatsuhiro Tsujikawa
c9b1c91944
Fix compile error
2017-08-23 19:18:27 +09:00
Tatsuhiro Tsujikawa
5d9434eb09
Merge branch 'master' of https://github.com/sohamm17/nghttp2 into sohamm17-master
2017-08-23 19:16:40 +09:00
Tatsuhiro Tsujikawa
1a44b5d52a
Merge pull request #984 from nghttp2/h2load-reservoir-sampling
...
h2load: Reservoir sampling
2017-08-23 19:00:28 +09:00
Tatsuhiro Tsujikawa
6635ca5e26
Merge pull request #988 from dvetutnev/refactoring_include_directories
...
Refactoring include directories
2017-08-23 18:59:28 +09:00
Tatsuhiro Tsujikawa
9c6c78833b
Bump up version number to 1.26.0-DEV
2017-08-18 23:19:36 +09:00
Tatsuhiro Tsujikawa
9a9ab0813c
Update manual pages
2017-08-18 23:00:58 +09:00
Tatsuhiro Tsujikawa
0ccaaa48ce
Bump up version number to 1.25.0, LT revision to 28:0:14
2017-08-18 22:38:10 +09:00
Tatsuhiro Tsujikawa
3f2fe98dd1
Update AUTHORS
2017-08-18 22:11:11 +09:00
Tatsuhiro Tsujikawa
0d91e9c255
Update doc
2017-08-18 22:06:43 +09:00
Dmitriy Vetutnev
af926fbe1f
Refactoring include directories for build as CMake subdirectory (add_subdirectory(nghttp2))
2017-08-16 21:28:12 +03:00
Tatsuhiro Tsujikawa
83039ae2d4
h2load: Reservoir sampling
2017-08-14 20:25:02 +09:00
Tatsuhiro Tsujikawa
4c53da6961
Merge pull request #983 from addaleax/static-rcbuf
...
lib: add nghttp2_rcbuf_is_static()
2017-08-13 09:10:41 +09:00
Anna Henningsen
eb306f463e
lib: add nghttp2_rcbuf_is_static()
...
Add a `nghttp2_rcbuf_is_static()` method to tell whether a rcbuf
is statically allocated.
This can be useful for language bindings that wish to avoid
creating duplicate strings for these buffers; concretely, I am
planning to use this in the Node HTTP/2 module that is being
introduced.
2017-08-12 17:48:14 +02:00
Tatsuhiro Tsujikawa
788835c5fd
Merge pull request #980 from nghttp2/fix-forwarded-for-with-proxyprotocol
...
Fix bug that forwarded for is not affected by proxy protocol
2017-08-09 23:34:43 +09:00
Tatsuhiro Tsujikawa
4d76606fa2
Fix bug that forwarded for is not affected by proxy protocol
2017-08-09 22:44:14 +09:00
Soham Sinha
1baf7d34b3
Duration watcher and warmup watcher is initialised in Worker constructor. Statistic calculation is removed from duration watcher call_back, it's done in free_client.
2017-08-08 17:26:37 -04:00
Soham Sinha
c78159469a
Added a function to free a client from Worker's list of client, if the client is destroyed
2017-08-07 18:58:12 -04:00
Soham Sinha
b72ca0289c
formatting issue
2017-08-04 14:20:00 -04:00
Soham Sinha
46f670f8a2
concurrent connections are created in timing-based mode. Some safety asserts added.
2017-08-03 16:15:14 -04:00
Soham Sinha
4b44362b9f
minor style changes
2017-08-01 20:22:20 -04:00
Soham Sinha
d068a29798
removed unnecessary code
2017-08-01 19:51:47 -04:00
Soham Sinha
0836a51408
Handling requests starting in warm-up phase and ending in MAIN_DURATION
2017-08-01 18:29:00 -04:00
Soham Sinha
566cee8fe7
MAIN_DURATION is initiliazed in Worker constructor, MAIN_DURATION check is removed from two functions because those functions are needed in warm-up phase as well.
2017-08-01 17:45:52 -04:00
Soham Sinha
e85698e131
MAIN_DURATION is initiliazed in Worker constructor, MAIN_DURATION check is removed from two functions because those functions are needed in warm-up phase as well.
2017-08-01 17:45:18 -04:00
Soham Sinha
5f3c541c4c
enabled --duration option.
2017-07-28 17:31:13 -04:00
Soham Sinha
3c43e00d8a
Timing ( #1 )
...
* Adding timing-sensitive load test option in h2load.
* more checks added for parameters
* A worker thread can control its clients' warmup and main duration.
* Changed warmup to an enum variable.
* removed unnecessary call to ev_timer_stop
* assertion is done before starting main measurement phase
* phase variable is implemented only inside the Worker class
* enum to enum class
* else indentation corrected
* check added for timing-based test when duration CB is called explicitly
* New argument is introduced for timing-based benchmarking.
* styling corrections
* duration watcher initialization is pushed back into warmup timeout
* Warmup and Duration timer is moved to Worker instead of clients. Now both timers and phase belongs to the Workers.
* some client functions are modified to return if it's not main_duration phase. client is not destructed but sessions are terminated
* outputs are adjusted for thread.
* Needed to check if a session exist before terminating
* formatting
* more formatting
* formatting
2017-07-28 17:08:20 -04:00
Tatsuhiro Tsujikawa
92d686d356
Merge branch 'mruby-1.3.0'
2017-07-28 00:51:48 +09:00
Tatsuhiro Tsujikawa
0f69e9c825
Fix typo
2017-07-28 00:51:34 +09:00
Tatsuhiro Tsujikawa
217d979458
Update mruby to 1.3.0
...
Fix compile error with mruby 1.3.0
2017-07-28 00:23:25 +09:00
Tatsuhiro Tsujikawa
cc289972fc
Merge pull request #958 from sebdeckers/patch-1
...
fix: typo
2017-07-15 11:44:14 +09:00
Sebastiaan Deckers
c601e603c2
fix: typo
...
Came up in downstream code review by @lucaslago https://github.com/nodejs/node/pull/14239#discussion_r127539852
2017-07-15 07:46:26 +08:00
Tatsuhiro Tsujikawa
1002c6da1c
src: Use llround instead of round
2017-07-12 23:23:47 +09:00
Tatsuhiro Tsujikawa
0911337689
Bump up version number to 1.25.0-DEV
2017-07-02 17:51:24 +09:00
Tatsuhiro Tsujikawa
3bcc416e13
Update manual pages
2017-07-02 13:40:21 +09:00
Tatsuhiro Tsujikawa
65837806f5
Bump up version number to 1.24.0
2017-07-02 13:37:53 +09:00
Tatsuhiro Tsujikawa
b0772dcc66
Update AUTHORS
2017-07-02 13:31:47 +09:00
Tatsuhiro Tsujikawa
c6d65aad3b
Merge branch 'nghttp-not-upgrade-without-reason-phrase'
2017-06-28 21:36:13 +09:00
Tatsuhiro Tsujikawa
18dd20ce55
nghttp: Fix bug that upgrade fails if reason-phrase is missing
2017-06-28 01:01:39 +09:00
Tatsuhiro Tsujikawa
0f6d76a501
Merge pull request #947 from bassosimone/patch-1
...
README.rst: fix typo
2017-06-23 00:33:00 +09:00
Simone Basso
0f1320109f
README.rst: fix typo
2017-06-22 17:03:05 +02:00
Tatsuhiro Tsujikawa
defa28c618
Merge pull request #945 from benjaminp/trailer-grammar
...
fix up grammar in submit_trailer docs
2017-06-20 00:35:46 +09:00
Benjamin Peterson
b7c95be47c
fix up grammar in submit_trailer docs
2017-06-18 23:55:53 -07:00
Tatsuhiro Tsujikawa
a18d154e0e
Merge pull request #943 from nghttp2/nghttpx-verify-ocsp-resp-with-cacerts
...
nghttpx: Verify OCSP response using trusted CA certificates
2017-06-15 20:56:44 +09:00
Tatsuhiro Tsujikawa
52195a12ee
Merge pull request #941 from nghttp2/nghttpx-tls-min-proto
...
nghttpx: Set default minimum TLS version to TLSv1.2
2017-06-13 23:01:54 +09:00
Tatsuhiro Tsujikawa
59c78d5809
nghttpx: Verify OCSP response using trusted CA certificates
2017-06-13 23:00:26 +09:00
Tatsuhiro Tsujikawa
be164fc8f9
nghttpx: Set default minimum TLS version to TLSv1.2
...
Previously, the default minimum TLS version was TLSv1.1, but the
default cipher list didn't include any compatible ciphers with it.
This made handshake fail if TLSv1.1 was negotiated because there was
no shared ciphers. To make the default settings consistent, the
default minimum TLS version is now TLSv1.2.
2017-06-12 23:54:12 +09:00
Tatsuhiro Tsujikawa
5833ef1efc
Merge pull request #938 from benjaminp/fix-clean
...
fix cleaning in out-of-tree builds
2017-06-12 00:21:10 +09:00
Benjamin Peterson
28f88d46f3
fix cleaning in out-of-tree builds
...
The altered previously failed if the rst sources hadn't been copied over.
2017-06-11 00:03:36 -07:00
Tatsuhiro Tsujikawa
6ec7683991
nghttpx: Use nocopy version to send trailer headers to backend
...
It looks like we can use nocopy version here. We use nocopy version
in frontend in day 1.
2017-06-02 22:38:39 +09:00
Tatsuhiro Tsujikawa
fb2d8f79d6
Update doc
2017-06-02 22:22:44 +09:00
Tatsuhiro Tsujikawa
8f7fa1b1bf
nghttpx: Fix crash in OCSP response verification
2017-05-30 23:52:38 +09:00
Tatsuhiro Tsujikawa
e5889ce622
Bump up version number to 1.24.0-DEV
2017-05-26 23:07:50 +09:00
Tatsuhiro Tsujikawa
3a6f83394c
Update bash_completion
2017-05-26 22:17:10 +09:00
Tatsuhiro Tsujikawa
acf36f3d1a
Update manual pages
2017-05-26 22:16:51 +09:00
Tatsuhiro Tsujikawa
63e6a8bab2
Bump up version number to 1.23.0, LT revision to 27:3:13
2017-05-26 21:37:28 +09:00
Tatsuhiro Tsujikawa
5361cc6bd1
Update authors
2017-05-26 21:34:43 +09:00
Tatsuhiro Tsujikawa
cabac55394
Merge pull request #925 from sohamm17/patch-1
...
spelling mistake in arguments to build nghttp apps
2017-05-25 23:38:54 +09:00
Tatsuhiro Tsujikawa
db7483ef10
Merge branch 'nghttpx-verify-ocsp'
2017-05-25 23:37:34 +09:00
Tatsuhiro Tsujikawa
4b51ccbefe
examples: Attempt to fix OpenSSL link error
2017-05-25 23:24:44 +09:00
Tatsuhiro Tsujikawa
74c2f1257a
nghttpx: Add --no-verify-ocsp to disable OCSP response verification
2017-05-25 23:14:58 +09:00
Tatsuhiro Tsujikawa
1428a5e3ae
nghttpx: Verify OCSP response
...
At least we should make sure that the OCSP response is targeted to the
expected certificate. This is important because we pass the file path
to the external script, and if the file is replaced because of
renewal, and nghttpx has not reloaded its configuration, the
certificate nghttpx has loaded and the one included in the file
differ. Verifying the OCSP response detects this, and avoids to send
wrong OCSP response.
2017-05-25 23:14:57 +09:00
Tatsuhiro Tsujikawa
fe021c1524
Merge branch 'memchunk-no-unique-ptr'
2017-05-25 00:53:13 +09:00
Tatsuhiro Tsujikawa
c57bf21306
src: memchunks: Don't use std::unique_ptr to avoid potential SO
2017-05-25 00:23:51 +09:00
Soham Sinha
1743b7d92d
spelling mistake in arguments to build nghttp apps
2017-05-22 17:20:30 -04:00
Tatsuhiro Tsujikawa
7f31278c4c
Update doc
2017-05-22 22:53:49 +09:00
Tatsuhiro Tsujikawa
8401e16a15
nghttpx: Fix compile error with gcc
2017-05-22 22:10:55 +09:00
Tatsuhiro Tsujikawa
07fb5854f3
nghttpx: Compile with openssl 1.0.2
2017-05-22 22:09:34 +09:00
Tatsuhiro Tsujikawa
b56a99bfba
Update bash_completion
2017-05-21 11:43:00 +09:00
Tatsuhiro Tsujikawa
b91e4e4df1
Update manual pages
2017-05-21 11:42:46 +09:00
Tatsuhiro Tsujikawa
52a4d6ac31
Merge branch 'nghttpx-fix-cert-selection'
2017-05-21 11:26:12 +09:00
Tatsuhiro Tsujikawa
796ab87b14
nghttpx: Fix certificate selection based on pub key algorithm
2017-05-21 11:12:47 +09:00
Tatsuhiro Tsujikawa
ed1fad3bd4
nghttpx: Call ERR_clear_error()
...
Call ERR_clear_error() before the OpenSSL function if we use
SSL_get_error() to examine error stack.
2017-05-21 10:32:12 +09:00
Tatsuhiro Tsujikawa
9c1876f542
nghttpx: Fix certificate indexing bug
2017-05-21 00:19:33 +09:00
Tatsuhiro Tsujikawa
7d111d9963
Merge pull request #923 from nghttp2/compile-with-disable-assert
...
Compile with --disable-assert
2017-05-18 23:49:41 +09:00
Tatsuhiro Tsujikawa
8c2ce0cf3f
Merge pull request #922 from nghttp2/nghttpx-ocsp-startup
...
nghttpx: Run OCSP at startup
2017-05-18 23:49:23 +09:00
Tatsuhiro Tsujikawa
1b442cb16f
Compile with --disable-assert
2017-05-18 23:10:44 +09:00
Tatsuhiro Tsujikawa
2bf3680d87
Merge pull request #919 from projectgus/fix_ndebug_compile
...
nghttp2_session: Allow for compiling library with -DNDEBUG set
2017-05-18 22:37:51 +09:00
Tatsuhiro Tsujikawa
0d4f0f0db5
nghttpx: Run OCSP at startup
...
With --ocsp-startup option, nghttpx starts accepting connections after
initial attempts to get OCSP responses finish. It does not matter
some of the attempts fail. This feature is useful if OCSP responses
must be available before accepting connections.
2017-05-18 22:33:49 +09:00
Angus Gratton
e17ff8fd32
nghttp2_session: Allow for compiling library with -DNDEBUG set
2017-05-17 14:43:06 +10:00
Tatsuhiro Tsujikawa
14edd12304
nghttpx: Refactor the code for the anti-replay
2017-05-14 17:45:35 +09:00
Tatsuhiro Tsujikawa
e6ffdb23a4
nghttpx: Share session_cache_ssl_ctx across threads
2017-05-14 17:43:11 +09:00
Tatsuhiro Tsujikawa
98fdedac06
Merge pull request #917 from Tapanito/patch-1
...
Update docs
2017-05-13 10:27:22 +09:00
Tapanito
255037264a
updated docs
2017-05-12 16:35:44 +01:00
Tatsuhiro Tsujikawa
d3fcbe9a02
Merge branch 'invalid-header-field-error'
2017-05-12 21:37:20 +09:00
Tatsuhiro Tsujikawa
bcdd588c6e
Merge branch 'nghttpx-wildcard-path-match'
2017-05-11 23:50:56 +09:00
Tatsuhiro Tsujikawa
b5007d45f7
nghttpx: Wildcard path matching
...
This commit adds wildcard path matching. If path pattern given in
backend option ends with "*", it is considered as wildcard path. "*"
must match at least one character. All paths which include wildcard
path without last "*" as prefix, and are strictly longer than wildcard
path without last "*" are matched.
2017-05-11 22:15:28 +09:00
Tatsuhiro Tsujikawa
a584cf5a4f
Use clang-format-4.0
2017-04-30 15:45:53 +09:00
Tatsuhiro Tsujikawa
77f7a2fa7f
Update doc
2017-04-29 22:21:21 +09:00
Tatsuhiro Tsujikawa
f2c539dc70
Clarify the effect of nghttp2_option_set_no_http_messaging
2017-04-29 21:00:20 +09:00
Tatsuhiro Tsujikawa
78d7160a99
Treat incoming invalid regular header field as stream error
...
Previously, the incoming invalid regular header field was ignored by
default. With this commit, they are now treated as stream error, and
the stream is reset by default. The error code used is now
PROTOCOL_ERROR, instead of INTERNAL_ERROR.
2017-04-28 23:46:06 +09:00
Tatsuhiro Tsujikawa
196673bbce
nghttp: Remove unused short option 'g'
2017-04-28 22:39:12 +09:00
Tatsuhiro Tsujikawa
794d13082c
Merge branch 'nghttp-no-verify-peer'
2017-04-28 22:36:23 +09:00
Tatsuhiro Tsujikawa
5f5cf4107e
nghttpx: Reseve rcbufs_
2017-04-28 22:31:09 +09:00
Tatsuhiro Tsujikawa
6f3ec54b9f
nghttp: Add -y, --no-verify-peer option to suppress peer verify warn
2017-04-28 09:53:37 +09:00
Tatsuhiro Tsujikawa
58043a6b04
nghttpx: Guard the presence of TLS1_3_VERSION
2017-04-27 23:13:15 +09:00
Tatsuhiro Tsujikawa
a885315ef5
Merge branch 'nghttpx-unrecognized-sni'
2017-04-27 22:57:54 +09:00
Tatsuhiro Tsujikawa
d7581525ac
nghttpx: Update TLSv1.3 TLS record overhead
2017-04-27 22:57:06 +09:00
Tatsuhiro Tsujikawa
385068eb91
Merge branch 'altsvc-invalid-callback'
2017-04-27 22:35:25 +09:00
Tatsuhiro Tsujikawa
1085f68018
nghttpx: Return SSL_TLSEXT_ERR_NOACK if server name is not recognized
...
With this commit, SSL_TLSEXT_ERR_NOACK is returned from
servername_callback, which removes server_name extension from
ServerHello. CertLookupTree is now used even if the number of server
certificate is one. It is better to exercise it regularly.
2017-04-27 22:25:58 +09:00
Tatsuhiro Tsujikawa
21af775ce0
Call nghttp2_on_invalid_frame_callback if altsvc validation fails
2017-04-27 18:53:43 +09:00
Tatsuhiro Tsujikawa
bf16fee6e9
Merge pull request #903 from nghttp2/nghttpx-forward-multiple-header-fields
...
nghttpx: Forward multiple via, xff, and xfp header fields
2017-04-26 22:32:33 +09:00
Tatsuhiro Tsujikawa
2358a2137a
Refactor predicate functions
2017-04-26 22:31:43 +09:00
Tatsuhiro Tsujikawa
66baa7dc25
Estimate header block size after predicate function succeeds
2017-04-26 22:15:53 +09:00
Tatsuhiro Tsujikawa
d63b4c1034
nghttpx: Forward multiple via, xff, and xfp header fields
...
Previously, for Via, X-Forwarded-For, and X-Forwarded-Proto header
field, nghttpx only forwarded the last header field of each. With
this commit, nghttpx forwards all of them if it is configured to do
so.
2017-04-26 21:23:13 +09:00
Tatsuhiro Tsujikawa
963e220a1c
Bump up version number to 1.23.0-DEV
2017-04-24 22:34:13 +09:00
Tatsuhiro Tsujikawa
2f146e4d4c
Update manual pages
2017-04-24 21:41:15 +09:00
Tatsuhiro Tsujikawa
f796eede5a
Bump up version number to 1.22.0, LT revision to 27:2:13
2017-04-24 21:32:18 +09:00
Tatsuhiro Tsujikawa
c89453be95
Update AUTHORS
2017-04-24 21:29:12 +09:00
Tatsuhiro Tsujikawa
c3f5f5ca36
nghttpx: Clarify --conf option behaviour
2017-04-20 22:25:38 +09:00
Tatsuhiro Tsujikawa
911d12f7c4
nghttpx: Add log when loading configuration file
2017-04-20 22:22:29 +09:00
Tatsuhiro Tsujikawa
34d3c45d35
Update manual pages
2017-04-19 23:03:08 +09:00
Tatsuhiro Tsujikawa
17614312e0
Merge pull request #892 from nghttp2/nghttpx-sni-fwd
...
nghttpx: SNI based backend server selection
2017-04-19 21:22:15 +09:00
Tatsuhiro Tsujikawa
977779ae8d
Merge pull request #896 from nghttp2/nghttpx-add-tls-sni-log-var
...
nghttpx: Add $tls_sni access log variable
2017-04-19 21:21:01 +09:00
Tatsuhiro Tsujikawa
a2e35a0757
nghttpx: Add $tls_sni access log variable
2017-04-18 22:44:26 +09:00
Tatsuhiro Tsujikawa
a4a2b6403b
nghttpx: Use SHRPX_LOGF_TLS_* instead of SHRPX_LOGF_SSL_*
2017-04-18 22:34:08 +09:00
Tatsuhiro Tsujikawa
8ce8e289c9
Merge pull request #895 from nghttp2/nghttpx-rename-ssl-log-vars
...
nghttpx: Rename ssl_* log variables as tls_*
2017-04-18 22:31:44 +09:00
Tatsuhiro Tsujikawa
03be97e437
nghttpx: Rename ssl_* log variables as tls_*
...
The exiting ssl_* log variables still work for backward compatibility.
2017-04-18 22:11:05 +09:00
Tatsuhiro Tsujikawa
2c5cf5a82a
Merge pull request #894 from nghttp2/nghttpx-fix-path-match
...
nghttpx: Fix path matching bug
2017-04-18 21:28:21 +09:00
Tatsuhiro Tsujikawa
0a2d1965df
nghttpx: Fix path matching bug
...
Previously, if path is empty or path does not start with "/", nghttpx
did not try to match with wildcard pattern. This commit fixes it.
2017-04-18 21:03:50 +09:00
Tatsuhiro Tsujikawa
c8a5f1e335
nghttpx: SNI based backend server selection
2017-04-16 23:47:10 +09:00
Tatsuhiro Tsujikawa
5e00cf9620
Update doc
2017-04-14 00:55:31 +09:00
Tatsuhiro Tsujikawa
ce6370e25c
Merge pull request #886 from lstefani/patch-1
...
Update nghttp2_session.c
2017-04-14 00:16:06 +09:00
Tatsuhiro Tsujikawa
3f8c1e4b34
tests: Fix failmalloc tests
2017-04-14 00:00:36 +09:00
lstefani
25cda200be
Update nghttp2_session.c
...
Add missing free call on error in inflight_settings_new().
2017-04-13 10:00:15 -04:00
Tatsuhiro Tsujikawa
a1bc83a2ba
Merge pull request #881 from mway/dev/request-priority
...
Support specifying stream priority via session::submit()
2017-04-12 23:36:40 +09:00
Matt Way
bc3949db9e
Support specifying stream priority via session::submit()
2017-04-12 10:07:16 -04:00
Tatsuhiro Tsujikawa
6cfa885207
nghttpx: Remove unused lambda capture
2017-04-12 22:09:44 +09:00
Tatsuhiro Tsujikawa
899588e0b5
Update bash_completion
2017-04-09 16:10:07 +09:00
Tatsuhiro Tsujikawa
49af52a68d
Update manual pages
2017-04-09 16:09:44 +09:00
Tatsuhiro Tsujikawa
ec908af19c
integration: Use nip.io instead of xip.io
2017-04-09 16:06:37 +09:00
Tatsuhiro Tsujikawa
e61ac4682e
Merge branch 'nghttpx-xfp-take2'
2017-04-09 16:02:53 +09:00
Tatsuhiro Tsujikawa
4d10dce61d
nghttpx: Only send SCT for leaf certificate
2017-04-09 14:38:18 +09:00
Tatsuhiro Tsujikawa
c569830dfc
Merge branch 'nghttpx-tls13-sct'
2017-04-09 14:24:00 +09:00
Tatsuhiro Tsujikawa
2d9fd87029
nghttpx: Enable signed_certificate_timestamp extension for TLSv1.3
2017-04-09 14:11:49 +09:00
Tatsuhiro Tsujikawa
2670bfb8ba
integration: Add tests for X-Forwarded-Proto handling
2017-04-08 18:46:37 +09:00
Tatsuhiro Tsujikawa
cc9190ab37
nghttpx: Add options for X-Forwarded-Proto header field
...
This commit adds 2 new options to handle X-Forwarded-Proto header
field. The --no-add-x-forwarded-proto option makes nghttpx not to
append X-Forwarded-Proto value. The
--no-strip-incoming-x-forwarded-proto option prevents nghttpx from
stripping the header field from client.
Previously, nghttpx always strips incoming header field, and set its
own header field. This commit preserves this behaviour, and adds
additional knobs.
2017-04-08 18:46:36 +09:00
Tatsuhiro Tsujikawa
980570de71
Revert "nghttpx: Add options for X-Forwarded-Proto header field"
...
This reverts commit 8c0b2c684a .
2017-04-08 18:37:54 +09:00
Tatsuhiro Tsujikawa
ef92b54db3
Revert "integration: Add tests for X-Forwarded-Proto handling"
...
This reverts commit 6aa581d2f0 .
2017-04-08 18:34:10 +09:00
Tatsuhiro Tsujikawa
0130124cea
Revert "doc: Add migration doc for nghttpx"
...
This reverts commit 82b326e684 .
2017-04-08 18:34:07 +09:00
Tatsuhiro Tsujikawa
e2a7e867f9
integration: Add more tests for 204 status code
2017-04-07 22:36:46 +09:00
Tatsuhiro Tsujikawa
32ce0ce5d9
Merge branch 'nghttpx-fix-204-handling'
2017-04-07 22:11:39 +09:00
Tatsuhiro Tsujikawa
28082ff5f5
integration: Add tests for 204 status code
2017-04-07 21:46:33 +09:00
Tatsuhiro Tsujikawa
46ccc4332c
nghttpx: Fix bug that 204 from h1 backend is always treated as error
2017-04-07 21:45:13 +09:00
Tatsuhiro Tsujikawa
3a1217e667
Update bash_completion
2017-04-06 20:26:32 +09:00
Tatsuhiro Tsujikawa
39fd0c1278
Update manual pages
2017-04-06 20:26:08 +09:00
Tatsuhiro Tsujikawa
4e6bd54dd1
Merge branch 'nghttpx-single-process'
2017-04-06 20:18:33 +09:00
Tatsuhiro Tsujikawa
5c9f46a6b0
Merge branch 'nghttp-verify-server-certificate'
2017-04-06 20:17:29 +09:00
Tatsuhiro Tsujikawa
7d53866157
Update doc
2017-04-06 20:14:49 +09:00
Tatsuhiro Tsujikawa
9a2e948c42
Update doc
...
Add section to promote the build from tar archives.
2017-04-06 20:13:00 +09:00
Tatsuhiro Tsujikawa
223e971c7e
nghttpx: Add --single-process option
...
With --single-process option, nghttpx will run in a single process
mode where master and worker are unified into one process. nghttpx
still spawns additional process for neverbleed. In the single process
mode, signal handling is disabled.
2017-04-06 20:02:57 +09:00
Tatsuhiro Tsujikawa
df814223ff
Merge branch 'nghttpx-xfp'
2017-04-06 19:36:27 +09:00
Tatsuhiro Tsujikawa
82b326e684
doc: Add migration doc for nghttpx
2017-04-06 19:24:02 +09:00
Tatsuhiro Tsujikawa
6aa581d2f0
integration: Add tests for X-Forwarded-Proto handling
2017-04-06 19:20:08 +09:00
Tatsuhiro Tsujikawa
8c0b2c684a
nghttpx: Add options for X-Forwarded-Proto header field
...
This commit adds 2 new options to handle X-Forwarded-Proto header
field. The --add-x-forwarded-proto option makes nghttpx append
X-Forwarded-Proto value. The --strip-incoming-x-forwarded-proto
option makes nghttpx to strip the header field from client.
Previously, nghttpx always strips incoming header field, and set its
own header field. This commit changes this behaviour. Now nghttpx
does not strip, and append X-Forwarded-Proto header field by default.
The X-Forwarded-For, and Forwarded header fields are also handled in
the same way. To recover the old behaviour, use
--add-x-forwarded-proto and --strip-incoming-x-forwarded-proto
options.
2017-04-06 19:17:36 +09:00
Tatsuhiro Tsujikawa
62324781bd
integration: Close channel instead of writing struct
2017-04-05 23:57:33 +09:00
Tatsuhiro Tsujikawa
7ae0b2dc09
nghttp: Verify server certificate and show warning if it fails
2017-04-01 17:49:57 +09:00
Tatsuhiro Tsujikawa
058122b804
nghttpx: Rename shrpx_ssl.{h,cc} as shrpx_tls.{h,cc}
...
The namespace shrpx::ssl was also renamed as shrpx::tls.
2017-04-01 15:12:28 +09:00
Tatsuhiro Tsujikawa
69f63c529d
src: Rename ssl.{h,cc} as tls.{h,cc}
...
nghttp2::ssl namespace was also renamed as nghttp2::tls.
2017-04-01 15:12:28 +09:00
Tatsuhiro Tsujikawa
e17a6b29b6
nghttpx: Use 502 as server error code
2017-04-01 14:04:55 +09:00
Tatsuhiro Tsujikawa
b12c2a13c0
nghttpx: Fail handshake if server certificate verification fails
...
Previously, we drop connection if server certificate verification
fails after handshake. With this commit, we fail handshake if that
happens.
2017-04-01 13:41:41 +09:00
Tatsuhiro Tsujikawa
236c835abc
nghttpx: Don't enable SSL_MODE_AUTO_RETRY since we do non-blocking I/O
2017-04-01 12:05:07 +09:00
Tatsuhiro Tsujikawa
b41a5afe04
Merge branch 'fix-asio-client-ping'
2017-03-31 22:20:07 +09:00
Tatsuhiro Tsujikawa
ad338bfa44
asio: Fix crash if connect takes longer time than ping interval
2017-03-31 21:17:57 +09:00
Tatsuhiro Tsujikawa
a899522679
asio: Fix compile error
2017-03-31 21:14:08 +09:00
Tatsuhiro Tsujikawa
b9b58c781e
nghttpx: Avoid extra TLS handshake calls
2017-03-30 22:23:55 +09:00
Tatsuhiro Tsujikawa
aa1eec4642
nghttpx: Cache client side session inside openssl callback
2017-03-30 21:07:58 +09:00
Tatsuhiro Tsujikawa
0c8d9469ea
nghttpx: Use SSL_CTX_set_early_data_enabled with boringssl
2017-03-27 23:58:49 +09:00
Tatsuhiro Tsujikawa
079e1bdffc
Revert "nghttpx: Use SSL_CTX_set_early_data_enabled with boringssl"
...
This reverts commit b4337d1b54 .
2017-03-27 23:47:24 +09:00
Tatsuhiro Tsujikawa
b4337d1b54
nghttpx: Use SSL_CTX_set_early_data_enabled with boringssl
2017-03-27 23:29:28 +09:00
Tatsuhiro Tsujikawa
e6a11c5e12
Bump up version number to 1.22.0-DEV
2017-03-27 23:13:56 +09:00
Tatsuhiro Tsujikawa
dbe287ff5e
nghttpx: Print version number with -v option
2017-03-27 22:49:53 +09:00
Tatsuhiro Tsujikawa
61dc1a7c62
Update man pages
2017-03-27 22:48:00 +09:00
Tatsuhiro Tsujikawa
dc1e0c0195
Bump up version number to 1.21.0, LT revision to 27:1:13
2017-03-27 22:45:23 +09:00
Tatsuhiro Tsujikawa
041531458b
Merge pull request #858 from nghttp2/nghttpx-ai-addrconfig
...
nghttpx: Retry getaddrinfo without AI_ADDRCONFIG
2017-03-27 22:37:07 +09:00
Tatsuhiro Tsujikawa
1374bb81fd
nghttpx: Enable X25519 with boringssl
2017-03-27 21:18:44 +09:00
Tatsuhiro Tsujikawa
f41ac103d3
nghttpx: Retry getaddrinfo without AI_ADDRCONFIG
2017-03-27 00:20:42 +09:00
Tatsuhiro Tsujikawa
f6301714db
nghttpx: Avoid copy of std::mt19937 which is huge
2017-03-26 21:14:34 +09:00
Tatsuhiro Tsujikawa
7dc39b1ee9
nghttpx: Failing to listen on server socket is fatal error
2017-03-26 11:04:45 +09:00
Tatsuhiro Tsujikawa
696a7ce407
Merge pull request #856 from nghttp2/escape-access-log
...
Escape access log
2017-03-25 23:36:02 +09:00
Tatsuhiro Tsujikawa
d28d788623
Merge pull request #853 from PiotrSikora/ssl_ctx_set_proto_versions
...
src: BoringSSL supports SSL_CTX_set_{min,max}_proto_version.
2017-03-25 19:45:12 +09:00
Tatsuhiro Tsujikawa
99122ee7bb
nghttpx: Find illegal character in path for SPDY CONNECT method
2017-03-25 19:18:35 +09:00
Tatsuhiro Tsujikawa
19ee7ec794
nghttpx: Escape certain characters in access log
...
The certain characters coming from client are now escaped with "\xNN"
where NN is the ascii code of the character in hex notation.
2017-03-25 19:17:24 +09:00
Piotr Sikora
cd9ec0d20f
src: BoringSSL supports SSL_CTX_set_{min,max}_proto_version.
...
Signed-off-by: Piotr Sikora <piotrsikora@google.com >
2017-03-23 19:26:49 -07:00
Tatsuhiro Tsujikawa
e77883e980
nghttpx: Fix typo
2017-03-22 22:53:46 +09:00
Tatsuhiro Tsujikawa
0994c92550
nghttpx: Don't cache session server side if TLS version is 1.3
2017-03-22 21:34:13 +09:00
Tatsuhiro Tsujikawa
465c7208cc
nghttpx: Don't look up session ID if length is 0
2017-03-22 21:33:31 +09:00
Tatsuhiro Tsujikawa
4f9f181f07
Merge pull request #848 from nghttp2/asio-client-ping
...
asio: client: Send PING after 30 seconds idle
2017-03-22 21:20:23 +09:00
Tatsuhiro Tsujikawa
b7e7a4bf26
asio: client: Send PING after 30 seconds idle
2017-03-20 18:37:56 +09:00
Tatsuhiro Tsujikawa
c7df65309b
nghttpx: Ignore further input if connection is going to close
2017-03-19 13:24:12 +09:00
Tatsuhiro Tsujikawa
26900262f3
Revert "nghttpx: Attempt to avoid TCP RST on socket closure on Linux"
...
This reverts commit f69b52b1aa .
2017-03-18 22:43:30 +09:00
Tatsuhiro Tsujikawa
9b5ce36368
nghttpx: Reset write timer on write
2017-03-18 21:33:00 +09:00
Tatsuhiro Tsujikawa
f69b52b1aa
nghttpx: Attempt to avoid TCP RST on socket closure on Linux
2017-03-18 00:59:26 +09:00
Tatsuhiro Tsujikawa
1e1d908c12
nghttpx: Eliminate global std::random_device
2017-03-17 22:25:10 +09:00
Tatsuhiro Tsujikawa
6c69d675da
nghttpx: Should take reference
2017-03-17 22:24:32 +09:00
Tatsuhiro Tsujikawa
feabd6f739
nghttpx: Delete unused delete_bio_method
2017-03-15 23:37:39 +09:00
Tatsuhiro Tsujikawa
1ea590c364
nghttpx: Return new BIO_METHOD object with OpenSSL < 1.1.0
2017-03-15 23:36:38 +09:00
Tatsuhiro Tsujikawa
b21779e685
nghttpx: Use raw pointer for apis
2017-03-15 23:33:07 +09:00
Tatsuhiro Tsujikawa
12a4e7c3a2
src: Use raw pointer for ssl_global_locks
2017-03-15 23:24:28 +09:00
Tatsuhiro Tsujikawa
799a76de74
nghttpx: Lesser usage of DIE
2017-03-15 23:14:07 +09:00
Tatsuhiro Tsujikawa
b1fee8ff63
nghttpx: Use raw pointer for config
2017-03-15 23:13:14 +09:00
Tatsuhiro Tsujikawa
9cc223d419
nghttpx: Use constexpr
2017-03-15 23:12:50 +09:00
Tatsuhiro Tsujikawa
20edd64301
nghttpx: Handle return value of write(2)
2017-03-15 21:28:53 +09:00
Tatsuhiro Tsujikawa
9aee518352
nghttpx: Effectively revert ff64f64e1d
2017-03-15 00:07:57 +09:00
Tatsuhiro Tsujikawa
6ca515ea70
Fix sphinx warning about README markup
2017-03-12 23:46:21 +09:00
Tatsuhiro Tsujikawa
51b933c5f0
src: Use "Modern compatibility" ciphers by default
2017-03-11 23:58:52 +09:00
Tatsuhiro Tsujikawa
3f13d33543
Merge branch 'eliminate-u-macro'
2017-03-11 18:56:23 +09:00
Tatsuhiro Tsujikawa
85a12429ee
Eliminate _U_ macro
...
Instead use (void)VAR for better compiler compatibility.
2017-03-11 18:45:49 +09:00
Tatsuhiro Tsujikawa
3e0e3f5459
src: Fix typo
2017-03-10 23:10:13 +09:00
Tatsuhiro Tsujikawa
801869a5d5
Merge branch 'fix-nghttp2_session_want_write'
2017-03-07 23:33:58 +09:00
Tatsuhiro Tsujikawa
54f4b85beb
Fix nghttp2_session_want_write
...
This commit fixes the bug in nghttp2_session_want_write. Previously,
it may return 0 if there is pending frames after GOAWAY frame is
submitted.
To avoid the situation that nghttp2_session_want_write keeps returning
nonzero after GOAWAY and the number of active streams is 0 (e.g., keep
receiving SETTINGS or PING), nghttp2_session_mem_recv now just
swallows the input data without parsing in this case.
2017-03-07 22:55:39 +09:00
Tatsuhiro Tsujikawa
fa074145a4
Merge pull request #788 from nghttp2/nghttpx-h2-proxy-pattern-match
...
nghttpx: Enable backend pattern matching with http2-proxy
2017-03-06 21:22:34 +09:00
Tatsuhiro Tsujikawa
b2d6550179
src: BoringSSL only requires CRYPTO_library_init
2017-03-05 21:36:52 +09:00
Tatsuhiro Tsujikawa
62dd1f5177
src: OpenSSL 1.1.0 does not require explicit initialization
2017-03-05 19:57:06 +09:00
Tatsuhiro Tsujikawa
dc7c12d474
Document pkg-config path usage
2017-03-02 23:09:56 +09:00
Tatsuhiro Tsujikawa
a6dda5f91c
nghttpx: Log rstatus in hex
2017-03-01 23:21:11 +09:00
Tatsuhiro Tsujikawa
c1f7795dd6
nghttpx: Set close-on-exec flag on listener in worker process
2017-03-01 23:20:36 +09:00
Tatsuhiro Tsujikawa
4989e6e419
nghttpx: Don't call functions which are not async-signal-safe
...
.. after fork but before execv in multithreaded process.
2017-03-01 22:42:30 +09:00
Tatsuhiro Tsujikawa
d4963bcd32
Merge pull request #823 from alagoutte/gcc7
...
nghtt2_gzip: fix this statement may fall through [-Werror=implicit-fa…
2017-02-28 23:21:29 +09:00
Alexis La Goutte
d725255784
nghttp2_gzip: fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7
2017-02-27 21:38:55 +01:00
Tatsuhiro Tsujikawa
5f4159a0d7
tests: Fix uninitialized bug
2017-02-27 21:26:12 +09:00
Tatsuhiro Tsujikawa
0a2a5e6604
Bump up version number to 1.21.0-DEV
2017-02-26 19:16:33 +09:00
Tatsuhiro Tsujikawa
acd05f2aa5
Update bash_completion
2017-02-26 18:36:15 +09:00
Tatsuhiro Tsujikawa
bb7718a64a
Update man pages
2017-02-26 18:35:58 +09:00
Tatsuhiro Tsujikawa
e59fc725ab
Bump up version number to 1.20.0, and LT revision to 27:0:13
2017-02-26 18:32:23 +09:00
Tatsuhiro Tsujikawa
4fcd0fc144
Update AUTHORS
2017-02-26 18:29:27 +09:00
Tatsuhiro Tsujikawa
373be22d7e
nghttpx: Simpler
2017-02-23 22:32:04 +09:00
Tatsuhiro Tsujikawa
b647a7c5b7
nghttpx: Simplify code using parse_uint
2017-02-23 22:22:49 +09:00
Tatsuhiro Tsujikawa
46ba9e080d
Update doc
2017-02-22 21:06:45 +09:00
Tatsuhiro Tsujikawa
e1b8317ae8
nghttpx: Strip version number from server header field
2017-02-22 20:56:40 +09:00
Tatsuhiro Tsujikawa
ea67864e08
Remove SPDY build instruction for android
2017-02-21 22:32:14 +09:00
Tatsuhiro Tsujikawa
6b286e0d94
Add SPDY support deprecation warning in README
2017-02-21 22:31:51 +09:00
Tatsuhiro Tsujikawa
d10ea5ea06
Disable spdylay detection by default
2017-02-21 22:31:23 +09:00
Tatsuhiro Tsujikawa
2af57c3cfc
nghttpx: Add --single-worker option
...
Previously, nghttpx will use only one single thread inside the worker
process if --workers=1 (this is default). If --workers=N, N > 1, we
use additional threads for accepting connections, or API request
processing, etc.
With this commit, we use the same processing model for N > 1 even if N
== 1. To restore the original single thread execution mode,
--single-worker option is added. If threading is disabled
--single-worker is always true.
2017-02-21 22:19:34 +09:00
Tatsuhiro Tsujikawa
0c8b1a4f74
nghttpx: Fix bug that send_reply does not participate graceful shutdown
2017-02-21 21:27:57 +09:00
Tatsuhiro Tsujikawa
9d16292fe4
nghttpx: Add --frontend-max-requests option
2017-02-20 23:36:50 +09:00
Tatsuhiro Tsujikawa
e2b9590c0f
nghttpx: Enable stream-write-timeout by default
2017-02-20 22:18:49 +09:00
Tatsuhiro Tsujikawa
24fb640a55
nghttpx: Fix stream wtimer handling
2017-02-20 22:08:39 +09:00
Tatsuhiro Tsujikawa
e6a05cb66d
Update bash_completion
2017-02-20 00:17:00 +09:00
Tatsuhiro Tsujikawa
12f9b09845
Update man pages
2017-02-20 00:16:44 +09:00
Tatsuhiro Tsujikawa
102b98813f
Merge branch 'nghttpx-configrevision-api'
2017-02-20 00:15:33 +09:00
Tatsuhiro Tsujikawa
1f55e5d34d
nghttpx: Document configrevision API
2017-02-19 23:40:06 +09:00
Tatsuhiro Tsujikawa
5618e1bbc9
integration: Add configrevision API tests
2017-02-19 23:40:06 +09:00
Tatsuhiro Tsujikawa
450ffaa6f0
nghttpx: Add configrevision API endpoint
...
This commit adds configuration revision, which is considered opaque
string, and changes after reloading configuration with SIGHUP. This
revision is returned as a response to configrevision API endpoint.
This allows external application to know whether nghttpx has finished
reloading new configuration or not. Note that this revision does not
change on backendconfig API calls.
2017-02-19 23:40:06 +09:00
Tatsuhiro Tsujikawa
dc15832030
nghttpx: Refactor API downstream connection to allow more endpoints
2017-02-19 22:49:53 +09:00
Tatsuhiro Tsujikawa
0797e89a90
Merge pull request #819 from nghttp2/nghttpx-https-redirect
...
nghttpx: Redirect to HTTPS URI with redirect-if-no-tls parameter in backend option
2017-02-19 21:02:32 +09:00
Tatsuhiro Tsujikawa
9f1543f81e
integration: Add https redirect tests
2017-02-18 22:32:45 +09:00
Tatsuhiro Tsujikawa
a7c780a732
nghttpx: Redirect to HTTPS URI with redirect-if-not-tls param
...
This commit removes frontend-tls parameter, and adds
redirect-if-not-tls parameter parameter to --backend option. nghttpx
now responds to the request with 308 status code to redirect the
request to https URI if frontend connection is not TLS encrypted, and
redirect-if-no-tls parameter is used in --backend option. The port
number in Location header field is 443 by default (thus omitted), but
it can be configurable using --redirect-https-port option.
2017-02-18 22:32:27 +09:00
Tatsuhiro Tsujikawa
1bd6893084
integration: Fix deprecation warnings
2017-02-18 22:29:59 +09:00
Tatsuhiro Tsujikawa
ae21130b13
integration: Redirect nghttpx stdout/stderr to test driver's stdout/stderr
2017-02-18 22:29:25 +09:00
Tatsuhiro Tsujikawa
e06ed85747
nghttpx: Fix travis gcc compile error
2017-02-17 00:42:25 +09:00
Tatsuhiro Tsujikawa
83fd72c97e
nghttpx: Use std::chrono::duration_cast
2017-02-17 00:33:26 +09:00
Tatsuhiro Tsujikawa
ace40f298d
nghttpx: Update log time stamp in millisecond interval
2017-02-17 00:18:07 +09:00
Tatsuhiro Tsujikawa
1133cc0bbc
nghttpx: Don't call get_config() repeatedly
2017-02-16 23:41:23 +09:00
Tatsuhiro Tsujikawa
6960039aee
nghttpx: C++ style cast
2017-02-16 23:02:19 +09:00
Tatsuhiro Tsujikawa
bf5eeb831b
nghttpx: Better error message when private key and certificate are missing
2017-02-16 23:00:25 +09:00
Tatsuhiro Tsujikawa
e5b84fad09
nghttpx: Fix bug that old config is used during reloading config
2017-02-16 22:46:22 +09:00
Tatsuhiro Tsujikawa
cfb39171a7
nghttpx: Remove redundant StringRef ctor invocation
2017-02-16 22:45:55 +09:00
Tatsuhiro Tsujikawa
2f6e1ac336
Merge pull request #816 from nghttp2/tls13
...
Add TLSv1.3 support
2017-02-15 23:23:25 +09:00
Tatsuhiro Tsujikawa
9e8d9d658a
src: Enable TLSv1.3 if OpenSSL supports it
...
If OpenSSL supports TLSv1.3, enable it by default for all applications
under src. BoringSSL can work at the moment although it does not
unlock all the features nghttpx offers. OpenSSL's TLSv1.3 support is
still WIP at the time of writing.
2017-02-15 22:34:53 +09:00
Tatsuhiro Tsujikawa
6ecfac6954
nghttpx: Parse default TLS min and max versions from string
2017-02-15 21:28:40 +09:00
Tatsuhiro Tsujikawa
368775c2ed
Merge pull request #814 from alagoutte/pvs
...
nghttp2_session: fix The 'then' statement is equivalent to the subseq…
2017-02-15 21:15:43 +09:00
Tatsuhiro Tsujikawa
1e9a094edd
Merge pull request #811 from nghttp2/nghttp2_option_no_closed_streams
...
Add nghttp2_option_no_closed_streams
2017-02-15 21:11:17 +09:00
Alexis La Goutte
ceb4dcf3b2
nghttp2_session: fix The 'then' statement is equivalent to the subsequent code fragment found by PVS Studio (V523)
2017-02-14 17:40:51 +01:00
Tatsuhiro Tsujikawa
d2ef80fe3a
Update bash_completion
2017-02-14 22:36:11 +09:00
Tatsuhiro Tsujikawa
79ae5aed67
Update man pages
2017-02-14 22:35:54 +09:00
Tatsuhiro Tsujikawa
56e86cd944
src: h2 requires >= TLSv1.2
2017-02-14 22:21:35 +09:00
Tatsuhiro Tsujikawa
19a311ad62
Merge branch 'nghttpx-tls-min-max-proto-version'
2017-02-14 22:17:13 +09:00
Tatsuhiro Tsujikawa
b36e53cccd
nghttpx: Specify TLS protocol by version range
...
This commit deprecates --tls-proto-list option, and adds 2 new
options: --tls-min-proto-version and --tls-max-proto-version to
specify minimum and maximum protocol version respectively. Versions
between the two are enabled. The deprecated --tls-proto-list has
empty default value, and acts like enabling only specific protocol
versions in the range for now.
2017-02-14 00:01:09 +09:00
Tatsuhiro Tsujikawa
f3a5a0a0ec
Add nghttp2_option_no_closed_streams
...
nghttp2_option_no_closed_streams controls whether closed streams are
retained or not. If nonzero is passed to that function's parameter
val, a session does not retain closed streams. It may hurt the shape
of priority tree, but can save memory.
2017-02-13 22:33:29 +09:00
Tatsuhiro Tsujikawa
001d45efad
Merge branch 'nghttpx-graceful-sigusr2'
2017-02-12 23:52:03 +09:00
Tatsuhiro Tsujikawa
56c455bca4
nghttpx: Send SIGQUIT to the original master process
...
Previously, after sending SIGUSR2 to the original master process, and
the new master process gets ready, user has to send SIGQUIT to the
original master process to shut it down gracefully. With this commit,
the new master process sends SIGQUIT to the original master process
when it is ready to serve requests, eliminating for user to send
SIGQUIT manually.
This works nicely with systemd, because now you can replace nghttpx
binary with new one by "systemctl kill -s USR2 --kill-who=main
nghttpx".
2017-02-12 23:29:44 +09:00
Tatsuhiro Tsujikawa
4bf3cb2cc0
Revert "nghttpx: Don't capitalize h1 header fields"
...
This reverts commit f994664934 .
2017-02-12 23:27:38 +09:00
Tatsuhiro Tsujikawa
c78528d54b
nghttpx: Restrict HTTP major and minor in 0 or 1
2017-02-11 18:42:29 +09:00
Tatsuhiro Tsujikawa
f994664934
nghttpx: Don't capitalize h1 header fields
2017-02-11 18:41:52 +09:00
Tatsuhiro Tsujikawa
44e290da66
clang-format
2017-02-11 13:08:08 +09:00
Tatsuhiro Tsujikawa
8aed101585
Merge pull request #805 from pakdel/graceful_stop
...
graceful stop of nghttp2::asio_http2::server::http2
2017-02-11 13:07:10 +09:00
Tatsuhiro Tsujikawa
54ba1bebf2
Update doc
2017-02-10 22:40:57 +09:00
Tatsuhiro Tsujikawa
e44c58282e
Drop privilege of neverbleed daemon first
2017-02-10 17:43:19 +09:00
Tatsuhiro Tsujikawa
c02b1041d9
nghttpx: Use nullptr instead of NULL
2017-02-10 17:14:47 +09:00
Tatsuhiro Tsujikawa
0d20e07436
Show SYSTEMD_CFLAGS in summary
2017-02-10 17:13:34 +09:00
Tatsuhiro Tsujikawa
b7f956c967
Add --with-systemd option to configure
2017-02-10 17:13:16 +09:00
Tatsuhiro Tsujikawa
786f52a81c
Document about systemd support in README
2017-02-10 17:02:52 +09:00
Tatsuhiro Tsujikawa
23209baaf5
clang-format
2017-02-10 17:02:46 +09:00
Tatsuhiro Tsujikawa
9d2503f9c0
Merge pull request #802 from zdzichu/master
...
nghttpx: add systemd support
2017-02-10 16:17:01 +09:00
Amir Pakdel
1c31213aef
More graceful stop of nghttp2::asio_http2::server::http2
...
Explicit io_service::stop() will prevent running streams from
finishing their task. That means if there are already reposnes
that we have called end(std::string) on them and they have not
finished sending back their data, they will be closed with a
NGHTTP2_INTERNAL_ERROR
Instead, we can stop accepting connections and destroy all
io_service::work objects to signals end of work.
2017-02-09 23:34:19 -05:00
Tomasz Torcz
fdb75ba5fe
nghttpx: add systemd support
...
Add systemd's Type=notify support by sending information about
master process PID around forks.
Add some hardening option to service unit.
2017-02-09 18:58:00 +01:00
Tatsuhiro Tsujikawa
8f888b29bd
clang-format
2017-02-09 21:00:47 +09:00
clemahieu
298808f276
Holding more shared_ptrs instead of raw ptrs to make sure called objects don't get deleted.
2017-02-09 21:00:11 +09:00
Tatsuhiro Tsujikawa
a231874e1e
Merge branch 'nghttpx-certs-per-sigalg'
2017-02-08 23:36:23 +09:00
Tatsuhiro Tsujikawa
2101f4ae3f
Merge branch 'mruby-send-1xx'
2017-02-08 22:18:11 +09:00
Tatsuhiro Tsujikawa
4a06f9684f
nghttpx: Fix crash on SIGHUP with multi thread configuration
2017-02-08 22:14:23 +09:00
Tatsuhiro Tsujikawa
5f31c09410
Mention about nghttp2_data_source_read_length_callback
2017-02-08 00:40:47 +09:00
Tatsuhiro Tsujikawa
9a85c5264a
nghttpx: Send 1xx non-final response using mruby script
2017-02-08 00:30:03 +09:00
Tatsuhiro Tsujikawa
fd475e4b2f
Merge branch 'oss-fuzz'
2017-02-07 00:28:24 +09:00
Tatsuhiro Tsujikawa
5dc1d116c9
fuzz: Add README
2017-02-06 23:13:23 +09:00
Tatsuhiro Tsujikawa
c566d3f475
Add fuzzer for oss-fuzz
2017-02-06 22:14:49 +09:00
Tatsuhiro Tsujikawa
68a724cf7b
nghttpx: Select certificate by client's supported signature algo
...
nghttpx supports multiple certificates using --subcert option.
Previously, SNI hostname is used to select certificate. With this
commit, signature algorithm presented by client is also taken into
consideration. nghttpx now accepts certificates which share the same
hostname (CN, SAN), but have different signature algorithm (e.g.,
ECDSA+SHA256, RSA+SHA256).
Currently, this feature requires OpenSSL >= 1.0.2. BoringSSL, and
LibreSSL do not work since they lack required APIs.
2017-02-04 23:37:24 +09:00
Tatsuhiro Tsujikawa
779ec50e73
Merge pull request #795 from clemahieu/close_stream_iterator
...
close_stream erases from streams_ while it's being iterated over.
2017-02-04 11:37:43 +09:00
Tatsuhiro Tsujikawa
aad3e275d1
Merge branch 'clemahieu-acceptor_infinite_loop'
2017-02-04 11:35:43 +09:00
Tatsuhiro Tsujikawa
1649948e78
asio: Add curly brackets to avoid possible well known issue
2017-02-04 11:33:21 +09:00
clemahieu
6d3e010ae7
Infinite loop in acceptor handler.
2017-02-04 11:31:12 +09:00
Tatsuhiro Tsujikawa
7dddac081e
clang-format
2017-02-04 11:29:10 +09:00
Tatsuhiro Tsujikawa
588dd33241
Merge branch 'worenga-github-pr-preload'
2017-02-04 11:28:53 +09:00
clemahieu
f0b6b9508d
close_stream erases from streams_ while it's being iterated over.
...
The destructor will already clean this structure up.
2017-02-03 01:36:18 -06:00
Benedikt Christoph Wolters
14ccb24be5
add support for link rel="preload" for --get-assets
2017-02-01 15:54:15 +01:00
Tatsuhiro Tsujikawa
025ec85144
Merge pull request #790 from nghttp2/nghttpx-backend-frontend-tls-parameter
...
nghttpx: Add frontend-tls parameter to backend to require client TLS
2017-01-31 21:49:51 +09:00
Tatsuhiro Tsujikawa
bd97886d8e
nghttpx: Use stack allocated buffer instead of making std::string
2017-01-29 22:11:33 +09:00
Tatsuhiro Tsujikawa
0b1ddad62b
nghttpx: Add frontend-tls parameter to backend to require client TLS
2017-01-28 22:19:14 +09:00
Tatsuhiro Tsujikawa
540853bde8
nghttpx: Fix typo
2017-01-28 22:18:17 +09:00
Tatsuhiro Tsujikawa
c757f7d848
nghttpx: Recommend POST for backendconfig API request
2017-01-28 17:54:00 +09:00
Tatsuhiro Tsujikawa
052f3a3871
Update doc
2017-01-26 23:40:12 +09:00
Tatsuhiro Tsujikawa
2ae83e871b
Merge branch 'Sp1l-master'
2017-01-26 20:36:57 +09:00
Tatsuhiro Tsujikawa
1cc08c0a51
nghttpx: Show warning if PSK options are used but not supported
2017-01-26 20:34:58 +09:00
Bernard Spil
16be89f9cc
nghttpx: Don't build PSK features with LibreSSL
...
LibreSSL removed PSK
Signed-off-by: Bernard Spil <brnrd@FreeBSD.org >
2017-01-26 20:21:55 +09:00
Tatsuhiro Tsujikawa
3ddc446ba2
nghttpx: Enable backend pattern matching with http2-proxy
2017-01-26 01:04:27 +09:00
Tatsuhiro Tsujikawa
b72c5f104e
h2load: Fix wrong req_stat updates
2017-01-26 00:26:35 +09:00
Tatsuhiro Tsujikawa
7e6eb7e02a
h2load: Explicitly count the number of requests left and inflight
2017-01-26 00:16:12 +09:00
Tatsuhiro Tsujikawa
712b08e8ed
Bump up version number to 1.20.0-DEV
2017-01-25 20:50:21 +09:00
Tatsuhiro Tsujikawa
fbf156d22d
Update man pages
2017-01-25 20:30:16 +09:00
Tatsuhiro Tsujikawa
965a0e87e5
Bump up version number to 1.19.0, LT revision to 26:4:12
2017-01-25 20:23:37 +09:00
Tatsuhiro Tsujikawa
2b55ca1ce6
Update AUTHORS
2017-01-25 20:22:05 +09:00
Tatsuhiro Tsujikawa
534c01896c
Update bash_completion
2017-01-24 23:05:53 +09:00
Tatsuhiro Tsujikawa
c25197ac40
Update man pages
2017-01-24 23:05:39 +09:00
Tatsuhiro Tsujikawa
becae65257
Fix leak
2017-01-24 22:59:01 +09:00
Tatsuhiro Tsujikawa
ba9f2c3ae2
Compile with Android NDK r13b using clang
2017-01-23 00:32:51 +09:00
Tatsuhiro Tsujikawa
0387525b77
Update doc
2017-01-23 00:30:56 +09:00
Tatsuhiro Tsujikawa
5311185333
nghttpx: Define the maximum number of digits in uint64_t
2017-01-22 22:33:52 +09:00
Tatsuhiro Tsujikawa
2fc2a27ac1
nghttpx: Use char instead of char[] if possible
2017-01-22 22:28:14 +09:00
Tatsuhiro Tsujikawa
db938afd66
nghttpx: Increase default backlog
2017-01-20 23:06:24 +09:00
Tatsuhiro Tsujikawa
89ddc47616
nghttpx: More constexpr
2017-01-20 23:04:48 +09:00
Tatsuhiro Tsujikawa
90b7849af1
Merge branch 'nghttpx-optimize-accesslog'
2017-01-20 23:03:52 +09:00
Tatsuhiro Tsujikawa
3176e872b3
nghttpx: Efficient access.log writer
...
Write integer to log buffer directly to improve efficiency. Remove
unused function templates. Use [first, last) style arguments for
copy() function templates.
2017-01-20 22:42:41 +09:00
Tatsuhiro Tsujikawa
16206d5f67
nghttp: Use std::unique_ptr for html_parser
2017-01-18 00:34:39 +09:00
Tatsuhiro Tsujikawa
0f33749790
nghttp: Take into account scheme and port when parsing HTML links
...
Previously, when parsing HTML links, we only take into account
overridden host. But we actually need more variables to consider. In
this commit, we take into account overridden scheme, host, and port to
parse HTML links.
2017-01-18 00:29:51 +09:00
Tatsuhiro Tsujikawa
5e7e4c0cc0
nghttp: config.headers should be inspected rather than req->req_nva
2017-01-17 23:00:37 +09:00
Tatsuhiro Tsujikawa
25503ad763
Merge branch 'worenga-fix-get-assets'
2017-01-17 21:15:40 +09:00
Benedikt Christoph Wolters
8f513fceca
Fix authority for --get-assets if IP adress is used in conjunction with user-defined :authority header
2017-01-17 21:14:36 +09:00
Tatsuhiro Tsujikawa
91af4ed70d
Merge branch 'nghttpx-accesslog-write-early'
2017-01-14 11:39:58 +09:00
Tatsuhiro Tsujikawa
685e926494
nghttpx: Add --accesslog-write-early option
...
--accesslog-write-early option is analogous to HAProxy's logasap. If
used, nghttpx writes access log when response header fields are
received from backend rather than when request transaction finishes.
2017-01-13 22:12:21 +09:00
Tatsuhiro Tsujikawa
a2afd393ed
nghttpx: Remove field from LogSpec which can be got from Downstream
2017-01-11 22:30:12 +09:00
Tatsuhiro Tsujikawa
4e9098bccf
Merge branch 'nghttpx-accesslog-timestamp'
2017-01-11 21:14:12 +09:00
Tatsuhiro Tsujikawa
33aa327ef5
nghttpx: Fix access.log timestamp
...
access.log timestamp is now when request header fields are received,
rather than when access log is written.
2017-01-11 20:47:17 +09:00
Tatsuhiro Tsujikawa
9067ff5eee
nghttp: Use nghttp2::ssl::DEFAULT_CIPHER_LIST
2017-01-09 23:50:38 +09:00
Tatsuhiro Tsujikawa
efeede4192
nghttpx: Fix typo
2017-01-09 23:49:10 +09:00
Tatsuhiro Tsujikawa
6a8749873f
nghttpx: Add detailed TLS connection logging
2017-01-09 23:32:35 +09:00
Tatsuhiro Tsujikawa
b1b8308555
Update doc
2017-01-09 22:22:04 +09:00
Tatsuhiro Tsujikawa
9b574a5a76
nghttpx: Fix typo
2017-01-09 22:19:19 +09:00
Tatsuhiro Tsujikawa
0567f1f038
Add constexpr to StringRef(const CharT *, size_t)
2017-01-09 21:15:53 +09:00
Tatsuhiro Tsujikawa
4be5de1163
src: Move log related functions from util.cc to shrpx_log.cc
2017-01-09 19:34:40 +09:00
Tatsuhiro Tsujikawa
9db1c9467c
src: Add constexpr to long_options
2017-01-09 19:28:00 +09:00
Tatsuhiro Tsujikawa
3444b42d44
src: Add more constexpr
2017-01-09 17:17:48 +09:00
Tatsuhiro Tsujikawa
6595ae26ea
src: Add constexpr to const objects
2017-01-09 17:11:37 +09:00
Tatsuhiro Tsujikawa
41d8a3ac09
Document PROX protocol and PSK in nghttpx howto
2017-01-09 16:33:51 +09:00
Tatsuhiro Tsujikawa
175001a8d9
Add migration section from nghttpx v1.18.x
2017-01-09 16:09:30 +09:00
Tatsuhiro Tsujikawa
7cf9e00283
Update bash_completion
2017-01-09 14:56:03 +09:00
Tatsuhiro Tsujikawa
8a3eb3f066
Update man pages
2017-01-09 14:55:51 +09:00
Tatsuhiro Tsujikawa
7e1a0d204b
h2load: Show default cipher list in -h
2017-01-09 14:47:32 +09:00
Tatsuhiro Tsujikawa
cbca2e35b5
nghttpx: Show default cipher list in -h
2017-01-09 14:43:13 +09:00
Tatsuhiro Tsujikawa
fc9bdf024f
src: Make DEFAULT_CIPHER_LIST constexpr char[]
2017-01-09 14:42:40 +09:00
Tatsuhiro Tsujikawa
3f97e6cd3a
Merge pull request #776 from nghttp2/nghttpx-memchunkbuffer
...
nghttpx: Use Memchunk based read buffer for frontend connection
2017-01-09 13:08:23 +09:00
Tatsuhiro Tsujikawa
4fa150c494
nghttpx: Use Memchunk based read buffer for frontend connection
...
Previously, we have dedicated read buffer for each frontend
connection. With this commit, the buffer spaces are only used when
needed, and pooled if they are not used. This reduces memory usage
for idle client connections.
2017-01-08 23:20:14 +09:00
Tatsuhiro Tsujikawa
e8b2508036
nghttpx: Rename confusing names in HttpDownstreamConnection
2017-01-08 23:09:00 +09:00
Tatsuhiro Tsujikawa
ac399e41ac
nghttpx: Update doc
...
Mention client-ciphers, and no-http2-cipher-black-list options in
psk-secrets and client-psk-secrets options.
2017-01-08 23:04:07 +09:00
Tatsuhiro Tsujikawa
95dd908834
Merge branch 'nghttpx-more-tls-options'
2017-01-08 22:57:21 +09:00
Tatsuhiro Tsujikawa
9c7e54d9b5
nghttpx: Add client-ciphers option
...
Previously, ciphers option sets cipher list for both frontend and
backend TLS connections. With this commit, ciphers option only sets
cipher list for frontend connections. The new client-ciphers option
sets cipher list for backend connection.
2017-01-08 22:40:58 +09:00
Tatsuhiro Tsujikawa
3c03024881
nghttpx: Add client-no-http2-cipher-black-list option
...
This commit adds client-no-http2-cipher-black-list option to disable
enforcement of HTTP/2 cipher black list on backend HTTP/2 connection.
Previously, existing no-http2-cipher-black-list option disables it for
both frontend and backend connections. Now no-http2-cipher-black-list
option only disables it for frontend connection.
2017-01-08 22:33:19 +09:00
Tatsuhiro Tsujikawa
36dfc0a56a
nghttpx: Reorganize client side TLS configuration
2017-01-08 22:25:30 +09:00
Tatsuhiro Tsujikawa
55bf6cdb15
Merge branch 'nghttpx-psk'
2017-01-08 21:10:07 +09:00
Tatsuhiro Tsujikawa
0abc220013
nghttpx: Fix the bug that no-http2-cipher-black-list does not work
...
Because of the redundant check in backend HTTP/2 session,
no-http2-cipher-black-list does not work on backend HTTP/2 connection.
This commit fixes it.
2017-01-08 19:43:24 +09:00
Tatsuhiro Tsujikawa
c28900990a
h2load: Show custom server temp key such as X25519
2017-01-08 17:58:19 +09:00
Tatsuhiro Tsujikawa
5108193d7b
h2load: Fix incorrect return value from spdylay_send_callback
2017-01-08 17:32:35 +09:00
Tatsuhiro Tsujikawa
79a24f5dd9
nghttpx: Add --client-psk-secret option to enable PSK in backend
2017-01-08 00:35:55 +09:00
Tatsuhiro Tsujikawa
83c759572c
nghttpx: Add --psk-secret option to enable PSK in frontend connection
2017-01-08 00:35:54 +09:00
Tatsuhiro Tsujikawa
1a07fb000b
nghttpx: Enable SCT with OpenSSL 1.1.0
2017-01-06 21:29:04 +09:00
Tatsuhiro Tsujikawa
4aab15999d
Merge pull request #769 from alagoutte/pvs
...
Fix issue reporting by PVS Studio
2017-01-04 20:27:55 +09:00
Tatsuhiro Tsujikawa
441982674f
Merge pull request #768 from makovich/master
...
Update README file
2017-01-04 20:24:04 +09:00
Alexis La Goutte
8256c6e070
libevent-client: fix Incorrect format found by PVS Studio (V576)
...
Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.
2017-01-03 22:03:53 +01:00
Alexis La Goutte
ae87a44b94
nghttp2_hd: fix It is odd that the body of 'hd_get_num_table_entries' function is fully equivalent to the body of 'get_max_index' function found by PVS Studio (V524)
2017-01-03 22:03:53 +01:00
Alexis La Goutte
87d1692e27
nghttp2_submit: fix Parameter 'flags' is always rewritten in function body before being used found by PVS Studio (V763)
2017-01-03 22:03:53 +01:00
makovich
1d2f008656
Update README file
2017-01-03 23:00:32 +03:00
Tatsuhiro Tsujikawa
b064d8a9ff
Merge branch 'nghttpx-fronend-proxyproto'
2017-01-03 17:28:20 +09:00
Tatsuhiro Tsujikawa
528af200b6
Merge branch 'nghttpx-fix-libev-assertion-error'
2017-01-03 17:26:05 +09:00
Tatsuhiro Tsujikawa
c6827a7dac
nghttpx: Fix assertion error in libev ev_io_start
2017-01-03 16:43:49 +09:00
Tatsuhiro Tsujikawa
55ecb082ee
nghttpx: Handle c-ares success without result
2017-01-03 14:35:05 +09:00
Tatsuhiro Tsujikawa
5f2cf461e6
integration: Avoid nghttpx accept-proxy-protocol option
2017-01-03 14:14:37 +09:00
Tatsuhiro Tsujikawa
b313386988
nghttpx: Add proxyproto to frontend option to accept PROXY protocol
...
Previously, global accept-proxy-protocol option enables PROXY protocol
support for all frontend listeners, but this was inflexible. To fix
this issue, accept-proxy-protocol option is now deprecated, and
instead proxyproto parameter in frontend option enables PROXY protocol
support per frontend.
2017-01-03 12:47:03 +09:00
Tatsuhiro Tsujikawa
3933280d29
src: Fix assertion error with boringssl
...
boringssl says:
/* It is an error to clear any bits that have already been set. (We can't try
* to get a second close_notify or send two.) */
assert((SSL_get_shutdown(ssl) & mode) == SSL_get_shutdown(ssl));
2017-01-02 11:48:38 +09:00
Tatsuhiro Tsujikawa
2b6073900f
Merge branch 'nghttpx-dns-timeout-fix'
2016-12-30 11:39:28 +09:00
Tatsuhiro Tsujikawa
d1ba43a69f
nghttpx: Fix bug that DNS timeout was erroneously disabled
2016-12-30 11:09:02 +09:00
Tatsuhiro Tsujikawa
a0779edec4
nghttpx: Fix bug that DNS timeout was ignored
2016-12-30 11:08:26 +09:00
Tatsuhiro Tsujikawa
d70fefe72f
Bump up version number to 1.19.0-DEV
2016-12-27 20:55:00 +09:00
Tatsuhiro Tsujikawa
b52db072f1
Update bash_completion
2016-12-27 20:43:30 +09:00
Tatsuhiro Tsujikawa
ab0b98db61
Update man pages
2016-12-27 20:42:46 +09:00
Tatsuhiro Tsujikawa
4245d98653
Bump up version number to 1.18.0, LT revision to 26:3:12
2016-12-27 20:35:31 +09:00
Tatsuhiro Tsujikawa
93b4866f5b
Merge branch 'nghttpx-dont-write-after-failure'
2016-12-26 00:49:45 +09:00
Tatsuhiro Tsujikawa
25df164219
nghttpx: Don't write again after failure
...
Plain write(2) is OK, but SSL_write requires same arguments on retry.
It would be better to avoid calling them again.
2016-12-26 00:35:38 +09:00
Tatsuhiro Tsujikawa
ba03c082e9
Merge branch 'nghttpx-retry-h1-backend-request'
2016-12-25 23:05:29 +09:00
Tatsuhiro Tsujikawa
bcfa333322
nghttpx: Refactor h1 backend retry code
2016-12-25 22:19:51 +09:00
Tatsuhiro Tsujikawa
c4aeadd57d
nghttpx: Retry h1 backend request if first write fails
2016-12-25 22:19:51 +09:00
Tatsuhiro Tsujikawa
e6b4454e48
Merge branch 'nghttpx-better-early-final-response-handling'
2016-12-24 23:02:52 +09:00
Tatsuhiro Tsujikawa
3226d21609
Merge pull request #755 from nghttp2/nghttpx-h1-frontend-keep-alive-timeout
...
nghttpx: Add frontend-keep-alive-timeout option
2016-12-24 23:01:17 +09:00
Tatsuhiro Tsujikawa
3d20c2dce6
nghttpx: Feed read event rather than calling on_read
...
on_read may fail, but we failed to check its return value most of the
places. This is because failure means deletion of ClientHandler, but
because of architecture, we cannot delete it. Feeding read event is
better since we can move call on_read from libev callback. We can
delete ClientHandler form there.
2016-12-24 22:57:59 +09:00
Tatsuhiro Tsujikawa
cd83d70e7b
nghttpx: Don't reset stream if we have already received response
2016-12-24 22:54:22 +09:00
Tatsuhiro Tsujikawa
a0ce5ea9ab
nghttpx: Keep reading after backend write failed
...
Because of bidirectional nature of TCP, we may fail write(2), but have
still pending read in TCP buffer, which may contain response body. To
forward them, we should keep reading until get EOF from backend.
To avoid stalling HTTP/1 upload when request buffer is full, and we
have received complete response from backend, drop connection in that
case.
2016-12-24 22:50:02 +09:00
Tatsuhiro Tsujikawa
3c600c103f
nghttpx: Add frontend-keep-alive-timeout option
2016-12-23 11:01:29 +09:00
Tatsuhiro Tsujikawa
841ac75c3e
nghttpx: Clarify that backend-keep-alive-timeout applies to h1 only
2016-12-23 10:49:39 +09:00
Tatsuhiro Tsujikawa
80a96817aa
Add c-ares to android build guide
2016-12-21 23:47:34 +09:00
Tatsuhiro Tsujikawa
ecc05e0a1a
Add git submodule to required build step
2016-12-21 23:34:28 +09:00
Tatsuhiro Tsujikawa
359730af54
Fix regression in ff64f64e1d
2016-12-21 23:19:10 +09:00
Tatsuhiro Tsujikawa
e9cb19c80e
Merge branch 'nghttpx-new-errorlog-format'
2016-12-20 23:14:18 +09:00
Tatsuhiro Tsujikawa
049e064e28
nghttpx: New error log format
...
To debug multi threaded configuration easier, we added current PID and
thread ID to error log. Previously, we didn't add date and time if
log level is NOTICE. In this change, we always write date and time
regardless of log level.
2016-12-20 23:13:19 +09:00
Tatsuhiro Tsujikawa
0463928a1e
nghttpx: Fix uninitialized errors found by coverity scan
2016-12-18 22:16:52 +09:00
Tatsuhiro Tsujikawa
02d34c8c4c
nghttpx: Fix dead code found by coverity scan
2016-12-18 22:14:26 +09:00
Tatsuhiro Tsujikawa
46acf32c41
Merge pull request #748 from nghttp2/pkg-config-libxml2
...
Use pkg-config to detect libxml2
2016-12-18 00:46:22 +09:00
Tatsuhiro Tsujikawa
cab0a76795
Use pkg-config to detect libxml2
2016-12-18 00:20:30 +09:00
Tatsuhiro Tsujikawa
0c76cebbfc
Merge branch 'travis-make-distcheck'
2016-12-17 22:54:12 +09:00
Tatsuhiro Tsujikawa
5029b85b25
Add -f option to rm rst files not to pause travis build
2016-12-17 22:27:14 +09:00
Tatsuhiro Tsujikawa
0b71d9b828
travis: Do make distcheck for autotools build
2016-12-17 22:18:43 +09:00
Tatsuhiro Tsujikawa
464d7c4ec6
Update doc
2016-12-16 22:09:00 +09:00
Tatsuhiro Tsujikawa
ed21b631ae
Update doc
2016-12-16 21:31:26 +09:00
Tatsuhiro Tsujikawa
950e2d9954
Mention dynamic hostname lookup in nghttpx how-to
2016-12-16 21:30:13 +09:00
Tatsuhiro Tsujikawa
71c054a789
Merge pull request #745 from nghttp2/remove-tiny-nghttpd
...
examples: Delete tiny-nghttpd
2016-12-15 00:18:33 +09:00
Tatsuhiro Tsujikawa
d2f456e5b1
Remove tiny-nghttpd from cmake build system
2016-12-14 23:56:02 +09:00
Tatsuhiro Tsujikawa
30a44b26d3
examples: Delete tiny-nghttpd
...
nghttpd does the better job in this area.
2016-12-14 23:26:52 +09:00
Tatsuhiro Tsujikawa
7dff758f8b
Merge pull request #743 from nghttp2/fix-fetch-ocsp-response-with-openssl-1-1-0
...
Fix bug that fetch-ocsp-response does not work with OpenSSL 1.1.0
2016-12-12 22:59:40 +09:00
Tatsuhiro Tsujikawa
bd3ececdd8
Fix bug that fetch-ocsp-response does not work with OpenSSL 1.1.0
...
The syntax of openssl ocsp -header option has been changed in OpenSSL
1.1.0. And it now does not require -header option anymore. It looks
like that it is workaround for 1.0.x versions.
2016-12-12 21:22:48 +09:00
Tatsuhiro Tsujikawa
77416b0ac2
Update man pages
2016-12-11 17:01:16 +09:00
Tatsuhiro Tsujikawa
fce9efd341
Mention that non-numeric host is allowed in API call if "dns" is used
2016-12-11 17:00:33 +09:00
Tatsuhiro Tsujikawa
928fda1d70
Update bash_completion
2016-12-11 16:52:14 +09:00
Tatsuhiro Tsujikawa
2d9d654507
Update man pages
2016-12-11 16:52:03 +09:00
Tatsuhiro Tsujikawa
7398e57174
Merge pull request #740 from nghttp2/backend-dns
...
nghttpx: Dynamic DNS
2016-12-11 16:48:28 +09:00
Tatsuhiro Tsujikawa
503ec82f4d
Merge pull request #737 from alagoutte/win
...
Add Windows CI via AppVeyor
2016-12-11 16:38:46 +09:00
Tatsuhiro Tsujikawa
22bd9fb530
nghttpx: Set DNS cache expire date for error and ok statuses only
2016-12-11 11:49:24 +09:00
Tatsuhiro Tsujikawa
e007b6b031
Add DNS integration tests
2016-12-11 11:32:38 +09:00
Tatsuhiro Tsujikawa
c487cd888f
nghttpx: Periodically remove expired DNS cache entries
2016-12-11 10:42:54 +09:00
Tatsuhiro Tsujikawa
fd403a85c8
nghttpx: Just return DNS_STATUS_ERROR
...
At the moment, we use both resolvers, and if either one is not
DNS_STATUS_IDLE, the other one is also not DNS_STATUS_IDLE. This may
change if we are going to configure DNS so that either A or AAAA
lookup is done. In that case, it is better to just return
DNS_STATUS_ERROR in the diff. This is because the calling side does
not expect DNS_STATUS_IDLE in that case.
2016-12-11 10:39:19 +09:00
Tatsuhiro Tsujikawa
a06a8c36a4
nghttpx: Add --dns-lookup-timeout and --dns-max-try options
2016-12-11 00:50:16 +09:00
Tatsuhiro Tsujikawa
0967ee9cb9
nghttpx: Better logging for DNS resolver
2016-12-10 23:10:18 +09:00
Tatsuhiro Tsujikawa
d66d34f9b9
Add libc-ares detection to cmake
2016-12-10 22:40:18 +09:00
Tatsuhiro Tsujikawa
264a98d106
nghttpx: Call c-ares initialization/cleanup functions
2016-12-10 21:41:03 +09:00
Tatsuhiro Tsujikawa
7c11d2d9bb
Require c-ares >= 1.7.5
2016-12-10 21:40:50 +09:00
Tatsuhiro Tsujikawa
b58d7b406f
Try c-ares 1.7.5 because it is the latest version travis offers
2016-12-10 21:32:37 +09:00
Tatsuhiro Tsujikawa
5ed9e4c83b
Document that c-ares is a required library for nghttpx
2016-12-10 21:09:51 +09:00
Tatsuhiro Tsujikawa
e7da2a669e
.travis.yml: Add libc-ares-dev
2016-12-10 21:09:51 +09:00
Tatsuhiro Tsujikawa
d66377d4b6
nghttpx: Add dns-cache-timeout option
...
This option controls how long cached DNS entries remain valid.
2016-12-10 21:09:51 +09:00
Tatsuhiro Tsujikawa
77a324fa46
nghttpx: Backend API call allows non-numeric host with dns parameter
2016-12-10 21:09:50 +09:00
Tatsuhiro Tsujikawa
38b5cad4e3
nghttpx: Lookup backend host name dynamically
...
We have added "dns" parameter to backend option. If specified, name
lookup is done dynamically. If not, name lookup is done at start up,
or configuration reloading. nghttpx caches DNS result including error
case in 30 seconds in this commit. Later commit makes this
configurable.
DNS resolution is done asynchronously using c-ares library.
2016-12-10 21:09:50 +09:00
Alexis La Goutte
29014643a9
Add Windows CI via AppVeyor
2016-12-08 21:17:02 +01:00
Tatsuhiro Tsujikawa
0872f6babe
Merge pull request #736 from nghttp2/accept-204-content-length-0
...
Accept content-length: 0 in 204 response
2016-12-04 13:27:30 +09:00
Tatsuhiro Tsujikawa
b6a9cf9ffa
nghttpx: Accept and ignore content-length: 0 in 204 response for now
2016-12-03 14:57:48 +09:00
Tatsuhiro Tsujikawa
5645cad577
Accept and ignore content-length: 0 in 204 response for now
2016-12-03 14:57:16 +09:00
Tatsuhiro Tsujikawa
85ba33c08f
nghttpx: Wait for child process to exit
...
Normally, we don't have wait for child process to exit, since init can
take care of them. But in containerized environment, pid 0 init might
not be available, and defunct processes can be piled up. This commit
ensures that OCSP and neverbleed processes are waited for before
worker process exits.
2016-11-30 22:59:02 +09:00
Tatsuhiro Tsujikawa
ff64f64e1d
nghttpx: Faster HTTP/1 frontend
2016-11-29 20:42:27 +09:00
Tatsuhiro Tsujikawa
bdd3425028
Bump up version number to 1.18.0-DEV
2016-11-27 14:09:30 +09:00
Tatsuhiro Tsujikawa
70e02cddd3
Update man pages
2016-11-27 10:56:36 +09:00
Tatsuhiro Tsujikawa
d1c0a17cc2
Bump up version number to 1.17.0, LT revision to 26:2:12
2016-11-27 10:53:28 +09:00
Tatsuhiro Tsujikawa
35c5cbbc21
Update AUTHORS
2016-11-27 10:51:03 +09:00
Tatsuhiro Tsujikawa
2ff31bdd2b
nghttpx: Remove redundant check
2016-11-26 22:34:24 +09:00
Tatsuhiro Tsujikawa
2fa3d34af1
nghttpx: Use Connection::again_rt() in MemcachedConnection
2016-11-26 19:45:23 +09:00
Tatsuhiro Tsujikawa
fa3452ec68
nghttpx: Use Connection::again_rt() in LiveCheck
2016-11-26 19:45:23 +09:00
Tatsuhiro Tsujikawa
7451f2f212
nghttpx: Fix frequent crash with --backend-http-proxy-uri
2016-11-26 19:45:23 +09:00
Tatsuhiro Tsujikawa
e9ab75a386
nghttpx: Robust backend read timeout
2016-11-26 19:45:23 +09:00
Tatsuhiro Tsujikawa
d83949bc88
asio: server: Call on_close callback on connection close
2016-11-21 22:43:23 +09:00
Tatsuhiro Tsujikawa
50f42a80c9
nghttpx: Fix bug that mishandles response header from h1 backend
2016-11-18 22:33:29 +09:00
Tatsuhiro Tsujikawa
00bd76fc3d
Update man pages
2016-11-13 22:26:56 +09:00
Tatsuhiro Tsujikawa
93ea6b581e
Update LT revision due to v1.16.1 release
2016-11-13 22:24:31 +09:00
Tatsuhiro Tsujikawa
8e52a5c7f3
Add test for the bug that shift goes beyond 32 bits in decode_length
2016-11-12 23:05:16 +09:00
Tatsuhiro Tsujikawa
0aa35e574a
Merge branch 'ruds-master'
2016-11-12 22:55:28 +09:00
Matt Rudary
5a81f2441f
Prevent undefined behavior in decode_length
2016-11-11 11:12:43 -05:00
Tatsuhiro Tsujikawa
2b75aff32e
nghttpx: Fix bug that zero-length POST is not forwarded
2016-11-11 00:48:32 +09:00
Tatsuhiro Tsujikawa
f4474d57ec
nghttpx: Fix compile error with gcc
2016-11-07 23:11:52 +09:00
Tatsuhiro Tsujikawa
d0310c8aee
integration: Add te header field test
2016-11-07 22:56:36 +09:00
Tatsuhiro Tsujikawa
8471c9e92e
nghttpx: Parse te header field a bit more properly
2016-11-07 22:47:48 +09:00
Tatsuhiro Tsujikawa
f5a4c9d971
nghttpx: Don't copy non-final nva since they are backed by Downstream
2016-11-04 22:06:01 +09:00
Tatsuhiro Tsujikawa
a0dd8918eb
nghttpx: Don't mutate *_key_prev_ in add_header
2016-11-04 22:04:42 +09:00
Tatsuhiro Tsujikawa
baa9b1cac0
nghttpx: Remove optional reason-phrase from SPDY :status
2016-11-04 21:16:45 +09:00
Tatsuhiro Tsujikawa
38443d2195
nghttpx: Small optimization
2016-11-04 21:13:22 +09:00
Tatsuhiro Tsujikawa
208d71561a
src: Add missing mandatory SP after status code
2016-11-04 02:19:37 +09:00
Tatsuhiro Tsujikawa
25fbc7b435
nghttpx: Reset flags as well
2016-11-04 02:00:50 +09:00
Tatsuhiro Tsujikawa
6bd95d885d
Merge pull request #723 from nghttp2/strict-http-framing
...
Strict http framing
2016-11-03 23:30:38 +09:00
Tatsuhiro Tsujikawa
c171097dea
Document that libnghttp2's behaviour about Content-Length
2016-11-03 23:09:30 +09:00
Tatsuhiro Tsujikawa
6bcdb178a5
nghttpx: Header key and value must be string in mruby script
2016-11-03 22:58:45 +09:00
Tatsuhiro Tsujikawa
5e10cc4cad
nghttpx: Use gc save/restore around downcase method
2016-11-03 22:47:52 +09:00
Tatsuhiro Tsujikawa
95e6c875f0
nghttpx: Use mrb_ary_ref instead of mrb_ary_entry
2016-11-03 22:44:42 +09:00
Tatsuhiro Tsujikawa
6eb2829ee8
nghttpx: Strip content-length with 204 or 200 to CONNECT in mruby
2016-11-03 22:25:15 +09:00
Tatsuhiro Tsujikawa
6ad9ddcdea
Disallow content-length in 1xx, 204, or 200 to a CONNECT request
2016-11-03 17:26:32 +09:00
Tatsuhiro Tsujikawa
e082b7be72
nghttpx: Strict handling for Content-Length or Transfer-Encoding in h1
...
We now treat Content-Length or Transfer-Encoding as error if they come
with 204 or 1xx status code, or 200 to a CONNECT request in HTTP/1
response.
2016-11-03 17:00:05 +09:00
Tatsuhiro Tsujikawa
da01d8dedb
nghttpx: Delete outdated comment
2016-11-03 16:48:24 +09:00
Tatsuhiro Tsujikawa
ca6f6511f2
Avoid memcpy against NULL src
2016-11-01 23:54:21 +09:00
Tatsuhiro Tsujikawa
ee8440408c
Merge branch 'remoe-add_cmake_win_version'
2016-10-28 22:24:51 +09:00
Remo E
9cd695a1db
MSVC version resource support
2016-10-28 22:24:22 +09:00
Tatsuhiro Tsujikawa
4b45906f46
Merge branch 'dalf-boringssl'
2016-10-28 00:06:06 +09:00
dalf
d448eb54f9
Fix compilation with BoringSSL
2016-10-27 10:00:52 +00:00
Tatsuhiro Tsujikawa
65739fe754
Bump up version number to 1.17.0-DEV
2016-10-24 21:21:24 +09:00