Skip to content

HttpServerCodec: do not consume the method queue for 1xx interim responses - #17182

Merged
normanmaurer merged 2 commits into
netty:4.2from
HwangRock:http-server-codec-interim-1xx
Aug 3, 2026
Merged

normanmaurer merged 2 commits into
netty:4.2from
HwangRock:http-server-codec-interim-1xx

Conversation

@HwangRock

Copy link
Copy Markdown
Contributor

Motivation

Resolves #17181.

#12918 stopped 1xx interim responses from consuming a queue entry in HttpClientCodec and HttpContentEncoder, but HttpServerCodec was left out.

isContentAlwaysEmpty(HttpResponse) in HttpServerCodec polls the request method queue for every response it encodes:

@Override
protected boolean isContentAlwaysEmpty(HttpResponse msg) {
    methodFlag = pollMethod();
    return methodFlag == METHOD_FLAG_HEAD || super.isContentAlwaysEmpty(msg);
}

It is invoked for every HttpResponse on both encoder paths — encodeFullHttpMessage() and encodeInitHttpMessage() in HttpObjectEncoder. An interim response is not the final response to the queued request, so consuming an entry shifts the queue by one and the wrong method gets paired with the final response.

Both failure modes are reachable from first-party handlers: HttpServerExpectContinueHandler and HttpObjectAggregator write 100 Continue through this encoder.

Modification

Skip pollMethod() when the response status class is INFORMATIONAL and delegate to the super method, mirroring the guard already present in isContentAlwaysEmpty(HttpMessage) in HttpClientCodec.

methodFlag is intentionally left untouched on the interim path. sanitizeHeadersBeforeEncode() reads it for the CONNECT check, but that branch also requires codeClass() == SUCCESS, which a 1xx response never satisfies.

Result

Interim responses no longer shift the method queue, so HEAD and CONNECT are paired with their own final response.

Encoder output for the two broken cases, measured with the tests added here:

scenario before after
HEAD /a, then 103, then final 200 OK with content HTTP/1.1 200 OK\r\ncontent-length: 4\r\n\r\nbody HTTP/1.1 200 OK\r\ncontent-length: 4\r\n\r\n
pipelined GET /a + HEAD /b, then 103, then /a's 200 OK with content HTTP/1.1 200 OK\r\ncontent-length: 6\r\n\r\n HTTP/1.1 200 OK\r\ncontent-length: 6\r\n\r\nbody-a
HEAD / with Upgrade, then 101 HTTP/1.1 101 Switching Protocols\r\nconnection: upgrade\r\nupgrade: websocket\r\n\r\n unchanged

The first row is a HEAD response carrying a body, which per RFC 9110 section 9.3.2 must never happen — on a keep-alive connection the peer reads those bytes as the start of the next response. The second is a non-HEAD response losing its body while keeping Content-Length, leaving the peer waiting for six bytes that never arrive.

Sequential request/response traffic recovers on its own, since an empty queue falls back to METHOD_FLAG_OTHER. Corruption needs either a 1xx preceding a HEAD response, or pipelining combined with a 1xx.

101 is included in INFORMATIONAL and is therefore covered by the guard, with no change on the wire. After switching protocols the codec is removed from the pipeline — by upgradeFrom() in HttpServerCodec for h2c, and by WebSocketServerHandshaker for WebSocket — so the entry left behind is discarded together with the handler. The third row above pins this.

This also corrects CONNECT: previously a 1xx could consume the CONNECT entry, so the final 2xx response missed the Transfer-Encoding stripping in sanitizeHeadersBeforeEncode().

codec-http passes in full: 8973 tests, 0 failures.

HwangRock and others added 2 commits August 1, 2026 11:40
…sponses

Motivation:

netty#12918 stopped 1xx interim responses from consuming a queue entry in
`HttpClientCodec` and `HttpContentEncoder`, but `HttpServerCodec` was left out.

`isContentAlwaysEmpty(HttpResponse)` polls the request method queue for every
response it encodes, and it is invoked for every `HttpResponse` on both encoder
paths — `encodeFullHttpMessage()` and `encodeInitHttpMessage()` in
`HttpObjectEncoder`. An interim response is not the final response to the queued
request, so consuming an entry shifts the queue by one and the wrong method is
paired with the final response.

Two observable failures follow. A HEAD response can end up carrying a body,
which per RFC 9110 section 9.3.2 must never happen and desynchronises a
keep-alive connection. A pipelined non-HEAD response can lose its body while
keeping its `Content-Length` header, leaving the peer waiting for bytes that
never arrive.

Both are reachable from first-party handlers: `HttpServerExpectContinueHandler`
and `HttpObjectAggregator` write `100 Continue` through this encoder.

Modification:

Skip `pollMethod()` when the response status class is `INFORMATIONAL` and
delegate to the super method, mirroring the guard already present in
`isContentAlwaysEmpty(HttpMessage)` in `HttpClientCodec`.

Add tests for both failures, plus a regression test pinning the 101 Switching
Protocols output.

Result:

Interim responses no longer shift the method queue, so HEAD and CONNECT are
paired with their own final response.

101 is unaffected on the wire. After switching protocols the codec is removed
from the pipeline — by `upgradeFrom()` in `HttpServerCodec` for h2c, and by
`WebSocketServerHandshaker` for WebSocket — so the entry left behind is
discarded together with the handler.
@normanmaurer normanmaurer added this to the 4.2.17.Final milestone Aug 3, 2026
@normanmaurer normanmaurer 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 Aug 3, 2026
@testlens-app

testlens-app Bot commented Aug 3, 2026 •

Copy link
Copy Markdown

✅ All tests passed ✅

⚠️ TestLens detected flakiness ⚠️

Test Summary

Build PR / windows-x86_64-java11-boringssl > Netty/Common

Test Runs Flakiness
AutoScalingEventExecutorChooserFactoryTest > testScaleUp() ❌ ✅ 3% 🟡

🏷️ Commit: 8aaaf73
▶️ Tests: 38553 executed
⚪️ Checks: 22/22 completed


Learn more about TestLens at testlens.app.

@normanmaurer

Copy link
Copy Markdown
Member

@HwangRock

Copy link
Copy Markdown
Contributor Author

@normanmaurer Yep, signed it back in June when you asked on #16950.

@normanmaurer
normanmaurer merged commit ae41417 into netty:4.2 Aug 3, 2026
38 of 39 checks passed
@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port PR for 5.0: #17202

@netty-project-bot

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 4.1.

@normanmaurer

Copy link
Copy Markdown
Member

PR for 4.1: #17203

