Skip to content

Reject non-token characters in HTTP/2 header names - #16762

Merged
normanmaurer merged 3 commits into
netty:4.2from
daguimu:fix/http2-header-name-token-validation-11975
Jun 30, 2026
Merged

normanmaurer merged 3 commits into
netty:4.2from
daguimu:fix/http2-header-name-token-validation-11975

Conversation

@daguimu

@daguimu daguimu commented May 7, 2026

Copy link
Copy Markdown
Contributor

Problem

DefaultHttp2Headers accepts header names that contain bytes outside the HTTP token grammar — non-ASCII (e.g. 0xF0), control characters (NUL/CR/LF/VT/FF/HTAB/...), SP, DEL, and the RFC 7230 separators ("(),/:;<=>?@[\\]{}\""). The current HTTP2_NAME_VALIDATOR only rejects upper-case ASCII and lets everything else through, so something like headers.add(new AsciiString(new byte[]{(byte)0xF0}), "v") succeeds and is then encoded onto the wire.

This was reported in #11975 with maintainer agreement on direction:

  • @idelpivnitskiy: confirmed the field-name grammar
  • @ejona86: "good and appropriate to restrict keys to the values permitted in HTTP/1, with little risk"

Root Cause

DefaultHttp2Headers.HTTP2_NAME_VALIDATOR_PROCESSOR returns !isUpperCase(value) and the non-AsciiString fallback only loops on isUpperCase(charAt(i)). Both paths therefore enforce the lower-case rule but skip the rest of RFC 9113 §8.2.1, which inherits the RFC 7230 token grammar.

Fix

In codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Headers.java:

  • After the empty/null and pseudo-header checks, run HttpHeaderValidationUtil.validateToken(name) and throw connectionError(PROTOCOL_ERROR, ...) when it returns a non--1 index.
  • Keep the existing upper-case ByteProcessor / fallback loop. The token check is additive: pseudo-headers still short-circuit, valid lower-case tokens still pass, upper-case ASCII still gets rejected (now at the upper-case check, not the token check).

Pseudo-headers (:method, :path, ...) deliberately bypass the token check via the existing hasPseudoHeaderFormat early return, since : is not a valid token character but is required for pseudo-headers.

Tests Added

Change point Test
Reject non-ASCII via the AsciiString byte path rejectNonAsciiHeaderNameAsciiString (uses the U+1F631 / 0xF0 0x9F 0x98 0xB1 reproducer from #11975)
Reject non-ASCII via the CharSequence charAt path rejectNonAsciiHeaderNameCharSequence, rejectHighBitHeaderNameCharSequence (covers char ≤ 0xFF and char > 0xFF)
Reject every C0 control byte and every RFC 7230 separator rejectNonTokenCharactersInHeaderName (parameterized — 28 cases: NUL, SOH, BEL, BS, HTAB, LF, VT, FF, CR, US, DEL, SP, and , ; : / = ? @ ( ) [ ] { } < > \ ")
Regression: upper-case rejection unchanged uppercaseHeaderNameStillRejected
Regression: full RFC 7230 lower-case token still accepted acceptValidLowercaseTokenHeaderName (covers x-custom-header, 2name, and a name using every special token char !#$%&'*+-.^_\
Regression: pseudo-headers still accepted acceptPseudoHeaderName
Existing wire-level test now exercises the validator InboundHttp2ToHttpAdapterTest.clientRequestSingleHeaderNonAsciiShouldThrow updated — the rejection now fires at headers.add(...) instead of at the HPACK encoder

mvn -pl codec-http2 test -Drevapi.skip=true runs 1512 tests with 0 failures locally; codec-http regression run is also clean (8891 tests, 0 failures).

Impact

  • API: new DefaultHttp2Headers().add(name, value) now throws Http2Exception(PROTOCOL_ERROR, ...) for any name that is not a valid lower-case RFC 7230 token. Code that was relying on the previous lax behaviour (passing non-ASCII or separator bytes) needs to either (a) clean up the name before adding, or (b) construct the headers with new DefaultHttp2Headers(false) to opt out of validation, which already exists.
  • Wire effect: Inbound HPACK-decoded headers with malformed names now produce an Http2Exception at validation time and are surfaced via the existing decoder failure path. The previous behaviour silently accepted them and could allow malformed bytes to reach the application as parsed Http2Headers.
  • Hot path: Standard requests are unaffected — DefaultHttp2Headers validation only runs when adding non-pseudo headers, and the new validateToken call is a single forward scan that returns -1 on the first invalid byte for clean tokens.

Fixes #11975

@daguimu
daguimu force-pushed the fix/http2-header-name-token-validation-11975 branch from 7157e5d to a433c09 Compare May 11, 2026 09:10
The DefaultHttp2Headers name validator only checked for upper-case
ASCII (A-Z) and accepted any other byte, including non-ASCII bytes,
control characters (NUL, CR, LF, VT, FF, ...), SP/HTAB and the RFC
7230 separators ("(),/:;<=>?@[\\]{}\""). RFC 9113 section 8.2.1
restricts HTTP/2 field names to RFC 7230 token characters with the
additional constraint that they MUST be lowercase, so the validator
should reject everything outside that set.

Add a HttpHeaderValidationUtil.validateToken pass before the existing
upper-case check. Pseudo-headers continue to bypass the token check
via the existing hasPseudoHeaderFormat early return.

Update the InboundHttp2ToHttpAdapterTest non-ASCII test to reflect
that rejection now happens at validation time rather than at the
HPACK encode/decode layer.

Fixes netty#11975
@daguimu
daguimu force-pushed the fix/http2-header-name-token-validation-11975 branch from a433c09 to e4612ec Compare June 10, 2026 07:21
@daguimu

daguimu commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto the latest 4.2 — the branch had fallen ~62 commits behind, and the single stale CI failure was an old linux-x86_64-java24 run from back in May. All green locally now: DefaultHttp2HeadersTest (108) and InboundHttp2ToHttpAdapterTest (13) pass.

To recap the intent: this restricts HTTP/2 header names to the HTTP token grammar, rejecting non-ASCII, control characters, SP, DEL and the RFC 7230 separators that currently slip through HTTP2_NAME_VALIDATOR. This was the direction agreed on in #11975 (@ejona86: "good and appropriate to restrict keys to the values permitted in HTTP/1, with little risk"; @idelpivnitskiy confirmed the field-name grammar).

Would appreciate a review when someone has a chance — happy to adjust.

if (tokenIndex != -1) {
PlatformDependent.throwException(connectionError(PROTOCOL_ERROR,
"invalid header name [%s]", name));
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be a stream error ?


8.1.1.  Malformed Messages

   A malformed request or response is one that is an otherwise valid
   sequence of HTTP/2 frames but is invalid due to the presence of
   extraneous frames, prohibited fields or pseudo-header fields, the
   absence of mandatory pseudo-header fields, the inclusion of uppercase
   field names, or invalid field names and/or values (in certain
   circumstances; see Section 8.2).

   A request or response that includes message content can include a
   content-length header field.  A request or response is also malformed
   if the value of a content-length header field does not equal the sum
   of the DATA frame payload lengths that form the content, unless the
   message is defined as having no content.  For example, 204 or 304
   responses contain no content, as does the response to a HEAD request.
   A response that is defined to have no content, as described in
   Section 6.4.1 of [HTTP], MAY have a non-zero content-length header
   field, even though no content is included in DATA frames.

   Intermediaries that process HTTP requests or responses (i.e., any
   intermediary not acting as a tunnel) MUST NOT forward a malformed
   request or response.  Malformed requests or responses that are
   detected MUST be treated as a stream error (Section 5.4.2) of type
   PROTOCOL_ERROR.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The connection errors thrown from here (all the other checks also throw connection error) are caught in HpackDecoder.appendToHeaderList and converted into stream errors.

I agree it's pretty confusing that we handle validation errors in this way.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we still throw this as a stream error so it is not as confusing or at least add a comment... The former would be preferred imho

}
});
awaitResponses();
assertTrue(isStreamError(clientException));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can keep this test operating end-to-end if we disable validation on the headers we write.


@Test
public void uppercaseHeaderNameStillRejected() {
// Regression: pre-existing rejection of upper-case header names must continue to fire.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testHeaderNameValidation on line 153 already cover this case

…cate

Per review feedback:
- InboundHttp2ToHttpAdapterTest.clientRequestSingleHeaderNonAsciiShouldThrow:
  instead of asserting the add() throws, disable validation on the client
  side (new DefaultHttp2Headers(false)) so the non-ASCII header reaches the
  wire and is rejected by the server, keeping the test end-to-end and
  showing the rejection surfaces as a stream error.
- DefaultHttp2HeadersTest: remove uppercaseHeaderNameStillRejected, already
  covered by the existing testHeaderNameValidation.
@daguimu

daguimu commented Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

Thanks both — addressed in 4d36ccf:

  • @chrisvest: clientRequestSingleHeaderNonAsciiShouldThrow in InboundHttp2ToHttpAdapterTest is end-to-end again — validation is disabled on the client side (new DefaultHttp2Headers(false)) so the non-ASCII header reaches the wire and is rejected by the server. Also removed the duplicate uppercaseHeaderNameStillRejected (already covered by testHeaderNameValidation).

  • @normanmaurer (stream vs connection error): as @chrisvest pointed out, the connection errors thrown here — like all the other name/value checks in this class — are caught in HpackDecoder.appendToHeaderList and converted into stream errors, so on the wire this is a stream error per RFC 9113 §8.1.1. The restored end-to-end test now asserts exactly that via isStreamError(clientException).

return;
}

// RFC 9113 Section 8.2.1: HTTP/2 field names are valid HTTP/1.1 tokens (RFC 7230 Section 3.2.6)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the RFC reference on the public DefaultHttp2Headers(boolean validate) constructor? I think we're not technically following RFC 7230 since we do not allow upper case characters.

@chrisvest chrisvest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Bryce. Update the old RFC reference, then I think this is good.

Looking at connectionError vs streamError: connectionError throws an Http2Exception, and streamError throws a StreamException which is a subclass of Http2Exception, so it would be a compatible change from that standpoint. The problem is that to throw a streamError we need a stream id, which we don't have access to at this level. If we pass Http2CodecUtil.CONNECTION_STREAM_ID as a surrogate, it just becomes a connection error anyway.

@chrisvest chrisvest added this to the 4.2.16.Final milestone Jun 22, 2026
@chrisvest chrisvest added needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Jun 22, 2026
@normanmaurer

Copy link
Copy Markdown
Member

@ejona86 any concerns ?

@ejona86 ejona86 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, gosh. That HpackDecoder error handling flow is quite surprising. I'm very glad this is a stream error and not a connection error. But I didn't realize we ever converted a connection error into a stream error.

@normanmaurer
normanmaurer merged commit 6661ee4 into netty:4.2 Jun 30, 2026
37 of 39 checks passed
@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port PR for 5.0: #17021

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port PR for 4.1: #17022

@github-actions github-actions Bot removed the needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. label Jun 30, 2026
chrisvest pushed a commit that referenced this pull request Jun 30, 2026
…7021)