chrisvest added a commit that referenced this pull request Aug 3, 2026
… 1xx interim responses (#17202)

Auto-port of #17182 to 5.0
Cherry-picked commit: ae41417

---
### Motivation

Resolves #17181.

#12918 stopped 1xx interim responses from consuming a queue entry in
`HttpClientCodec` and `HttpContentEncoder`, but `HttpServerCodec` was
left out.

`isContentAlwaysEmpty(HttpResponse)` in `HttpServerCodec` polls the
request method queue for every response it encodes:

```java
@OverRide
protected boolean isContentAlwaysEmpty(HttpResponse msg) {
    methodFlag = pollMethod();
    return methodFlag == METHOD_FLAG_HEAD || super.isContentAlwaysEmpty(msg);
}
```

It is invoked for every `HttpResponse` on both encoder paths —
`encodeFullHttpMessage()` and `encodeInitHttpMessage()` in
`HttpObjectEncoder`. An interim response is not the final response to
the queued request, so consuming an entry shifts the queue by one and
the wrong method gets paired with the final response.

Both failure modes are reachable from first-party handlers:
`HttpServerExpectContinueHandler` and `HttpObjectAggregator` write `100
Continue` through this encoder.

### Modification

Skip `pollMethod()` when the response status class is `INFORMATIONAL`
and delegate to the super method, mirroring the guard already present in
`isContentAlwaysEmpty(HttpMessage)` in `HttpClientCodec`.

`methodFlag` is intentionally left untouched on the interim path.
`sanitizeHeadersBeforeEncode()` reads it for the CONNECT check, but that
branch also requires `codeClass() == SUCCESS`, which a 1xx response
never satisfies.

### Result

Interim responses no longer shift the method queue, so HEAD and CONNECT
are paired with their own final response.

Encoder output for the two broken cases, measured with the tests added
here:

| scenario | before | after |
|---|---|---|
| `HEAD /a`, then `103`, then final `200 OK` with content | `HTTP/1.1
200 OK\r\ncontent-length: 4\r\n\r\nbody` | `HTTP/1.1 200
OK\r\ncontent-length: 4\r\n\r\n` |
| pipelined `GET /a` + `HEAD /b`, then `103`, then `/a`'s `200 OK` with
content | `HTTP/1.1 200 OK\r\ncontent-length: 6\r\n\r\n` | `HTTP/1.1 200
OK\r\ncontent-length: 6\r\n\r\nbody-a` |
| `HEAD /` with `Upgrade`, then `101` | `HTTP/1.1 101 Switching
Protocols\r\nconnection: upgrade\r\nupgrade: websocket\r\n\r\n` |
unchanged |

The first row is a HEAD response carrying a body, which per RFC 9110
section 9.3.2 must never happen — on a keep-alive connection the peer
reads those bytes as the start of the next response. The second is a
non-HEAD response losing its body while keeping `Content-Length`,
leaving the peer waiting for six bytes that never arrive.

Sequential request/response traffic recovers on its own, since an empty
queue falls back to `METHOD_FLAG_OTHER`. Corruption needs either a 1xx
preceding a HEAD response, or pipelining combined with a 1xx.

101 is included in `INFORMATIONAL` and is therefore covered by the
guard, with no change on the wire. After switching protocols the codec
is removed from the pipeline — by `upgradeFrom()` in `HttpServerCodec`
for h2c, and by `WebSocketServerHandshaker` for WebSocket — so the entry
left behind is discarded together with the handler. The third row above
pins this.

This also corrects CONNECT: previously a 1xx could consume the CONNECT
entry, so the final 2xx response missed the `Transfer-Encoding`
stripping in `sanitizeHeadersBeforeEncode()`.

`codec-http` passes in full: 8973 tests, 0 failures.

---------

Co-authored-by: HwangRock <[email protected]>
Co-authored-by: Norman Maurer <[email protected]>
Co-authored-by: Chris Vest <[email protected]>
chrisvest added a commit that referenced this pull request Aug 3, 2026
…sponses (#17182) (#17203)

Resolves #17181.

`HttpClientCodec` and `HttpContentEncoder`, but `HttpServerCodec` was
left out.

`isContentAlwaysEmpty(HttpResponse)` in `HttpServerCodec` polls the
request method queue for every response it encodes:

```java
@OverRide
protected boolean isContentAlwaysEmpty(HttpResponse msg) {
    methodFlag = pollMethod();
    return methodFlag == METHOD_FLAG_HEAD || super.isContentAlwaysEmpty(msg);
}
```

It is invoked for every `HttpResponse` on both encoder paths —
`encodeFullHttpMessage()` and `encodeInitHttpMessage()` in
`HttpObjectEncoder`. An interim response is not the final response to
the queued request, so consuming an entry shifts the queue by one and
the wrong method gets paired with the final response.

Both failure modes are reachable from first-party handlers:
`HttpServerExpectContinueHandler` and `HttpObjectAggregator` write `100
Continue` through this encoder.

Skip `pollMethod()` when the response status class is `INFORMATIONAL`
and delegate to the super method, mirroring the guard already present in
`isContentAlwaysEmpty(HttpMessage)` in `HttpClientCodec`.

`methodFlag` is intentionally left untouched on the interim path.
`sanitizeHeadersBeforeEncode()` reads it for the CONNECT check, but that
branch also requires `codeClass() == SUCCESS`, which a 1xx response
never satisfies.

Interim responses no longer shift the method queue, so HEAD and CONNECT
are paired with their own final response.

Encoder output for the two broken cases, measured with the tests added
here:

| scenario | before | after |
|---|---|---|
| `HEAD /a`, then `103`, then final `200 OK` with content | `HTTP/1.1
200 OK\r\ncontent-length: 4\r\n\r\nbody` | `HTTP/1.1 200
OK\r\ncontent-length: 4\r\n\r\n` |
| pipelined `GET /a` + `HEAD /b`, then `103`, then `/a`'s `200 OK` with
content | `HTTP/1.1 200 OK\r\ncontent-length: 6\r\n\r\n` | `HTTP/1.1 200
OK\r\ncontent-length: 6\r\n\r\nbody-a` |
| `HEAD /` with `Upgrade`, then `101` | `HTTP/1.1 101 Switching
Protocols\r\nconnection: upgrade\r\nupgrade: websocket\r\n\r\n` |
unchanged |

The first row is a HEAD response carrying a body, which per RFC 9110
section 9.3.2 must never happen — on a keep-alive connection the peer
reads those bytes as the start of the next response. The second is a
non-HEAD response losing its body while keeping `Content-Length`,
leaving the peer waiting for six bytes that never arrive.

Sequential request/response traffic recovers on its own, since an empty
queue falls back to `METHOD_FLAG_OTHER`. Corruption needs either a 1xx
preceding a HEAD response, or pipelining combined with a 1xx.

101 is included in `INFORMATIONAL` and is therefore covered by the
guard, with no change on the wire. After switching protocols the codec
is removed from the pipeline — by `upgradeFrom()` in `HttpServerCodec`
for h2c, and by `WebSocketServerHandshaker` for WebSocket — so the entry
left behind is discarded together with the handler. The third row above
pins this.

This also corrects CONNECT: previously a 1xx could consume the CONNECT
entry, so the final 2xx response missed the `Transfer-Encoding`
stripping in `sanitizeHeadersBeforeEncode()`.

`codec-http` passes in full: 8973 tests, 0 failures.

Co-authored-by: Norman Maurer <[email protected]>

---------

Co-authored-by: HwangRock <[email protected]>
Co-authored-by: Chris Vest <[email protected]>
mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request Aug 9, 2026
…l [skip ci]

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

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

> netty-4.2.17.Final
> ------------------
>
> What's Changed
> --------------
>
> * AsciiString.cached(String) should sanitize the provided String ([#13749](https://redirect.github.com/netty/netty/issues/13749)) by [`@​vpelikh`](https://github.com/vpelikh) in [netty/netty#17007](https://redirect.github.com/netty/netty/pull/17007)
> * Fix deploy workflow by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17071](https://redirect.github.com/netty/netty/pull/17071)
> * Fix AsciiString.cached(String) performance regression by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17074](https://redirect.github.com/netty/netty/pull/17074)
> * SslHandler: Fix possible buffer leak when an OOME is thrown during allocation by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17059](https://redirect.github.com/netty/netty/pull/17059)
> * Avoid leak presence detector in leak profile by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17073](https://redirect.github.com/netty/netty/pull/17073)
> * Add HttpContentCompressor constructor with ability to specify desired maxPipelineDepth by [`@​reta`](https://github.com/reta) in [netty/netty#17068](https://redirect.github.com/netty/netty/pull/17068)
> * IoUring: preserve readPending when rescheduling cancelled reads by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17087](https://redirect.github.com/netty/netty/pull/17087)
> * Reject negative maxOrder in PooledByteBufAllocator by [`@​coderbruis`](https://github.com/coderbruis) in [netty/netty#17093](https://redirect.github.com/netty/netty/pull/17093)
> * Fix AdaptiveByteBuf.\_setLongLE calling checked setLongLE by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17098](https://redirect.github.com/netty/netty/pull/17098)
> * Snappy: Guard decoder against invalid chunk lengths by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17099](https://redirect.github.com/netty/netty/pull/17099)
> * Fix OCSP Tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17114](https://redirect.github.com/netty/netty/pull/17114)
> * Update to latest netty-tcnative release by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17056](https://redirect.github.com/netty/netty/pull/17056)
> * Use safe decompressor in Lz4FrameDecoder by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17118](https://redirect.github.com/netty/netty/pull/17118)
> * Configure TestLens for the PR builds by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17129](https://redirect.github.com/netty/netty/pull/17129)
> * IoUring: add SO\_INQ support for Unix domain sockets by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17127](https://redirect.github.com/netty/netty/pull/17127)
> * fix(mqtt): drop UNSUBACK reason codes for MQTT 3.x encoding by [`@​ChunMengLu`](https://github.com/ChunMengLu) in [netty/netty#17117](https://redirect.github.com/netty/netty/pull/17117)
> * Propagate the CI envionment variables through to the docker builds by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17138](https://redirect.github.com/netty/netty/pull/17138)
> * Codec-compression: Add decompressor API by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#16745](https://redirect.github.com/netty/netty/pull/16745)
> * Fix silent failures and optimize error short-circuit in multi-threaded tests by [`@​rajan-github`](https://github.com/rajan-github) in [netty/netty#17106](https://redirect.github.com/netty/netty/pull/17106)
> * Codec-compression: Add Bzip2Decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17145](https://redirect.github.com/netty/netty/pull/17145)
> * Fix buddy cache evicting chunks with live buffers by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17154](https://redirect.github.com/netty/netty/pull/17154)
> * Codec-compression: Add Snappy frame decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17153](https://redirect.github.com/netty/netty/pull/17153)
> * Codec-compression: Add zlib decompressors by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17155](https://redirect.github.com/netty/netty/pull/17155)
> * Codec-compression: Add Zstd decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17152](https://redirect.github.com/netty/netty/pull/17152)
> * Codec-compression: Add LZF decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17147](https://redirect.github.com/netty/netty/pull/17147)
> * Codec-compression: Add BrotliDecompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17146](https://redirect.github.com/netty/netty/pull/17146)
> * Codec-compression: Add Lz4FrameDecompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17148](https://redirect.github.com/netty/netty/pull/17148)
> * `HttpObjectEncoder` / `DefaultHttp2FrameWriter`: fix buffer leak when a `Throwable` is thrown during header encoding by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#17089](https://redirect.github.com/netty/netty/pull/17089)
> * Fix direct memory OOM on low-core containers by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17166](https://redirect.github.com/netty/netty/pull/17166)
> * IoUring: Fix the recvmmsg emulation by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17187](https://redirect.github.com/netty/netty/pull/17187)
> * Avoid classloader leak via GlobalEventExecutor terminationFuture failure by [`@​seonwooj0810`](https://github.com/seonwooj0810) in [netty/netty#17140](https://redirect.github.com/netty/netty/pull/17140)
> * BrotliEncoder: Prevent duplicate close scheduling by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17175](https://redirect.github.com/netty/netty/pull/17175)
> * Fix JdkZlibDecompressor losing the tail of highly compressible streams by [`@​renechoi`](https://github.com/renechoi) in [netty/netty#17191](https://redirect.github.com/netty/netty/pull/17191)
> * Update compress-lzf to 1.2.1 by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17194](https://redirect.github.com/netty/netty/pull/17194)
> * Do not write WebSocket handshake response to the tail of the pipeline by [`@​el-psy-kongroo-d`](https://github.com/el-psy-kongroo-d) in [netty/netty#17192](https://redirect.github.com/netty/netty/pull/17192)
> * `HttpServerCodec`: do not consume the method queue for 1xx interim responses by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#17182](https://redirect.github.com/netty/netty/pull/17182)
> * Weakly reference engines from the OpenSSL engine map by [`@​bryce-anderson`](https://github.com/bryce-anderson) in [netty/netty#17199](https://redirect.github.com/netty/netty/pull/17199)
> * OpenSSL: Allow to obtain used named group via OpenSslSession by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17058](https://redirect.github.com/netty/netty/pull/17058)
> * Add `.editorconfig` to enforce consistent coding style by [`@​vpelikh`](https://github.com/vpelikh) in [netty/netty#17052](https://redirect.github.com/netty/netty/pull/17052)
> * Update surefire plugin to latest version by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17210](https://redirect.github.com/netty/netty/pull/17210)
> * Merge changes from forks by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17213](https://redirect.github.com/netty/netty/pull/17213)
>
> New Contributors
> ----------------
>
> * [`@​vpelikh`](https://github.com/vpelikh) made their first contribution in [netty/netty#17007](https://redirect.github.com/netty/netty/pull/17007)
> * [`@​ChunMengLu`](https://github.com/ChunMengLu) made their first contribution in [netty/netty#17117](https://redirect.github.com/netty/netty/pull/17117)
> * [`@​rajan-github`](https://github.com/rajan-github) made their first contribution in [netty/netty#17106](https://redirect.github.com/netty/netty/pull/17106)
> * [`@​seonwooj0810`](https://github.com/seonwooj0810) made their first contribution in [netty/netty#17140](https://redirect.github.com/netty/netty/pull/17140)
> * [`@​renechoi`](https://github.com/renechoi) made their first contribution in [netty/netty#17191](https://redirect.github.com/netty/netty/pull/17191)

... (truncated)


Commits

* [`e0789d3`](netty/netty@e0789d3) [maven-release-plugin] prepare release netty-4.2.17.Final
* [`1b5abc6`](netty/netty@1b5abc6) Merge changes from forks ([#17213](https://redirect.github.com/netty/netty/issues/17213))
* [`36fbf57`](netty/netty@36fbf57) Update surefire plugin to latest version ([#17210](https://redirect.github.com/netty/netty/issues/17210))
* [`a96226c`](netty/netty@a96226c) Add `.editorconfig` to enforce consistent coding style ([#17052](https://redirect.github.com/netty/netty/issues/17052))
* [`14a4e6a`](netty/netty@14a4e6a) OpenSSL: Allow to obtain used named group via OpenSslSession ([#17058](https://redirect.github.com/netty/netty/issues/17058))
* [`26255b1`](netty/netty@26255b1) Weakly reference engines from the OpenSSL engine map ([#17199](https://redirect.github.com/netty/netty/issues/17199))
* [`ae41417`](netty/netty@ae41417) `HttpServerCodec`: do not consume the method queue for 1xx interim responses ...
* [`41f1db5`](netty/netty@41f1db5) Do not write WebSocket handshake response to the tail of the pipeline ([#17192](https://redirect.github.com/netty/netty/issues/17192))
* [`035d76e`](netty/netty@035d76e) Update compress-lzf to 1.2.1 ([#17194](https://redirect.github.com/netty/netty/issues/17194))
* [`7681aff`](netty/netty@7681aff) Fix JdkZlibDecompressor losing the tail of highly compressible streams ([#17191](https://redirect.github.com/netty/netty/issues/17191))
* Additional commits viewable in [compare view](netty/netty@netty-4.2.16.Final...netty-4.2.17.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.16.Final&new-version=4.2.17.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 Aug 9, 2026
…ip ci]

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

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

> netty-4.2.17.Final
> ------------------
>
> What's Changed
> --------------
>
> * AsciiString.cached(String) should sanitize the provided String ([#13749](https://redirect.github.com/netty/netty/issues/13749)) by [`@​vpelikh`](https://github.com/vpelikh) in [netty/netty#17007](https://redirect.github.com/netty/netty/pull/17007)
> * Fix deploy workflow by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17071](https://redirect.github.com/netty/netty/pull/17071)
> * Fix AsciiString.cached(String) performance regression by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17074](https://redirect.github.com/netty/netty/pull/17074)
> * SslHandler: Fix possible buffer leak when an OOME is thrown during allocation by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17059](https://redirect.github.com/netty/netty/pull/17059)
> * Avoid leak presence detector in leak profile by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17073](https://redirect.github.com/netty/netty/pull/17073)
> * Add HttpContentCompressor constructor with ability to specify desired maxPipelineDepth by [`@​reta`](https://github.com/reta) in [netty/netty#17068](https://redirect.github.com/netty/netty/pull/17068)
> * IoUring: preserve readPending when rescheduling cancelled reads by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17087](https://redirect.github.com/netty/netty/pull/17087)
> * Reject negative maxOrder in PooledByteBufAllocator by [`@​coderbruis`](https://github.com/coderbruis) in [netty/netty#17093](https://redirect.github.com/netty/netty/pull/17093)
> * Fix AdaptiveByteBuf.\_setLongLE calling checked setLongLE by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17098](https://redirect.github.com/netty/netty/pull/17098)
> * Snappy: Guard decoder against invalid chunk lengths by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17099](https://redirect.github.com/netty/netty/pull/17099)
> * Fix OCSP Tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17114](https://redirect.github.com/netty/netty/pull/17114)
> * Update to latest netty-tcnative release by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17056](https://redirect.github.com/netty/netty/pull/17056)
> * Use safe decompressor in Lz4FrameDecoder by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17118](https://redirect.github.com/netty/netty/pull/17118)
> * Configure TestLens for the PR builds by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17129](https://redirect.github.com/netty/netty/pull/17129)
> * IoUring: add SO\_INQ support for Unix domain sockets by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17127](https://redirect.github.com/netty/netty/pull/17127)
> * fix(mqtt): drop UNSUBACK reason codes for MQTT 3.x encoding by [`@​ChunMengLu`](https://github.com/ChunMengLu) in [netty/netty#17117](https://redirect.github.com/netty/netty/pull/17117)
> * Propagate the CI envionment variables through to the docker builds by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17138](https://redirect.github.com/netty/netty/pull/17138)
> * Codec-compression: Add decompressor API by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#16745](https://redirect.github.com/netty/netty/pull/16745)
> * Fix silent failures and optimize error short-circuit in multi-threaded tests by [`@​rajan-github`](https://github.com/rajan-github) in [netty/netty#17106](https://redirect.github.com/netty/netty/pull/17106)
> * Codec-compression: Add Bzip2Decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17145](https://redirect.github.com/netty/netty/pull/17145)
> * Fix buddy cache evicting chunks with live buffers by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17154](https://redirect.github.com/netty/netty/pull/17154)
> * Codec-compression: Add Snappy frame decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17153](https://redirect.github.com/netty/netty/pull/17153)
> * Codec-compression: Add zlib decompressors by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17155](https://redirect.github.com/netty/netty/pull/17155)
> * Codec-compression: Add Zstd decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17152](https://redirect.github.com/netty/netty/pull/17152)
> * Codec-compression: Add LZF decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17147](https://redirect.github.com/netty/netty/pull/17147)
> * Codec-compression: Add BrotliDecompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17146](https://redirect.github.com/netty/netty/pull/17146)
> * Codec-compression: Add Lz4FrameDecompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17148](https://redirect.github.com/netty/netty/pull/17148)
> * `HttpObjectEncoder` / `DefaultHttp2FrameWriter`: fix buffer leak when a `Throwable` is thrown during header encoding by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#17089](https://redirect.github.com/netty/netty/pull/17089)
> * Fix direct memory OOM on low-core containers by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17166](https://redirect.github.com/netty/netty/pull/17166)
> * IoUring: Fix the recvmmsg emulation by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17187](https://redirect.github.com/netty/netty/pull/17187)
> * Avoid classloader leak via GlobalEventExecutor terminationFuture failure by [`@​seonwooj0810`](https://github.com/seonwooj0810) in [netty/netty#17140](https://redirect.github.com/netty/netty/pull/17140)
> * BrotliEncoder: Prevent duplicate close scheduling by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17175](https://redirect.github.com/netty/netty/pull/17175)
> * Fix JdkZlibDecompressor losing the tail of highly compressible streams by [`@​renechoi`](https://github.com/renechoi) in [netty/netty#17191](https://redirect.github.com/netty/netty/pull/17191)
> * Update compress-lzf to 1.2.1 by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17194](https://redirect.github.com/netty/netty/pull/17194)
> * Do not write WebSocket handshake response to the tail of the pipeline by [`@​el-psy-kongroo-d`](https://github.com/el-psy-kongroo-d) in [netty/netty#17192](https://redirect.github.com/netty/netty/pull/17192)
> * `HttpServerCodec`: do not consume the method queue for 1xx interim responses by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#17182](https://redirect.github.com/netty/netty/pull/17182)
> * Weakly reference engines from the OpenSSL engine map by [`@​bryce-anderson`](https://github.com/bryce-anderson) in [netty/netty#17199](https://redirect.github.com/netty/netty/pull/17199)
> * OpenSSL: Allow to obtain used named group via OpenSslSession by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17058](https://redirect.github.com/netty/netty/pull/17058)
> * Add `.editorconfig` to enforce consistent coding style by [`@​vpelikh`](https://github.com/vpelikh) in [netty/netty#17052](https://redirect.github.com/netty/netty/pull/17052)
> * Update surefire plugin to latest version by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17210](https://redirect.github.com/netty/netty/pull/17210)
> * Merge changes from forks by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17213](https://redirect.github.com/netty/netty/pull/17213)
>
> New Contributors
> ----------------
>
> * [`@​vpelikh`](https://github.com/vpelikh) made their first contribution in [netty/netty#17007](https://redirect.github.com/netty/netty/pull/17007)
> * [`@​ChunMengLu`](https://github.com/ChunMengLu) made their first contribution in [netty/netty#17117](https://redirect.github.com/netty/netty/pull/17117)
> * [`@​rajan-github`](https://github.com/rajan-github) made their first contribution in [netty/netty#17106](https://redirect.github.com/netty/netty/pull/17106)
> * [`@​seonwooj0810`](https://github.com/seonwooj0810) made their first contribution in [netty/netty#17140](https://redirect.github.com/netty/netty/pull/17140)
> * [`@​renechoi`](https://github.com/renechoi) made their first contribution in [netty/netty#17191](https://redirect.github.com/netty/netty/pull/17191)

... (truncated)


Commits

* [`e0789d3`](netty/netty@e0789d3) [maven-release-plugin] prepare release netty-4.2.17.Final
* [`1b5abc6`](netty/netty@1b5abc6) Merge changes from forks ([#17213](https://redirect.github.com/netty/netty/issues/17213))
* [`36fbf57`](netty/netty@36fbf57) Update surefire plugin to latest version ([#17210](https://redirect.github.com/netty/netty/issues/17210))
* [`a96226c`](netty/netty@a96226c) Add `.editorconfig` to enforce consistent coding style ([#17052](https://redirect.github.com/netty/netty/issues/17052))
* [`14a4e6a`](netty/netty@14a4e6a) OpenSSL: Allow to obtain used named group via OpenSslSession ([#17058](https://redirect.github.com/netty/netty/issues/17058))
* [`26255b1`](netty/netty@26255b1) Weakly reference engines from the OpenSSL engine map ([#17199](https://redirect.github.com/netty/netty/issues/17199))
* [`ae41417`](netty/netty@ae41417) `HttpServerCodec`: do not consume the method queue for 1xx interim responses ...
* [`41f1db5`](netty/netty@41f1db5) Do not write WebSocket handshake response to the tail of the pipeline ([#17192](https://redirect.github.com/netty/netty/issues/17192))
* [`035d76e`](netty/netty@035d76e) Update compress-lzf to 1.2.1 ([#17194](https://redirect.github.com/netty/netty/issues/17194))
* [`7681aff`](netty/netty@7681aff) Fix JdkZlibDecompressor losing the tail of highly compressible streams ([#17191](https://redirect.github.com/netty/netty/issues/17191))
* Additional commits viewable in [compare view](netty/netty@netty-4.2.16.Final...netty-4.2.17.Final)
  
Updates `io.netty:netty-codec` from 4.2.16.Final to 4.2.17.Final
Release notes

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

> netty-4.2.17.Final
> ------------------
>
> What's Changed
> --------------
>
> * AsciiString.cached(String) should sanitize the provided String ([#13749](https://redirect.github.com/netty/netty/issues/13749)) by [`@​vpelikh`](https://github.com/vpelikh) in [netty/netty#17007](https://redirect.github.com/netty/netty/pull/17007)
> * Fix deploy workflow by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17071](https://redirect.github.com/netty/netty/pull/17071)
> * Fix AsciiString.cached(String) performance regression by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17074](https://redirect.github.com/netty/netty/pull/17074)
> * SslHandler: Fix possible buffer leak when an OOME is thrown during allocation by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17059](https://redirect.github.com/netty/netty/pull/17059)
> * Avoid leak presence detector in leak profile by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17073](https://redirect.github.com/netty/netty/pull/17073)
> * Add HttpContentCompressor constructor with ability to specify desired maxPipelineDepth by [`@​reta`](https://github.com/reta) in [netty/netty#17068](https://redirect.github.com/netty/netty/pull/17068)
> * IoUring: preserve readPending when rescheduling cancelled reads by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17087](https://redirect.github.com/netty/netty/pull/17087)
> * Reject negative maxOrder in PooledByteBufAllocator by [`@​coderbruis`](https://github.com/coderbruis) in [netty/netty#17093](https://redirect.github.com/netty/netty/pull/17093)
> * Fix AdaptiveByteBuf.\_setLongLE calling checked setLongLE by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17098](https://redirect.github.com/netty/netty/pull/17098)
> * Snappy: Guard decoder against invalid chunk lengths by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17099](https://redirect.github.com/netty/netty/pull/17099)
> * Fix OCSP Tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17114](https://redirect.github.com/netty/netty/pull/17114)
> * Update to latest netty-tcnative release by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17056](https://redirect.github.com/netty/netty/pull/17056)
> * Use safe decompressor in Lz4FrameDecoder by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17118](https://redirect.github.com/netty/netty/pull/17118)
> * Configure TestLens for the PR builds by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17129](https://redirect.github.com/netty/netty/pull/17129)
> * IoUring: add SO\_INQ support for Unix domain sockets by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17127](https://redirect.github.com/netty/netty/pull/17127)
> * fix(mqtt): drop UNSUBACK reason codes for MQTT 3.x encoding by [`@​ChunMengLu`](https://github.com/ChunMengLu) in [netty/netty#17117](https://redirect.github.com/netty/netty/pull/17117)
> * Propagate the CI envionment variables through to the docker builds by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17138](https://redirect.github.com/netty/netty/pull/17138)
> * Codec-compression: Add decompressor API by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#16745](https://redirect.github.com/netty/netty/pull/16745)
> * Fix silent failures and optimize error short-circuit in multi-threaded tests by [`@​rajan-github`](https://github.com/rajan-github) in [netty/netty#17106](https://redirect.github.com/netty/netty/pull/17106)
> * Codec-compression: Add Bzip2Decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17145](https://redirect.github.com/netty/netty/pull/17145)
> * Fix buddy cache evicting chunks with live buffers by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17154](https://redirect.github.com/netty/netty/pull/17154)
> * Codec-compression: Add Snappy frame decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17153](https://redirect.github.com/netty/netty/pull/17153)
> * Codec-compression: Add zlib decompressors by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17155](https://redirect.github.com/netty/netty/pull/17155)
> * Codec-compression: Add Zstd decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17152](https://redirect.github.com/netty/netty/pull/17152)
> * Codec-compression: Add LZF decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17147](https://redirect.github.com/netty/netty/pull/17147)
> * Codec-compression: Add BrotliDecompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17146](https://redirect.github.com/netty/netty/pull/17146)
> * Codec-compression: Add Lz4FrameDecompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17148](https://redirect.github.com/netty/netty/pull/17148)
> * `HttpObjectEncoder` / `DefaultHttp2FrameWriter`: fix buffer leak when a `Throwable` is thrown during header encoding by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#17089](https://redirect.github.com/netty/netty/pull/17089)
> * Fix direct memory OOM on low-core containers by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17166](https://redirect.github.com/netty/netty/pull/17166)
> * IoUring: Fix the recvmmsg emulation by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17187](https://redirect.github.com/netty/netty/pull/17187)
> * Avoid classloader leak via GlobalEventExecutor terminationFuture failure by [`@​seonwooj0810`](https://github.com/seonwooj0810) in [netty/netty#17140](https://redirect.github.com/netty/netty/pull/17140)
> * BrotliEncoder: Prevent duplicate close scheduling by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17175](https://redirect.github.com/netty/netty/pull/17175)
> * Fix JdkZlibDecompressor losing the tail of highly compressible streams by [`@​renechoi`](https://github.com/renechoi) in [netty/netty#17191](https://redirect.github.com/netty/netty/pull/17191)
> * Update compress-lzf to 1.2.1 by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17194](https://redirect.github.com/netty/netty/pull/17194)
> * Do not write WebSocket handshake response to the tail of the pipeline by [`@​el-psy-kongroo-d`](https://github.com/el-psy-kongroo-d) in [netty/netty#17192](https://redirect.github.com/netty/netty/pull/17192)
> * `HttpServerCodec`: do not consume the method queue for 1xx interim responses by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#17182](https://redirect.github.com/netty/netty/pull/17182)
> * Weakly reference engines from the OpenSSL engine map by [`@​bryce-anderson`](https://github.com/bryce-anderson) in [netty/netty#17199](https://redirect.github.com/netty/netty/pull/17199)
> * OpenSSL: Allow to obtain used named group via OpenSslSession by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17058](https://redirect.github.com/netty/netty/pull/17058)
> * Add `.editorconfig` to enforce consistent coding style by [`@​vpelikh`](https://github.com/vpelikh) in [netty/netty#17052](https://redirect.github.com/netty/netty/pull/17052)
> * Update surefire plugin to latest version by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17210](https://redirect.github.com/netty/netty/pull/17210)
> * Merge changes from forks by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17213](https://redirect.github.com/netty/netty/pull/17213)
>
> New Contributors
> ----------------
>
> * [`@​vpelikh`](https://github.com/vpelikh) made their first contribution in [netty/netty#17007](https://redirect.github.com/netty/netty/pull/17007)
> * [`@​ChunMengLu`](https://github.com/ChunMengLu) made their first contribution in [netty/netty#17117](https://redirect.github.com/netty/netty/pull/17117)
> * [`@​rajan-github`](https://github.com/rajan-github) made their first contribution in [netty/netty#17106](https://redirect.github.com/netty/netty/pull/17106)
> * [`@​seonwooj0810`](https://github.com/seonwooj0810) made their first contribution in [netty/netty#17140](https://redirect.github.com/netty/netty/pull/17140)
> * [`@​renechoi`](https://github.com/renechoi) made their first contribution in [netty/netty#17191](https://redirect.github.com/netty/netty/pull/17191)

... (truncated)


Commits

* [`e0789d3`](netty/netty@e0789d3) [maven-release-plugin] prepare release netty-4.2.17.Final
* [`1b5abc6`](netty/netty@1b5abc6) Merge changes from forks ([#17213](https://redirect.github.com/netty/netty/issues/17213))
* [`36fbf57`](netty/netty@36fbf57) Update surefire plugin to latest version ([#17210](https://redirect.github.com/netty/netty/issues/17210))
* [`a96226c`](netty/netty@a96226c) Add `.editorconfig` to enforce consistent coding style ([#17052](https://redirect.github.com/netty/netty/issues/17052))
* [`14a4e6a`](netty/netty@14a4e6a) OpenSSL: Allow to obtain used named group via OpenSslSession ([#17058](https://redirect.github.com/netty/netty/issues/17058))
* [`26255b1`](netty/netty@26255b1) Weakly reference engines from the OpenSSL engine map ([#17199](https://redirect.github.com/netty/netty/issues/17199))
* [`ae41417`](netty/netty@ae41417) `HttpServerCodec`: do not consume the method queue for 1xx interim responses ...
* [`41f1db5`](netty/netty@41f1db5) Do not write WebSocket handshake response to the tail of the pipeline ([#17192](https://redirect.github.com/netty/netty/issues/17192))
* [`035d76e`](netty/netty@035d76e) Update compress-lzf to 1.2.1 ([#17194](https://redirect.github.com/netty/netty/issues/17194))
* [`7681aff`](netty/netty@7681aff) Fix JdkZlibDecompressor losing the tail of highly compressible streams ([#17191](https://redirect.github.com/netty/netty/issues/17191))
* Additional commits viewable in [compare view](netty/netty@netty-4.2.16.Final...netty-4.2.17.Final)
  
Updates `io.netty:netty-handler` from 4.2.16.Final to 4.2.17.Final
Release notes

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

> netty-4.2.17.Final
> ------------------
>
> What's Changed
> --------------
>
> * AsciiString.cached(String) should sanitize the provided String ([#13749](https://redirect.github.com/netty/netty/issues/13749)) by [`@​vpelikh`](https://github.com/vpelikh) in [netty/netty#17007](https://redirect.github.com/netty/netty/pull/17007)
> * Fix deploy workflow by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17071](https://redirect.github.com/netty/netty/pull/17071)
> * Fix AsciiString.cached(String) performance regression by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17074](https://redirect.github.com/netty/netty/pull/17074)
> * SslHandler: Fix possible buffer leak when an OOME is thrown during allocation by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17059](https://redirect.github.com/netty/netty/pull/17059)
> * Avoid leak presence detector in leak profile by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17073](https://redirect.github.com/netty/netty/pull/17073)
> * Add HttpContentCompressor constructor with ability to specify desired maxPipelineDepth by [`@​reta`](https://github.com/reta) in [netty/netty#17068](https://redirect.github.com/netty/netty/pull/17068)
> * IoUring: preserve readPending when rescheduling cancelled reads by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17087](https://redirect.github.com/netty/netty/pull/17087)
> * Reject negative maxOrder in PooledByteBufAllocator by [`@​coderbruis`](https://github.com/coderbruis) in [netty/netty#17093](https://redirect.github.com/netty/netty/pull/17093)
> * Fix AdaptiveByteBuf.\_setLongLE calling checked setLongLE by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17098](https://redirect.github.com/netty/netty/pull/17098)
> * Snappy: Guard decoder against invalid chunk lengths by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17099](https://redirect.github.com/netty/netty/pull/17099)
> * Fix OCSP Tests by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17114](https://redirect.github.com/netty/netty/pull/17114)
> * Update to latest netty-tcnative release by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17056](https://redirect.github.com/netty/netty/pull/17056)
> * Use safe decompressor in Lz4FrameDecoder by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17118](https://redirect.github.com/netty/netty/pull/17118)
> * Configure TestLens for the PR builds by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17129](https://redirect.github.com/netty/netty/pull/17129)
> * IoUring: add SO\_INQ support for Unix domain sockets by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17127](https://redirect.github.com/netty/netty/pull/17127)
> * fix(mqtt): drop UNSUBACK reason codes for MQTT 3.x encoding by [`@​ChunMengLu`](https://github.com/ChunMengLu) in [netty/netty#17117](https://redirect.github.com/netty/netty/pull/17117)
> * Propagate the CI envionment variables through to the docker builds by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17138](https://redirect.github.com/netty/netty/pull/17138)
> * Codec-compression: Add decompressor API by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#16745](https://redirect.github.com/netty/netty/pull/16745)
> * Fix silent failures and optimize error short-circuit in multi-threaded tests by [`@​rajan-github`](https://github.com/rajan-github) in [netty/netty#17106](https://redirect.github.com/netty/netty/pull/17106)
> * Codec-compression: Add Bzip2Decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17145](https://redirect.github.com/netty/netty/pull/17145)
> * Fix buddy cache evicting chunks with live buffers by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17154](https://redirect.github.com/netty/netty/pull/17154)
> * Codec-compression: Add Snappy frame decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17153](https://redirect.github.com/netty/netty/pull/17153)
> * Codec-compression: Add zlib decompressors by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17155](https://redirect.github.com/netty/netty/pull/17155)
> * Codec-compression: Add Zstd decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17152](https://redirect.github.com/netty/netty/pull/17152)
> * Codec-compression: Add LZF decompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17147](https://redirect.github.com/netty/netty/pull/17147)
> * Codec-compression: Add BrotliDecompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17146](https://redirect.github.com/netty/netty/pull/17146)
> * Codec-compression: Add Lz4FrameDecompressor by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17148](https://redirect.github.com/netty/netty/pull/17148)
> * `HttpObjectEncoder` / `DefaultHttp2FrameWriter`: fix buffer leak when a `Throwable` is thrown during header encoding by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#17089](https://redirect.github.com/netty/netty/pull/17089)
> * Fix direct memory OOM on low-core containers by [`@​franz1981`](https://github.com/franz1981) in [netty/netty#17166](https://redirect.github.com/netty/netty/pull/17166)
> * IoUring: Fix the recvmmsg emulation by [`@​dreamlike-ocean`](https://github.com/dreamlike-ocean) in [netty/netty#17187](https://redirect.github.com/netty/netty/pull/17187)
> * Avoid classloader leak via GlobalEventExecutor terminationFuture failure by [`@​seonwooj0810`](https://github.com/seonwooj0810) in [netty/netty#17140](https://redirect.github.com/netty/netty/pull/17140)
> * BrotliEncoder: Prevent duplicate close scheduling by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17175](https://redirect.github.com/netty/netty/pull/17175)
> * Fix JdkZlibDecompressor losing the tail of highly compressible streams by [`@​renechoi`](https://github.com/renechoi) in [netty/netty#17191](https://redirect.github.com/netty/netty/pull/17191)
> * Update compress-lzf to 1.2.1 by [`@​yawkat`](https://github.com/yawkat) in [netty/netty#17194](https://redirect.github.com/netty/netty/pull/17194)
> * Do not write WebSocket handshake response to the tail of the pipeline by [`@​el-psy-kongroo-d`](https://github.com/el-psy-kongroo-d) in [netty/netty#17192](https://redirect.github.com/netty/netty/pull/17192)
> * `HttpServerCodec`: do not consume the method queue for 1xx interim responses by [`@​HwangRock`](https://github.com/HwangRock) in [netty/netty#17182](https://redirect.github.com/netty/netty/pull/17182)
> * Weakly reference engines from the OpenSSL engine map by [`@​bryce-anderson`](https://github.com/bryce-anderson) in [netty/netty#17199](https://redirect.github.com/netty/netty/pull/17199)
> * OpenSSL: Allow to obtain used named group via OpenSslSession by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17058](https://redirect.github.com/netty/netty/pull/17058)
> * Add `.editorconfig` to enforce consistent coding style by [`@​vpelikh`](https://github.com/vpelikh) in [netty/netty#17052](https://redirect.github.com/netty/netty/pull/17052)
> * Update surefire plugin to latest version by [`@​normanmaurer`](https://github.com/normanmaurer) in [netty/netty#17210](https://redirect.github.com/netty/netty/pull/17210)
> * Merge changes from forks by [`@​chrisvest`](https://github.com/chrisvest) in [netty/netty#17213](https://redirect.github.com/netty/netty/pull/17213)
>
> New Contributors
> ----------------
>
> * [`@​vpelikh`](https://github.com/vpelikh) made their first contribution in [netty/netty#17007](https://redirect.github.com/netty/netty/pull/17007)
> * [`@​ChunMengLu`](https://github.com/ChunMengLu) made their first contribution in [netty/netty#17117](https://redirect.github.com/netty/netty/pull/17117)
> * [`@​rajan-github`](https://github.com/rajan-github) made their first contribution in [netty/netty#17106](https://redirect.github.com/netty/netty/pull/17106)
> * [`@​seonwooj0810`](https://github.com/seonwooj0810) made their first contribution in [netty/netty#17140](https://redirect.github.com/netty/netty/pull/17140)
> * [`@​renechoi`](https://github.com/renechoi) made their first contribution in [netty/netty#17191](https://redirect.github.com/netty/netty/pull/17191)

... (truncated)


Commits

* [`e0789d3`](netty/netty@e0789d3) [maven-release-plugin] prepare release netty-4.2.17.Final
* [`1b5abc6`](netty/netty@1b5abc6) Merge changes from forks ([#17213](https://redirect.github.com/netty/netty/issues/17213))
* [`36fbf57`](netty/netty@36fbf57) Update surefire plugin to latest version ([#17210](https://redirect.github.com/netty/netty/issues/17210))
* [`a96226c`](netty/netty@a96226c) Add `.editorconfig` to enforce consistent coding style ([#17052](https://redirect.github.com/netty/netty/issues/17052))
* [`14a4e6a`](netty/netty@14a4e6a) OpenSSL: Allow to obtain used named group via OpenSslSession ([#17058](https://redirect.github.com/netty/netty/issues/17058))
* [`26255b1`](netty/netty@26255b1) Weakly reference engines from the OpenSSL engine map ([#17199](https://redirect.github.com/netty/netty/issues/17199))
* [`ae41417`](netty/netty@ae41417) `HttpServerCodec`: do not consume the method queue for 1xx interim responses ...
* [`41f1db5`](netty/netty@41f1db5) Do not write WebSocket handshake response to the tail of the pipeline ([#17192](https://redirect.github.com/netty/netty/issues/17192))
* [`035d76e`](netty/netty@035d76e) Update compress-lzf to 1.2.1 ([#17194](https://redirect.github.com/netty/netty/issues/17194))
* [`7681aff`](netty/netty@7681aff) Fix JdkZlibDecompressor losing the tail of highly compressible streams ([#17191](https://redirect.github.com/netty/netty/issues/17191))
* Additional commits viewable in [compare view](netty/netty@netty-4.2.16.Final...netty-4.2.17.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 normanmaurer removed the needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. label Oct 16, 2026
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
…sponses (netty#17182) (netty#17203)

Resolves netty#17181.

`HttpClientCodec` and `HttpContentEncoder`, but `HttpServerCodec` was
left out.

`isContentAlwaysEmpty(HttpResponse)` in `HttpServerCodec` polls the
request method queue for every response it encodes:

```java
@OverRide
protected boolean isContentAlwaysEmpty(HttpResponse msg) {
    methodFlag = pollMethod();
    return methodFlag == METHOD_FLAG_HEAD || super.isContentAlwaysEmpty(msg);
}
```

It is invoked for every `HttpResponse` on both encoder paths —
`encodeFullHttpMessage()` and `encodeInitHttpMessage()` in
`HttpObjectEncoder`. An interim response is not the final response to
the queued request, so consuming an entry shifts the queue by one and
the wrong method gets paired with the final response.

Both failure modes are reachable from first-party handlers:
`HttpServerExpectContinueHandler` and `HttpObjectAggregator` write `100
Continue` through this encoder.

Skip `pollMethod()` when the response status class is `INFORMATIONAL`
and delegate to the super method, mirroring the guard already present in
`isContentAlwaysEmpty(HttpMessage)` in `HttpClientCodec`.

`methodFlag` is intentionally left untouched on the interim path.
`sanitizeHeadersBeforeEncode()` reads it for the CONNECT check, but that
branch also requires `codeClass() == SUCCESS`, which a 1xx response
never satisfies.

Interim responses no longer shift the method queue, so HEAD and CONNECT
are paired with their own final response.

Encoder output for the two broken cases, measured with the tests added
here:

| scenario | before | after |
|---|---|---|
| `HEAD /a`, then `103`, then final `200 OK` with content | `HTTP/1.1
200 OK\r\ncontent-length: 4\r\n\r\nbody` | `HTTP/1.1 200
OK\r\ncontent-length: 4\r\n\r\n` |
| pipelined `GET /a` + `HEAD /b`, then `103`, then `/a`'s `200 OK` with
content | `HTTP/1.1 200 OK\r\ncontent-length: 6\r\n\r\n` | `HTTP/1.1 200
OK\r\ncontent-length: 6\r\n\r\nbody-a` |
| `HEAD /` with `Upgrade`, then `101` | `HTTP/1.1 101 Switching
Protocols\r\nconnection: upgrade\r\nupgrade: websocket\r\n\r\n` |
unchanged |

The first row is a HEAD response carrying a body, which per RFC 9110
section 9.3.2 must never happen — on a keep-alive connection the peer
reads those bytes as the start of the next response. The second is a
non-HEAD response losing its body while keeping `Content-Length`,
leaving the peer waiting for six bytes that never arrive.

Sequential request/response traffic recovers on its own, since an empty
queue falls back to `METHOD_FLAG_OTHER`. Corruption needs either a 1xx
preceding a HEAD response, or pipelining combined with a 1xx.

101 is included in `INFORMATIONAL` and is therefore covered by the
guard, with no change on the wire. After switching protocols the codec
is removed from the pipeline — by `upgradeFrom()` in `HttpServerCodec`
for h2c, and by `WebSocketServerHandshaker` for WebSocket — so the entry
left behind is discarded together with the handler. The third row above
pins this.

This also corrects CONNECT: previously a 1xx could consume the CONNECT
entry, so the final 2xx response missed the `Transfer-Encoding`
stripping in `sanitizeHeadersBeforeEncode()`.

`codec-http` passes in full: 8973 tests, 0 failures.

Co-authored-by: Norman Maurer <[email protected]>

---------

Co-authored-by: HwangRock <[email protected]>
Co-authored-by: Chris Vest <[email protected]>
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.

HttpServerCodec: 1xx interim responses consume the HEAD method queue, misaligning subsequent responses

4 participants