Auto-port of #16762 to 5.0
Cherry-picked commit: 6661ee4

---
## Problem

`DefaultHttp2Headers` accepts header names that contain bytes outside
the HTTP token grammar — non-ASCII (e.g. `0xF0`), control characters
(NUL/CR/LF/VT/FF/HTAB/...), SP, DEL, and the RFC 7230 separators
(`"(),/:;<=>?@[\\]{}\""`). The current `HTTP2_NAME_VALIDATOR` only
rejects upper-case ASCII and lets everything else through, so something
like `headers.add(new AsciiString(new byte[]{(byte)0xF0}), "v")`
succeeds and is then encoded onto the wire.

This was reported in #11975 with maintainer agreement on direction:
- @idelpivnitskiy: confirmed the field-name grammar
- @ejona86: "good and appropriate to restrict keys to the values
permitted in HTTP/1, with little risk"

## Root Cause

`DefaultHttp2Headers.HTTP2_NAME_VALIDATOR_PROCESSOR` returns
`!isUpperCase(value)` and the non-`AsciiString` fallback only loops on
`isUpperCase(charAt(i))`. Both paths therefore enforce the lower-case
rule but skip the rest of RFC 9113 §8.2.1, which inherits the RFC 7230
token grammar.

## Fix

In
`codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Headers.java`:

- After the empty/null and pseudo-header checks, run
`HttpHeaderValidationUtil.validateToken(name)` and throw
`connectionError(PROTOCOL_ERROR, ...)` when it returns a non-`-1` index.
- Keep the existing upper-case `ByteProcessor` / fallback loop. The
token check is additive: pseudo-headers still short-circuit, valid
lower-case tokens still pass, upper-case ASCII still gets rejected (now
at the upper-case check, not the token check).

Pseudo-headers (`:method`, `:path`, ...) deliberately bypass the token
check via the existing `hasPseudoHeaderFormat` early return, since `:`
is not a valid token character but is required for pseudo-headers.

## Tests Added

| Change point | Test |
|--------------|------|
| Reject non-ASCII via the `AsciiString` byte path |
`rejectNonAsciiHeaderNameAsciiString` (uses the U+1F631 / `0xF0 0x9F
0x98 0xB1` reproducer from #11975) |
| Reject non-ASCII via the `CharSequence` `charAt` path |
`rejectNonAsciiHeaderNameCharSequence`,
`rejectHighBitHeaderNameCharSequence` (covers char ≤ 0xFF and char >
0xFF) |
| Reject every C0 control byte and every RFC 7230 separator |
`rejectNonTokenCharactersInHeaderName` (parameterized — 28 cases: NUL,
SOH, BEL, BS, HTAB, LF, VT, FF, CR, US, DEL, SP, and `, ; : / = ? @ ( )
[ ] { } < > \ "`) |
| Regression: upper-case rejection unchanged |
`uppercaseHeaderNameStillRejected` |
| Regression: full RFC 7230 lower-case token still accepted |
`acceptValidLowercaseTokenHeaderName` (covers `x-custom-header`,
`2name`, and a name using every special token char `!#$%&'*+-.^_\`|~`) |
| Regression: pseudo-headers still accepted | `acceptPseudoHeaderName` |
| Existing wire-level test now exercises the validator |
`InboundHttp2ToHttpAdapterTest.clientRequestSingleHeaderNonAsciiShouldThrow`
updated — the rejection now fires at `headers.add(...)` instead of at
the HPACK encoder |

`mvn -pl codec-http2 test -Drevapi.skip=true` runs 1512 tests with 0
failures locally; `codec-http` regression run is also clean (8891 tests,
0 failures).

## Impact

- **API**: `new DefaultHttp2Headers().add(name, value)` now throws
`Http2Exception(PROTOCOL_ERROR, ...)` for any name that is not a valid
lower-case RFC 7230 token. Code that was relying on the previous lax
behaviour (passing non-ASCII or separator bytes) needs to either (a)
clean up the name before adding, or (b) construct the headers with `new
DefaultHttp2Headers(false)` to opt out of validation, which already
exists.
- **Wire effect**: Inbound HPACK-decoded headers with malformed names
now produce an `Http2Exception` at validation time and are surfaced via
the existing decoder failure path. The previous behaviour silently
accepted them and could allow malformed bytes to reach the application
as parsed `Http2Headers`.
- **Hot path**: Standard requests are unaffected — `DefaultHttp2Headers`
validation only runs when adding non-pseudo headers, and the new
`validateToken` call is a single forward scan that returns `-1` on the
first invalid byte for clean tokens.

Fixes #11975

Co-authored-by: Guimu <[email protected]>
Co-authored-by: Norman Maurer <[email protected]>
chrisvest added a commit that referenced this pull request Jun 30, 2026
…7022)

Auto-port of #16762 to 4.1
Cherry-picked commit: 6661ee4

---
## Problem

`DefaultHttp2Headers` accepts header names that contain bytes outside
the HTTP token grammar — non-ASCII (e.g. `0xF0`), control characters
(NUL/CR/LF/VT/FF/HTAB/...), SP, DEL, and the RFC 7230 separators
(`"(),/:;<=>?@[\\]{}\""`). The current `HTTP2_NAME_VALIDATOR` only
rejects upper-case ASCII and lets everything else through, so something
like `headers.add(new AsciiString(new byte[]{(byte)0xF0}), "v")`
succeeds and is then encoded onto the wire.

This was reported in #11975 with maintainer agreement on direction:
- @idelpivnitskiy: confirmed the field-name grammar
- @ejona86: "good and appropriate to restrict keys to the values
permitted in HTTP/1, with little risk"

## Root Cause

`DefaultHttp2Headers.HTTP2_NAME_VALIDATOR_PROCESSOR` returns
`!isUpperCase(value)` and the non-`AsciiString` fallback only loops on
`isUpperCase(charAt(i))`. Both paths therefore enforce the lower-case
rule but skip the rest of RFC 9113 §8.2.1, which inherits the RFC 7230
token grammar.

## Fix

In
`codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Headers.java`:

- After the empty/null and pseudo-header checks, run
`HttpHeaderValidationUtil.validateToken(name)` and throw
`connectionError(PROTOCOL_ERROR, ...)` when it returns a non-`-1` index.
- Keep the existing upper-case `ByteProcessor` / fallback loop. The
token check is additive: pseudo-headers still short-circuit, valid
lower-case tokens still pass, upper-case ASCII still gets rejected (now
at the upper-case check, not the token check).

Pseudo-headers (`:method`, `:path`, ...) deliberately bypass the token
check via the existing `hasPseudoHeaderFormat` early return, since `:`
is not a valid token character but is required for pseudo-headers.

## Tests Added

| Change point | Test |
|--------------|------|
| Reject non-ASCII via the `AsciiString` byte path |
`rejectNonAsciiHeaderNameAsciiString` (uses the U+1F631 / `0xF0 0x9F
0x98 0xB1` reproducer from #11975) |
| Reject non-ASCII via the `CharSequence` `charAt` path |
`rejectNonAsciiHeaderNameCharSequence`,
`rejectHighBitHeaderNameCharSequence` (covers char ≤ 0xFF and char >
0xFF) |
| Reject every C0 control byte and every RFC 7230 separator |
`rejectNonTokenCharactersInHeaderName` (parameterized — 28 cases: NUL,
SOH, BEL, BS, HTAB, LF, VT, FF, CR, US, DEL, SP, and `, ; : / = ? @ ( )
[ ] { } < > \ "`) |
| Regression: upper-case rejection unchanged |
`uppercaseHeaderNameStillRejected` |
| Regression: full RFC 7230 lower-case token still accepted |
`acceptValidLowercaseTokenHeaderName` (covers `x-custom-header`,
`2name`, and a name using every special token char `!#$%&'*+-.^_\`|~`) |
| Regression: pseudo-headers still accepted | `acceptPseudoHeaderName` |
| Existing wire-level test now exercises the validator |
`InboundHttp2ToHttpAdapterTest.clientRequestSingleHeaderNonAsciiShouldThrow`
updated — the rejection now fires at `headers.add(...)` instead of at
the HPACK encoder |

`mvn -pl codec-http2 test -Drevapi.skip=true` runs 1512 tests with 0
failures locally; `codec-http` regression run is also clean (8891 tests,
0 failures).

## Impact

- **API**: `new DefaultHttp2Headers().add(name, value)` now throws
`Http2Exception(PROTOCOL_ERROR, ...)` for any name that is not a valid
lower-case RFC 7230 token. Code that was relying on the previous lax
behaviour (passing non-ASCII or separator bytes) needs to either (a)
clean up the name before adding, or (b) construct the headers with `new
DefaultHttp2Headers(false)` to opt out of validation, which already
exists.
- **Wire effect**: Inbound HPACK-decoded headers with malformed names
now produce an `Http2Exception` at validation time and are surfaced via
the existing decoder failure path. The previous behaviour silently
accepted them and could allow malformed bytes to reach the application
as parsed `Http2Headers`.
- **Hot path**: Standard requests are unaffected — `DefaultHttp2Headers`
validation only runs when adding non-pseudo headers, and the new
`validateToken` call is a single forward scan that returns `-1` on the
first invalid byte for clean tokens.

Fixes #11975

---------

Co-authored-by: Guimu <[email protected]>
Co-authored-by: Norman Maurer <[email protected]>
Co-authored-by: Chris Vest <[email protected]>
@daguimu
daguimu deleted the fix/http2-header-name-token-validation-11975 branch July 1, 2026 01:52
mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request Jul 8, 2026
…l [skip ci]

Bumps [io.netty:netty-all](https://github.com/netty/netty) from 4.2.15.Final to 4.2.16.Final.
Release notes

*Sourced from [io.netty:netty-all's releases](https://github.com/netty/netty/releases).*

> netty-4.2.16.Final
> ------------------
>
> What's Changed
> --------------
>
> * Document Java 9 requirement for io\_uring by [`@​jchambers`](https://github.com/jchambers) in [netty/netty#16904](https://redirect.github.com/netty/netty/pull/16904)
> * Add BlockHound exception for DnsQueryIdSpace by [`@​violetagg`](https://github.com/violetagg) in [netty/netty#16896](https://redirect.github.com/netty/netty/pull/16896)
> * Fix incorrect bounds in error message of HpackDecoder.setMaxHeaderListSize by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16901](https://redirect.github.com/netty/netty/pull/16901)
> * Add epoch-based chunk cache purge with ring buffer for thread-local reuse by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#16766](https://redirect.github.com/netty/netty/pull/16766)
> * Use Splittable/ThreadLocalRandom to generate bulk data in tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16808](https://redirect.github.com/netty/netty/pull/16808)
> * Auto-port 4.2: SingleThreadEventExecutor: document Throwable safety contract on run() by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16909](https://redirect.github.com/netty/netty/pull/16909)
> * Auto-port 4.2: Make HTTP/2 frame hashCode consistent with equals by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16910](https://redirect.github.com/netty/netty/pull/16910)
> * Auto-port 4.2: MQTT: Make the decodeProperties early-REPLAY check actually fire by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16919](https://redirect.github.com/netty/netty/pull/16919)
> * IoUring: fix io\_uring datagram writes with non-zero readerIndex by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#16905](https://redirect.github.com/netty/netty/pull/16905)
> * Exclude internal events from IoHandler.run() return value in epoll, io\_uring and kqueue by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#16848](https://redirect.github.com/netty/netty/pull/16848)
> * IoUring: Pass IORING\_ENTER\_NO\_IOWAIT to report accurate CPU usage by [`@​wineway`](https://github.com/wineway) in [netty/netty#16739](https://redirect.github.com/netty/netty/pull/16739)
> * Avoid logging exceptions that tests ignore by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16891](https://redirect.github.com/netty/netty/pull/16891)
> * Reject control characters at the boundary of HTTP method names by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16723](https://redirect.github.com/netty/netty/pull/16723)
> * IoUring: fix TCP Fast Open initial writes with readerIndex and composites by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#16929](https://redirect.github.com/netty/netty/pull/16929)
> * Try to fix/stabilize a number of flaky tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16934](https://redirect.github.com/netty/netty/pull/16934)
> * Fix propagation of startTls for client SslContext handlers by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16931](https://redirect.github.com/netty/netty/pull/16931)
> * Update to latest tcnative release by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16936](https://redirect.github.com/netty/netty/pull/16936)
> * Move test to shared testsuite by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16928](https://redirect.github.com/netty/netty/pull/16928)
> * [Refactor] Useful helper method getOrDefault & cleaner abstraction by [`@​sanjomo`](https://github.com/sanjomo) in [netty/netty#16927](https://redirect.github.com/netty/netty/pull/16927)
> * Make permessage-deflate server window size and memLevel configurable by [`@​fru1tworld`](https://github.com/fru1tworld) in [netty/netty#16809](https://redirect.github.com/netty/netty/pull/16809)
> * Return early in DnsQueryContext.writeQuery when the query ID space is exhausted by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#16950](https://redirect.github.com/netty/netty/pull/16950)
> * Fix HTTP 2 PUSH\_PROMISE stream association validation by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16952](https://redirect.github.com/netty/netty/pull/16952)
> * Fix GZIP FEXTRA extra-field handling in JdkZlibDecoder by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16951](https://redirect.github.com/netty/netty/pull/16951)
> * Http3FrameCodec handle fragmented payloads when skipping unknown frames by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16960](https://redirect.github.com/netty/netty/pull/16960)
> * Add opt-in validation of mandatory pseudo-header fields for HTTP/2 by [`@​hyperxpro`](https://github.com/hyperxpro) in [netty/netty#16932](https://redirect.github.com/netty/netty/pull/16932)
> * Strictly validate MQTT UTF-8 Encoded String by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16939](https://redirect.github.com/netty/netty/pull/16939)
> * Stop DateFormatter trailing token from running past the parse end by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16958](https://redirect.github.com/netty/netty/pull/16958)
> * IpFilter: Deprecate constructor which use accept by default by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16961](https://redirect.github.com/netty/netty/pull/16961)
> * Add RFC 10008 QUERY Method support by [`@​desiderantes`](https://github.com/desiderantes) in [netty/netty#16966](https://redirect.github.com/netty/netty/pull/16966)
> * Correctly release and fail queued traffic-shaping writes on close by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16959](https://redirect.github.com/netty/netty/pull/16959)
> * Reject control characters at the boundary of the HTTP version token by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#16971](https://redirect.github.com/netty/netty/pull/16971)
> * FlowControlHandler: respect auto-read when toggled while dequeueing by [`@​schiemon`](https://github.com/schiemon) in [netty/netty#16949](https://redirect.github.com/netty/netty/pull/16949)
> * Fix leak in ReferenceCountedOpenSslEngine.addCredential by [`@​jmcrawford45`](https://github.com/jmcrawford45) in [netty/netty#16979](https://redirect.github.com/netty/netty/pull/16979)
> * IdleStateHandler: reset firstWriter/ReaderIdleEvent in resetWriteTimeout/resetReadTimeout by [`@​husseinvr97`](https://github.com/husseinvr97) in [netty/netty#16982](https://redirect.github.com/netty/netty/pull/16982)
> * Fix typo in AbstractSniHandler Javadoc by [`@​coderbruis`](https://github.com/coderbruis) in [netty/netty#16988](https://redirect.github.com/netty/netty/pull/16988)
> * Fix client/server inconsistency in SslCredential support matrix by [`@​jmcrawford45`](https://github.com/jmcrawford45) in [netty/netty#16990](https://redirect.github.com/netty/netty/pull/16990)
> * Reconcile `AbstractCoalescingBufferQueue` readableBytes when it drains, and fail stuck HTTP/2 streams instead of spinning empty DATA frames by [`@​gavinbunney`](https://github.com/gavinbunney) in [netty/netty#16947](https://redirect.github.com/netty/netty/pull/16947)
> * Use Ticker in Http2MaxRstFrameListener for testability by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16993](https://redirect.github.com/netty/netty/pull/16993)
> * Reset UTF-8 decode state on CR in StompSubframeDecoder by [`@​vasiliy-mikhailov`](https://github.com/vasiliy-mikhailov) in [netty/netty#16991](https://redirect.github.com/netty/netty/pull/16991)
> * FastLz: Guard decompression against truncated input by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17000](https://redirect.github.com/netty/netty/pull/17000)
> * Reject non-token characters in HTTP/2 header names by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16762](https://redirect.github.com/netty/netty/pull/16762)
> * Auto-port 4.2: Fix SelfSignCertificate initialization in tests by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#17029](https://redirect.github.com/netty/netty/pull/17029)
> * Enable extension of Http3ClientConnectionHandler to support higher-level protocols such as WebTransport. by [`@​sanjomo`](https://github.com/sanjomo) in [netty/netty#17027](https://redirect.github.com/netty/netty/pull/17027)
> * Implement Adaptive Cumulator by [`@​shivaspeaks`](https://github.com/shivaspeaks) in [netty/netty#16731](https://redirect.github.com/netty/netty/pull/16731)
> * Allow WebSocket extension negotiation to be disabled per response by [`@​mkurz`](https://github.com/mkurz) in [netty/netty#17030](https://redirect.github.com/netty/netty/pull/17030)
> * Support QPACK sensitivity detector for Never Indexed header fields by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#17026](https://redirect.github.com/netty/netty/pull/17026)
> * Fix maxAllocation for brotli-encoded content in HttpContentDecompressor by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#17037](https://redirect.github.com/netty/netty/pull/17037)
> * Pin github actions to reduce risk by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17043](https://redirect.github.com/netty/netty/pull/17043)

... (truncated)


Commits

* [`3703d79`](netty/netty@3703d79) [maven-release-plugin] prepare release netty-4.2.16.Final
* [`63bbb2c`](netty/netty@63bbb2c) Update rust toolchain - add required parameters
* [`ac06c1b`](netty/netty@ac06c1b) Update rust toolchain
* [`5b68c61`](netty/netty@5b68c61) Merge branches from forks ([#17063](https://redirect.github.com/netty/netty/issues/17063))
* [`de5d276`](netty/netty@de5d276) Update lz4-java to 1.11.1 ([#17061](https://redirect.github.com/netty/netty/issues/17061))
* [`da22048`](netty/netty@da22048) Pin github actions to reduce risk ([#17043](https://redirect.github.com/netty/netty/issues/17043))
* [`0332676`](netty/netty@0332676) Fix maxAllocation for brotli-encoded content in HttpContentDecompressor ([#17037](https://redirect.github.com/netty/netty/issues/17037))
* [`7364401`](netty/netty@7364401) Support QPACK sensitivity detector for Never Indexed header fields ([#17026](https://redirect.github.com/netty/netty/issues/17026))
* [`06faf18`](netty/netty@06faf18) Allow WebSocket extension negotiation to be disabled per response ([#17030](https://redirect.github.com/netty/netty/issues/17030))
* [`bc4b983`](netty/netty@bc4b983) Implement Adaptive Cumulator ([#16731](https://redirect.github.com/netty/netty/issues/16731))
* Additional commits viewable in [compare view](netty/netty@netty-4.2.15.Final...netty-4.2.16.Final)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=io.netty:netty-all&package-manager=maven&previous-version=4.2.15.Final&new-version=4.2.16.Final)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request Jul 8, 2026
…ip ci]

Bumps `netty.version` from 4.2.15.Final to 4.2.16.Final.
Updates `io.netty:netty-transport` from 4.2.15.Final to 4.2.16.Final
Release notes

*Sourced from [io.netty:netty-transport's releases](https://github.com/netty/netty/releases).*

> netty-4.2.16.Final
> ------------------
>
> What's Changed
> --------------
>
> * Document Java 9 requirement for io\_uring by [`@​jchambers`](https://github.com/jchambers) in [netty/netty#16904](https://redirect.github.com/netty/netty/pull/16904)
> * Add BlockHound exception for DnsQueryIdSpace by [`@​violetagg`](https://github.com/violetagg) in [netty/netty#16896](https://redirect.github.com/netty/netty/pull/16896)
> * Fix incorrect bounds in error message of HpackDecoder.setMaxHeaderListSize by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16901](https://redirect.github.com/netty/netty/pull/16901)
> * Add epoch-based chunk cache purge with ring buffer for thread-local reuse by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#16766](https://redirect.github.com/netty/netty/pull/16766)
> * Use Splittable/ThreadLocalRandom to generate bulk data in tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16808](https://redirect.github.com/netty/netty/pull/16808)
> * Auto-port 4.2: SingleThreadEventExecutor: document Throwable safety contract on run() by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16909](https://redirect.github.com/netty/netty/pull/16909)
> * Auto-port 4.2: Make HTTP/2 frame hashCode consistent with equals by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16910](https://redirect.github.com/netty/netty/pull/16910)
> * Auto-port 4.2: MQTT: Make the decodeProperties early-REPLAY check actually fire by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16919](https://redirect.github.com/netty/netty/pull/16919)
> * IoUring: fix io\_uring datagram writes with non-zero readerIndex by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#16905](https://redirect.github.com/netty/netty/pull/16905)
> * Exclude internal events from IoHandler.run() return value in epoll, io\_uring and kqueue by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#16848](https://redirect.github.com/netty/netty/pull/16848)
> * IoUring: Pass IORING\_ENTER\_NO\_IOWAIT to report accurate CPU usage by [`@​wineway`](https://github.com/wineway) in [netty/netty#16739](https://redirect.github.com/netty/netty/pull/16739)
> * Avoid logging exceptions that tests ignore by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16891](https://redirect.github.com/netty/netty/pull/16891)
> * Reject control characters at the boundary of HTTP method names by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16723](https://redirect.github.com/netty/netty/pull/16723)
> * IoUring: fix TCP Fast Open initial writes with readerIndex and composites by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#16929](https://redirect.github.com/netty/netty/pull/16929)
> * Try to fix/stabilize a number of flaky tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16934](https://redirect.github.com/netty/netty/pull/16934)
> * Fix propagation of startTls for client SslContext handlers by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16931](https://redirect.github.com/netty/netty/pull/16931)
> * Update to latest tcnative release by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16936](https://redirect.github.com/netty/netty/pull/16936)
> * Move test to shared testsuite by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16928](https://redirect.github.com/netty/netty/pull/16928)
> * [Refactor] Useful helper method getOrDefault & cleaner abstraction by [`@​sanjomo`](https://github.com/sanjomo) in [netty/netty#16927](https://redirect.github.com/netty/netty/pull/16927)
> * Make permessage-deflate server window size and memLevel configurable by [`@​fru1tworld`](https://github.com/fru1tworld) in [netty/netty#16809](https://redirect.github.com/netty/netty/pull/16809)
> * Return early in DnsQueryContext.writeQuery when the query ID space is exhausted by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#16950](https://redirect.github.com/netty/netty/pull/16950)
> * Fix HTTP 2 PUSH\_PROMISE stream association validation by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16952](https://redirect.github.com/netty/netty/pull/16952)
> * Fix GZIP FEXTRA extra-field handling in JdkZlibDecoder by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16951](https://redirect.github.com/netty/netty/pull/16951)
> * Http3FrameCodec handle fragmented payloads when skipping unknown frames by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16960](https://redirect.github.com/netty/netty/pull/16960)
> * Add opt-in validation of mandatory pseudo-header fields for HTTP/2 by [`@​hyperxpro`](https://github.com/hyperxpro) in [netty/netty#16932](https://redirect.github.com/netty/netty/pull/16932)
> * Strictly validate MQTT UTF-8 Encoded String by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16939](https://redirect.github.com/netty/netty/pull/16939)
> * Stop DateFormatter trailing token from running past the parse end by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16958](https://redirect.github.com/netty/netty/pull/16958)
> * IpFilter: Deprecate constructor which use accept by default by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16961](https://redirect.github.com/netty/netty/pull/16961)
> * Add RFC 10008 QUERY Method support by [`@​desiderantes`](https://github.com/desiderantes) in [netty/netty#16966](https://redirect.github.com/netty/netty/pull/16966)
> * Correctly release and fail queued traffic-shaping writes on close by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16959](https://redirect.github.com/netty/netty/pull/16959)
> * Reject control characters at the boundary of the HTTP version token by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#16971](https://redirect.github.com/netty/netty/pull/16971)
> * FlowControlHandler: respect auto-read when toggled while dequeueing by [`@​schiemon`](https://github.com/schiemon) in [netty/netty#16949](https://redirect.github.com/netty/netty/pull/16949)
> * Fix leak in ReferenceCountedOpenSslEngine.addCredential by [`@​jmcrawford45`](https://github.com/jmcrawford45) in [netty/netty#16979](https://redirect.github.com/netty/netty/pull/16979)
> * IdleStateHandler: reset firstWriter/ReaderIdleEvent in resetWriteTimeout/resetReadTimeout by [`@​husseinvr97`](https://github.com/husseinvr97) in [netty/netty#16982](https://redirect.github.com/netty/netty/pull/16982)
> * Fix typo in AbstractSniHandler Javadoc by [`@​coderbruis`](https://github.com/coderbruis) in [netty/netty#16988](https://redirect.github.com/netty/netty/pull/16988)
> * Fix client/server inconsistency in SslCredential support matrix by [`@​jmcrawford45`](https://github.com/jmcrawford45) in [netty/netty#16990](https://redirect.github.com/netty/netty/pull/16990)
> * Reconcile `AbstractCoalescingBufferQueue` readableBytes when it drains, and fail stuck HTTP/2 streams instead of spinning empty DATA frames by [`@​gavinbunney`](https://github.com/gavinbunney) in [netty/netty#16947](https://redirect.github.com/netty/netty/pull/16947)
> * Use Ticker in Http2MaxRstFrameListener for testability by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16993](https://redirect.github.com/netty/netty/pull/16993)
> * Reset UTF-8 decode state on CR in StompSubframeDecoder by [`@​vasiliy-mikhailov`](https://github.com/vasiliy-mikhailov) in [netty/netty#16991](https://redirect.github.com/netty/netty/pull/16991)
> * FastLz: Guard decompression against truncated input by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17000](https://redirect.github.com/netty/netty/pull/17000)
> * Reject non-token characters in HTTP/2 header names by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16762](https://redirect.github.com/netty/netty/pull/16762)
> * Auto-port 4.2: Fix SelfSignCertificate initialization in tests by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#17029](https://redirect.github.com/netty/netty/pull/17029)
> * Enable extension of Http3ClientConnectionHandler to support higher-level protocols such as WebTransport. by [`@​sanjomo`](https://github.com/sanjomo) in [netty/netty#17027](https://redirect.github.com/netty/netty/pull/17027)
> * Implement Adaptive Cumulator by [`@​shivaspeaks`](https://github.com/shivaspeaks) in [netty/netty#16731](https://redirect.github.com/netty/netty/pull/16731)
> * Allow WebSocket extension negotiation to be disabled per response by [`@​mkurz`](https://github.com/mkurz) in [netty/netty#17030](https://redirect.github.com/netty/netty/pull/17030)
> * Support QPACK sensitivity detector for Never Indexed header fields by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#17026](https://redirect.github.com/netty/netty/pull/17026)
> * Fix maxAllocation for brotli-encoded content in HttpContentDecompressor by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#17037](https://redirect.github.com/netty/netty/pull/17037)
> * Pin github actions to reduce risk by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17043](https://redirect.github.com/netty/netty/pull/17043)

... (truncated)


Commits

* [`3703d79`](netty/netty@3703d79) [maven-release-plugin] prepare release netty-4.2.16.Final
* [`63bbb2c`](netty/netty@63bbb2c) Update rust toolchain - add required parameters
* [`ac06c1b`](netty/netty@ac06c1b) Update rust toolchain
* [`5b68c61`](netty/netty@5b68c61) Merge branches from forks ([#17063](https://redirect.github.com/netty/netty/issues/17063))
* [`de5d276`](netty/netty@de5d276) Update lz4-java to 1.11.1 ([#17061](https://redirect.github.com/netty/netty/issues/17061))
* [`da22048`](netty/netty@da22048) Pin github actions to reduce risk ([#17043](https://redirect.github.com/netty/netty/issues/17043))
* [`0332676`](netty/netty@0332676) Fix maxAllocation for brotli-encoded content in HttpContentDecompressor ([#17037](https://redirect.github.com/netty/netty/issues/17037))
* [`7364401`](netty/netty@7364401) Support QPACK sensitivity detector for Never Indexed header fields ([#17026](https://redirect.github.com/netty/netty/issues/17026))
* [`06faf18`](netty/netty@06faf18) Allow WebSocket extension negotiation to be disabled per response ([#17030](https://redirect.github.com/netty/netty/issues/17030))
* [`bc4b983`](netty/netty@bc4b983) Implement Adaptive Cumulator ([#16731](https://redirect.github.com/netty/netty/issues/16731))
* Additional commits viewable in [compare view](netty/netty@netty-4.2.15.Final...netty-4.2.16.Final)
  
Updates `io.netty:netty-codec` from 4.2.15.Final to 4.2.16.Final
Release notes

*Sourced from [io.netty:netty-codec's releases](https://github.com/netty/netty/releases).*

> netty-4.2.16.Final
> ------------------
>
> What's Changed
> --------------
>
> * Document Java 9 requirement for io\_uring by [`@​jchambers`](https://github.com/jchambers) in [netty/netty#16904](https://redirect.github.com/netty/netty/pull/16904)
> * Add BlockHound exception for DnsQueryIdSpace by [`@​violetagg`](https://github.com/violetagg) in [netty/netty#16896](https://redirect.github.com/netty/netty/pull/16896)
> * Fix incorrect bounds in error message of HpackDecoder.setMaxHeaderListSize by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16901](https://redirect.github.com/netty/netty/pull/16901)
> * Add epoch-based chunk cache purge with ring buffer for thread-local reuse by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#16766](https://redirect.github.com/netty/netty/pull/16766)
> * Use Splittable/ThreadLocalRandom to generate bulk data in tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16808](https://redirect.github.com/netty/netty/pull/16808)
> * Auto-port 4.2: SingleThreadEventExecutor: document Throwable safety contract on run() by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16909](https://redirect.github.com/netty/netty/pull/16909)
> * Auto-port 4.2: Make HTTP/2 frame hashCode consistent with equals by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16910](https://redirect.github.com/netty/netty/pull/16910)
> * Auto-port 4.2: MQTT: Make the decodeProperties early-REPLAY check actually fire by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16919](https://redirect.github.com/netty/netty/pull/16919)
> * IoUring: fix io\_uring datagram writes with non-zero readerIndex by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#16905](https://redirect.github.com/netty/netty/pull/16905)
> * Exclude internal events from IoHandler.run() return value in epoll, io\_uring and kqueue by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#16848](https://redirect.github.com/netty/netty/pull/16848)
> * IoUring: Pass IORING\_ENTER\_NO\_IOWAIT to report accurate CPU usage by [`@​wineway`](https://github.com/wineway) in [netty/netty#16739](https://redirect.github.com/netty/netty/pull/16739)
> * Avoid logging exceptions that tests ignore by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16891](https://redirect.github.com/netty/netty/pull/16891)
> * Reject control characters at the boundary of HTTP method names by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16723](https://redirect.github.com/netty/netty/pull/16723)
> * IoUring: fix TCP Fast Open initial writes with readerIndex and composites by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#16929](https://redirect.github.com/netty/netty/pull/16929)
> * Try to fix/stabilize a number of flaky tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16934](https://redirect.github.com/netty/netty/pull/16934)
> * Fix propagation of startTls for client SslContext handlers by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16931](https://redirect.github.com/netty/netty/pull/16931)
> * Update to latest tcnative release by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16936](https://redirect.github.com/netty/netty/pull/16936)
> * Move test to shared testsuite by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16928](https://redirect.github.com/netty/netty/pull/16928)
> * [Refactor] Useful helper method getOrDefault & cleaner abstraction by [`@​sanjomo`](https://github.com/sanjomo) in [netty/netty#16927](https://redirect.github.com/netty/netty/pull/16927)
> * Make permessage-deflate server window size and memLevel configurable by [`@​fru1tworld`](https://github.com/fru1tworld) in [netty/netty#16809](https://redirect.github.com/netty/netty/pull/16809)
> * Return early in DnsQueryContext.writeQuery when the query ID space is exhausted by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#16950](https://redirect.github.com/netty/netty/pull/16950)
> * Fix HTTP 2 PUSH\_PROMISE stream association validation by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16952](https://redirect.github.com/netty/netty/pull/16952)
> * Fix GZIP FEXTRA extra-field handling in JdkZlibDecoder by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16951](https://redirect.github.com/netty/netty/pull/16951)
> * Http3FrameCodec handle fragmented payloads when skipping unknown frames by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16960](https://redirect.github.com/netty/netty/pull/16960)
> * Add opt-in validation of mandatory pseudo-header fields for HTTP/2 by [`@​hyperxpro`](https://github.com/hyperxpro) in [netty/netty#16932](https://redirect.github.com/netty/netty/pull/16932)
> * Strictly validate MQTT UTF-8 Encoded String by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16939](https://redirect.github.com/netty/netty/pull/16939)
> * Stop DateFormatter trailing token from running past the parse end by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16958](https://redirect.github.com/netty/netty/pull/16958)
> * IpFilter: Deprecate constructor which use accept by default by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16961](https://redirect.github.com/netty/netty/pull/16961)
> * Add RFC 10008 QUERY Method support by [`@​desiderantes`](https://github.com/desiderantes) in [netty/netty#16966](https://redirect.github.com/netty/netty/pull/16966)
> * Correctly release and fail queued traffic-shaping writes on close by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16959](https://redirect.github.com/netty/netty/pull/16959)
> * Reject control characters at the boundary of the HTTP version token by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#16971](https://redirect.github.com/netty/netty/pull/16971)
> * FlowControlHandler: respect auto-read when toggled while dequeueing by [`@​schiemon`](https://github.com/schiemon) in [netty/netty#16949](https://redirect.github.com/netty/netty/pull/16949)
> * Fix leak in ReferenceCountedOpenSslEngine.addCredential by [`@​jmcrawford45`](https://github.com/jmcrawford45) in [netty/netty#16979](https://redirect.github.com/netty/netty/pull/16979)
> * IdleStateHandler: reset firstWriter/ReaderIdleEvent in resetWriteTimeout/resetReadTimeout by [`@​husseinvr97`](https://github.com/husseinvr97) in [netty/netty#16982](https://redirect.github.com/netty/netty/pull/16982)
> * Fix typo in AbstractSniHandler Javadoc by [`@​coderbruis`](https://github.com/coderbruis) in [netty/netty#16988](https://redirect.github.com/netty/netty/pull/16988)
> * Fix client/server inconsistency in SslCredential support matrix by [`@​jmcrawford45`](https://github.com/jmcrawford45) in [netty/netty#16990](https://redirect.github.com/netty/netty/pull/16990)
> * Reconcile `AbstractCoalescingBufferQueue` readableBytes when it drains, and fail stuck HTTP/2 streams instead of spinning empty DATA frames by [`@​gavinbunney`](https://github.com/gavinbunney) in [netty/netty#16947](https://redirect.github.com/netty/netty/pull/16947)
> * Use Ticker in Http2MaxRstFrameListener for testability by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16993](https://redirect.github.com/netty/netty/pull/16993)
> * Reset UTF-8 decode state on CR in StompSubframeDecoder by [`@​vasiliy-mikhailov`](https://github.com/vasiliy-mikhailov) in [netty/netty#16991](https://redirect.github.com/netty/netty/pull/16991)
> * FastLz: Guard decompression against truncated input by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17000](https://redirect.github.com/netty/netty/pull/17000)
> * Reject non-token characters in HTTP/2 header names by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16762](https://redirect.github.com/netty/netty/pull/16762)
> * Auto-port 4.2: Fix SelfSignCertificate initialization in tests by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#17029](https://redirect.github.com/netty/netty/pull/17029)
> * Enable extension of Http3ClientConnectionHandler to support higher-level protocols such as WebTransport. by [`@​sanjomo`](https://github.com/sanjomo) in [netty/netty#17027](https://redirect.github.com/netty/netty/pull/17027)
> * Implement Adaptive Cumulator by [`@​shivaspeaks`](https://github.com/shivaspeaks) in [netty/netty#16731](https://redirect.github.com/netty/netty/pull/16731)
> * Allow WebSocket extension negotiation to be disabled per response by [`@​mkurz`](https://github.com/mkurz) in [netty/netty#17030](https://redirect.github.com/netty/netty/pull/17030)
> * Support QPACK sensitivity detector for Never Indexed header fields by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#17026](https://redirect.github.com/netty/netty/pull/17026)
> * Fix maxAllocation for brotli-encoded content in HttpContentDecompressor by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#17037](https://redirect.github.com/netty/netty/pull/17037)
> * Pin github actions to reduce risk by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17043](https://redirect.github.com/netty/netty/pull/17043)

... (truncated)


Commits

* [`3703d79`](netty/netty@3703d79) [maven-release-plugin] prepare release netty-4.2.16.Final
* [`63bbb2c`](netty/netty@63bbb2c) Update rust toolchain - add required parameters
* [`ac06c1b`](netty/netty@ac06c1b) Update rust toolchain
* [`5b68c61`](netty/netty@5b68c61) Merge branches from forks ([#17063](https://redirect.github.com/netty/netty/issues/17063))
* [`de5d276`](netty/netty@de5d276) Update lz4-java to 1.11.1 ([#17061](https://redirect.github.com/netty/netty/issues/17061))
* [`da22048`](netty/netty@da22048) Pin github actions to reduce risk ([#17043](https://redirect.github.com/netty/netty/issues/17043))
* [`0332676`](netty/netty@0332676) Fix maxAllocation for brotli-encoded content in HttpContentDecompressor ([#17037](https://redirect.github.com/netty/netty/issues/17037))
* [`7364401`](netty/netty@7364401) Support QPACK sensitivity detector for Never Indexed header fields ([#17026](https://redirect.github.com/netty/netty/issues/17026))
* [`06faf18`](netty/netty@06faf18) Allow WebSocket extension negotiation to be disabled per response ([#17030](https://redirect.github.com/netty/netty/issues/17030))
* [`bc4b983`](netty/netty@bc4b983) Implement Adaptive Cumulator ([#16731](https://redirect.github.com/netty/netty/issues/16731))
* Additional commits viewable in [compare view](netty/netty@netty-4.2.15.Final...netty-4.2.16.Final)
  
Updates `io.netty:netty-handler` from 4.2.15.Final to 4.2.16.Final
Release notes

*Sourced from [io.netty:netty-handler's releases](https://github.com/netty/netty/releases).*

> netty-4.2.16.Final
> ------------------
>
> What's Changed
> --------------
>
> * Document Java 9 requirement for io\_uring by [`@​jchambers`](https://github.com/jchambers) in [netty/netty#16904](https://redirect.github.com/netty/netty/pull/16904)
> * Add BlockHound exception for DnsQueryIdSpace by [`@​violetagg`](https://github.com/violetagg) in [netty/netty#16896](https://redirect.github.com/netty/netty/pull/16896)
> * Fix incorrect bounds in error message of HpackDecoder.setMaxHeaderListSize by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16901](https://redirect.github.com/netty/netty/pull/16901)
> * Add epoch-based chunk cache purge with ring buffer for thread-local reuse by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#16766](https://redirect.github.com/netty/netty/pull/16766)
> * Use Splittable/ThreadLocalRandom to generate bulk data in tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16808](https://redirect.github.com/netty/netty/pull/16808)
> * Auto-port 4.2: SingleThreadEventExecutor: document Throwable safety contract on run() by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16909](https://redirect.github.com/netty/netty/pull/16909)
> * Auto-port 4.2: Make HTTP/2 frame hashCode consistent with equals by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16910](https://redirect.github.com/netty/netty/pull/16910)
> * Auto-port 4.2: MQTT: Make the decodeProperties early-REPLAY check actually fire by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#16919](https://redirect.github.com/netty/netty/pull/16919)
> * IoUring: fix io\_uring datagram writes with non-zero readerIndex by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#16905](https://redirect.github.com/netty/netty/pull/16905)
> * Exclude internal events from IoHandler.run() return value in epoll, io\_uring and kqueue by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#16848](https://redirect.github.com/netty/netty/pull/16848)
> * IoUring: Pass IORING\_ENTER\_NO\_IOWAIT to report accurate CPU usage by [`@​wineway`](https://github.com/wineway) in [netty/netty#16739](https://redirect.github.com/netty/netty/pull/16739)
> * Avoid logging exceptions that tests ignore by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16891](https://redirect.github.com/netty/netty/pull/16891)
> * Reject control characters at the boundary of HTTP method names by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16723](https://redirect.github.com/netty/netty/pull/16723)
> * IoUring: fix TCP Fast Open initial writes with readerIndex and composites by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#16929](https://redirect.github.com/netty/netty/pull/16929)
> * Try to fix/stabilize a number of flaky tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#16934](https://redirect.github.com/netty/netty/pull/16934)
> * Fix propagation of startTls for client SslContext handlers by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16931](https://redirect.github.com/netty/netty/pull/16931)
> * Update to latest tcnative release by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16936](https://redirect.github.com/netty/netty/pull/16936)
> * Move test to shared testsuite by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16928](https://redirect.github.com/netty/netty/pull/16928)
> * [Refactor] Useful helper method getOrDefault & cleaner abstraction by [`@​sanjomo`](https://github.com/sanjomo) in [netty/netty#16927](https://redirect.github.com/netty/netty/pull/16927)
> * Make permessage-deflate server window size and memLevel configurable by [`@​fru1tworld`](https://github.com/fru1tworld) in [netty/netty#16809](https://redirect.github.com/netty/netty/pull/16809)
> * Return early in DnsQueryContext.writeQuery when the query ID space is exhausted by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#16950](https://redirect.github.com/netty/netty/pull/16950)
> * Fix HTTP 2 PUSH\_PROMISE stream association validation by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16952](https://redirect.github.com/netty/netty/pull/16952)
> * Fix GZIP FEXTRA extra-field handling in JdkZlibDecoder by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16951](https://redirect.github.com/netty/netty/pull/16951)
> * Http3FrameCodec handle fragmented payloads when skipping unknown frames by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16960](https://redirect.github.com/netty/netty/pull/16960)
> * Add opt-in validation of mandatory pseudo-header fields for HTTP/2 by [`@​hyperxpro`](https://github.com/hyperxpro) in [netty/netty#16932](https://redirect.github.com/netty/netty/pull/16932)
> * Strictly validate MQTT UTF-8 Encoded String by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16939](https://redirect.github.com/netty/netty/pull/16939)
> * Stop DateFormatter trailing token from running past the parse end by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16958](https://redirect.github.com/netty/netty/pull/16958)
> * IpFilter: Deprecate constructor which use accept by default by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#16961](https://redirect.github.com/netty/netty/pull/16961)
> * Add RFC 10008 QUERY Method support by [`@​desiderantes`](https://github.com/desiderantes) in [netty/netty#16966](https://redirect.github.com/netty/netty/pull/16966)
> * Correctly release and fail queued traffic-shaping writes on close by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16959](https://redirect.github.com/netty/netty/pull/16959)
> * Reject control characters at the boundary of the HTTP version token by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#16971](https://redirect.github.com/netty/netty/pull/16971)
> * FlowControlHandler: respect auto-read when toggled while dequeueing by [`@​schiemon`](https://github.com/schiemon) in [netty/netty#16949](https://redirect.github.com/netty/netty/pull/16949)
> * Fix leak in ReferenceCountedOpenSslEngine.addCredential by [`@​jmcrawford45`](https://github.com/jmcrawford45) in [netty/netty#16979](https://redirect.github.com/netty/netty/pull/16979)
> * IdleStateHandler: reset firstWriter/ReaderIdleEvent in resetWriteTimeout/resetReadTimeout by [`@​husseinvr97`](https://github.com/husseinvr97) in [netty/netty#16982](https://redirect.github.com/netty/netty/pull/16982)
> * Fix typo in AbstractSniHandler Javadoc by [`@​coderbruis`](https://github.com/coderbruis) in [netty/netty#16988](https://redirect.github.com/netty/netty/pull/16988)
> * Fix client/server inconsistency in SslCredential support matrix by [`@​jmcrawford45`](https://github.com/jmcrawford45) in [netty/netty#16990](https://redirect.github.com/netty/netty/pull/16990)
> * Reconcile `AbstractCoalescingBufferQueue` readableBytes when it drains, and fail stuck HTTP/2 streams instead of spinning empty DATA frames by [`@​gavinbunney`](https://github.com/gavinbunney) in [netty/netty#16947](https://redirect.github.com/netty/netty/pull/16947)
> * Use Ticker in Http2MaxRstFrameListener for testability by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#16993](https://redirect.github.com/netty/netty/pull/16993)
> * Reset UTF-8 decode state on CR in StompSubframeDecoder by [`@​vasiliy-mikhailov`](https://github.com/vasiliy-mikhailov) in [netty/netty#16991](https://redirect.github.com/netty/netty/pull/16991)
> * FastLz: Guard decompression against truncated input by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17000](https://redirect.github.com/netty/netty/pull/17000)
> * Reject non-token characters in HTTP/2 header names by [`@​daguimu`](https://github.com/daguimu) in [netty/netty#16762](https://redirect.github.com/netty/netty/pull/16762)
> * Auto-port 4.2: Fix SelfSignCertificate initialization in tests by [`@​netty-project-bot`](https://github.com/netty-project-bot) in [netty/netty#17029](https://redirect.github.com/netty/netty/pull/17029)
> * Enable extension of Http3ClientConnectionHandler to support higher-level protocols such as WebTransport. by [`@​sanjomo`](https://github.com/sanjomo) in [netty/netty#17027](https://redirect.github.com/netty/netty/pull/17027)
> * Implement Adaptive Cumulator by [`@​shivaspeaks`](https://github.com/shivaspeaks) in [netty/netty#16731](https://redirect.github.com/netty/netty/pull/16731)
> * Allow WebSocket extension negotiation to be disabled per response by [`@​mkurz`](https://github.com/mkurz) in [netty/netty#17030](https://redirect.github.com/netty/netty/pull/17030)
> * Support QPACK sensitivity detector for Never Indexed header fields by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#17026](https://redirect.github.com/netty/netty/pull/17026)
> * Fix maxAllocation for brotli-encoded content in HttpContentDecompressor by [`@​skyguard1`](https://github.com/skyguard1) in [netty/netty#17037](https://redirect.github.com/netty/netty/pull/17037)
> * Pin github actions to reduce risk by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17043](https://redirect.github.com/netty/netty/pull/17043)

... (truncated)


Commits

* [`3703d79`](netty/netty@3703d79) [maven-release-plugin] prepare release netty-4.2.16.Final
* [`63bbb2c`](netty/netty@63bbb2c) Update rust toolchain - add required parameters
* [`ac06c1b`](netty/netty@ac06c1b) Update rust toolchain
* [`5b68c61`](netty/netty@5b68c61) Merge branches from forks ([#17063](https://redirect.github.com/netty/netty/issues/17063))
* [`de5d276`](netty/netty@de5d276) Update lz4-java to 1.11.1 ([#17061](https://redirect.github.com/netty/netty/issues/17061))
* [`da22048`](netty/netty@da22048) Pin github actions to reduce risk ([#17043](https://redirect.github.com/netty/netty/issues/17043))
* [`0332676`](netty/netty@0332676) Fix maxAllocation for brotli-encoded content in HttpContentDecompressor ([#17037](https://redirect.github.com/netty/netty/issues/17037))
* [`7364401`](netty/netty@7364401) Support QPACK sensitivity detector for Never Indexed header fields ([#17026](https://redirect.github.com/netty/netty/issues/17026))
* [`06faf18`](netty/netty@06faf18) Allow WebSocket extension negotiation to be disabled per response ([#17030](https://redirect.github.com/netty/netty/issues/17030))
* [`bc4b983`](netty/netty@bc4b983) Implement Adaptive Cumulator ([#16731](https://redirect.github.com/netty/netty/issues/16731))
* Additional commits viewable in [compare view](netty/netty@netty-4.2.15.Final...netty-4.2.16.Final)
  
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
@normanmaurer normanmaurer mentioned this pull request Oct 1, 2026
normanmaurer added a commit that referenced this pull request Oct 21, 2026
Motivation:

`DefaultHttp2Headers` rejects header names that are not valid RFC 7230
tokens (and upper-case names) since #16762. The existing tests only
cover
`DefaultHttp2Headers.add(...)`, so nothing verifies that such names
received on the wire are rejected while HPACK-decoding a header block.

Modification:

Add `HpackDecoderTest.receivedNonTokenHeaderNameIsRejected`. It encodes
header names containing CR/LF, NUL, `:`, `;`, SP, a non-ASCII byte and
upper-case characters with a non-validating `DefaultHttp2Headers`, and
asserts that decoding with validation enabled fails with a
`StreamException` and `PROTOCOL_ERROR`.

Result:

Rejection of non-token header names during HPACK decoding is covered by
a
regression test.
normanmaurer added a commit that referenced this pull request Oct 22, 2026
#17992)

Auto-port of #17979 to 4.1
Cherry-picked commit: 345af11

---
Motivation:

`DefaultHttp2Headers` rejects header names that are not valid RFC 7230
tokens (and upper-case names) since #16762. The existing tests only
cover
`DefaultHttp2Headers.add(...)`, so nothing verifies that such names
received on the wire are rejected while HPACK-decoding a header block.

Modification:

Add `HpackDecoderTest.receivedNonTokenHeaderNameIsRejected`. It encodes
header names containing CR/LF, NUL, `:`, `;`, SP, a non-ASCII byte and
upper-case characters with a non-validating `DefaultHttp2Headers`, and
asserts that decoding with validation enabled fails with a
`StreamException` and `PROTOCOL_ERROR`.

Result:

Rejection of non-token header names during HPACK decoding is covered by
a
regression test.

Co-authored-by: Norman Maurer <[email protected]>
normanmaurer added a commit that referenced this pull request Oct 22, 2026
#17988)

Auto-port of #17979 to 5.0
Cherry-picked commit: 345af11

---
Motivation:

`DefaultHttp2Headers` rejects header names that are not valid RFC 7230
tokens (and upper-case names) since #16762. The existing tests only
cover
`DefaultHttp2Headers.add(...)`, so nothing verifies that such names
received on the wire are rejected while HPACK-decoding a header block.

Modification:

Add `HpackDecoderTest.receivedNonTokenHeaderNameIsRejected`. It encodes
header names containing CR/LF, NUL, `:`, `;`, SP, a non-ASCII byte and
upper-case characters with a non-validating `DefaultHttp2Headers`, and
asserts that decoding with validation enabled fails with a
`StreamException` and `PROTOCOL_ERROR`.

Result:

Rejection of non-token header names during HPACK decoding is covered by
a
regression test.

Co-authored-by: Norman Maurer <[email protected]>
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
…tty#17022)

Auto-port of netty#16762 to 4.1
Cherry-picked commit: 6661ee4

---
## Problem

`DefaultHttp2Headers` accepts header names that contain bytes outside
the HTTP token grammar — non-ASCII (e.g. `0xF0`), control characters
(NUL/CR/LF/VT/FF/HTAB/...), SP, DEL, and the RFC 7230 separators
(`"(),/:;<=>?@[\\]{}\""`). The current `HTTP2_NAME_VALIDATOR` only
rejects upper-case ASCII and lets everything else through, so something
like `headers.add(new AsciiString(new byte[]{(byte)0xF0}), "v")`
succeeds and is then encoded onto the wire.

This was reported in netty#11975 with maintainer agreement on direction:
- @idelpivnitskiy: confirmed the field-name grammar
- @ejona86: "good and appropriate to restrict keys to the values
permitted in HTTP/1, with little risk"

## Root Cause

`DefaultHttp2Headers.HTTP2_NAME_VALIDATOR_PROCESSOR` returns
`!isUpperCase(value)` and the non-`AsciiString` fallback only loops on
`isUpperCase(charAt(i))`. Both paths therefore enforce the lower-case
rule but skip the rest of RFC 9113 §8.2.1, which inherits the RFC 7230
token grammar.

## Fix

In
`codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Headers.java`:

- After the empty/null and pseudo-header checks, run
`HttpHeaderValidationUtil.validateToken(name)` and throw
`connectionError(PROTOCOL_ERROR, ...)` when it returns a non-`-1` index.
- Keep the existing upper-case `ByteProcessor` / fallback loop. The
token check is additive: pseudo-headers still short-circuit, valid
lower-case tokens still pass, upper-case ASCII still gets rejected (now
at the upper-case check, not the token check).

Pseudo-headers (`:method`, `:path`, ...) deliberately bypass the token
check via the existing `hasPseudoHeaderFormat` early return, since `:`
is not a valid token character but is required for pseudo-headers.

## Tests Added

| Change point | Test |
|--------------|------|
| Reject non-ASCII via the `AsciiString` byte path |
`rejectNonAsciiHeaderNameAsciiString` (uses the U+1F631 / `0xF0 0x9F
0x98 0xB1` reproducer from netty#11975) |
| Reject non-ASCII via the `CharSequence` `charAt` path |
`rejectNonAsciiHeaderNameCharSequence`,
`rejectHighBitHeaderNameCharSequence` (covers char ≤ 0xFF and char >
0xFF) |
| Reject every C0 control byte and every RFC 7230 separator |
`rejectNonTokenCharactersInHeaderName` (parameterized — 28 cases: NUL,
SOH, BEL, BS, HTAB, LF, VT, FF, CR, US, DEL, SP, and `, ; : / = ? @ ( )
[ ] { } < > \ "`) |
| Regression: upper-case rejection unchanged |
`uppercaseHeaderNameStillRejected` |
| Regression: full RFC 7230 lower-case token still accepted |
`acceptValidLowercaseTokenHeaderName` (covers `x-custom-header`,
`2name`, and a name using every special token char `!#$%&'*+-.^_\`|~`) |
| Regression: pseudo-headers still accepted | `acceptPseudoHeaderName` |
| Existing wire-level test now exercises the validator |
`InboundHttp2ToHttpAdapterTest.clientRequestSingleHeaderNonAsciiShouldThrow`
updated — the rejection now fires at `headers.add(...)` instead of at
the HPACK encoder |

`mvn -pl codec-http2 test -Drevapi.skip=true` runs 1512 tests with 0
failures locally; `codec-http` regression run is also clean (8891 tests,
0 failures).

## Impact

- **API**: `new DefaultHttp2Headers().add(name, value)` now throws
`Http2Exception(PROTOCOL_ERROR, ...)` for any name that is not a valid
lower-case RFC 7230 token. Code that was relying on the previous lax
behaviour (passing non-ASCII or separator bytes) needs to either (a)
clean up the name before adding, or (b) construct the headers with `new
DefaultHttp2Headers(false)` to opt out of validation, which already
exists.
- **Wire effect**: Inbound HPACK-decoded headers with malformed names
now produce an `Http2Exception` at validation time and are surfaced via
the existing decoder failure path. The previous behaviour silently
accepted them and could allow malformed bytes to reach the application
as parsed `Http2Headers`.
- **Hot path**: Standard requests are unaffected — `DefaultHttp2Headers`
validation only runs when adding non-pseudo headers, and the new
`validateToken` call is a single forward scan that returns `-1` on the
first invalid byte for clean tokens.

Fixes netty#11975

---------

Co-authored-by: Guimu <[email protected]>
Co-authored-by: Norman Maurer <[email protected]>
Co-authored-by: Chris Vest <[email protected]>
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
netty#17992)

Auto-port of netty#17979 to 4.1
Cherry-picked commit: 345af11

---
Motivation:

`DefaultHttp2Headers` rejects header names that are not valid RFC 7230
tokens (and upper-case names) since netty#16762. The existing tests only
cover
`DefaultHttp2Headers.add(...)`, so nothing verifies that such names
received on the wire are rejected while HPACK-decoding a header block.

Modification:

Add `HpackDecoderTest.receivedNonTokenHeaderNameIsRejected`. It encodes
header names containing CR/LF, NUL, `:`, `;`, SP, a non-ASCII byte and
upper-case characters with a non-validating `DefaultHttp2Headers`, and
asserts that decoding with validation enabled fails with a
`StreamException` and `PROTOCOL_ERROR`.

Result:

Rejection of non-token header names during HPACK decoding is covered by
a
regression test.

Co-authored-by: Norman Maurer <[email protected]>
ikpil added a commit to ikpil/Netty.NET that referenced this pull request Nov 29, 2026
…etty/netty#17979)

Motivation:

`DefaultHttp2Headers` rejects header names that are not valid RFC 7230
tokens (and upper-case names) since netty/netty#16762. The existing tests only
cover
`DefaultHttp2Headers.add(...)`, so nothing verifies that such names
received on the wire are rejected while HPACK-decoding a header block.

Modification:

Add `HpackDecoderTest.receivedNonTokenHeaderNameIsRejected`. It encodes
header names containing CR/LF, NUL, `:`, `;`, SP, a non-ASCII byte and
upper-case characters with a non-validating `DefaultHttp2Headers`, and
asserts that decoding with validation enabled fails with a
`StreamException` and `PROTOCOL_ERROR`.

Result:

Rejection of non-token header names during HPACK decoding is covered by
a
regression test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTP/2.0 non US-ASCII header names should be rejected

7 participants