GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix direct memory OOM on low-core containers by franz1981 · Pull Request #17166 · netty/netty

Conversation

@franz1981

@franz1981 franz1981 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Motivation:

PR #16766 introduced SHARED_CACHE_CAPACITY = max(128, CHUNK_REUSE_QUEUE * 2) to prevent chunk churn. On 1-core containers where CHUNK_REUSE_QUEUE is 2, the 128-slot floor allows each of the 16 size classes to retain up to 128 chunks of ~128 KB, totalling 256 MB of direct memory in caches alone.

On JDK 21 without -Dio.netty.tryReflectionSetAccessible=true, Netty allocates direct chunks via ByteBuffer.allocateDirect(), tracked against MaxDirectMemorySize. The cache capacity can exhaust the entire direct memory budget, causing OOM as reported in #17107.

Additionally, IS_LOW_MEM (triggered when Runtime.maxMemory() <= 512 MB) uses heap budget as a proxy for native memory availability, which is wrong for off-heap workloads. There is no override for users who know their environment better than the heuristic.

Modification:

  • Reduce the SHARED_CACHE_CAPACITY floor from 128 to 16.
  • Add io.netty.allocator.lowMemory system property to override IS_LOW_MEM auto-detection, following the precedent of the existing disableThreadLocalMagazinesOnLowMemory property.

Result:

Worst-case cache retention drops from 256 MB to 32 MB on 1-4 core machines. The CHUNK_REUSE_QUEUE * 2 formula still governs on 8+ cores (128 on 32 cores — same as before). The floor of 16 is 8x the pre-#16766 capacity on 1-core, so the original chunk churn problem does not regress. Users can force IS_LOW_MEM on or off via -Dio.netty.allocator.lowMemory.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@franz1981

franz1981 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

@topEngineerRay FYI

I think you can try both options:

  1. compile this and try it on your env to see if it helped, without changing anything on your side
  2. same but set -Dio.netty.allocator.lowMemory=false

In both case on JDK 21 you need

-Dio.netty.tryReflectionSetAccessible=true
  --add-opens java.base/java.nio=ALL-UNNAMED

in order to allow malloc/free to be used from Unsafe without relying on GC which with such low core amount and memory, is pretty dangerous!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franz1981
franz1981 requested a review from chrisvest July 28, 2026 15:11
@franz1981

franz1981 commented Jul 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

@chrisvest I would like @topEngineerRay to try the 2 options first, because lowering SHARED_CACHE_CAPACITY risk to hit again #16766 tried to solve as the capacity in the shared q become too few and we risk to churn badly relying to malloc/free because of the scarse capacity.

FYi this is how the shared capacity change with this PR

  ┌───────┬──────────────────────────┬────────────────────────┬──────────┐
  │ Cores │ Before (max(128, CRQ*2)) │ After (max(32, CRQ*2)) │  Change  │
  ├───────┼──────────────────────────┼────────────────────────┼──────────┤
  │ 1     │ max(128, 4) = 128        │ max(32, 4) = 32        │ 128 → 32 │
  ├───────┼──────────────────────────┼────────────────────────┼──────────┤
  │ 2     │ max(128, 8) = 128        │ max(32, 8) = 32        │ 128 → 32 │
  ├───────┼──────────────────────────┼────────────────────────┼──────────┤
  │ 4     │ max(128, 16) = 128       │ max(32, 16) = 32       │ 128 → 32 │
  ├───────┼──────────────────────────┼────────────────────────┼──────────┤
  │ 8     │ max(128, 32) = 128       │ max(32, 32) = 32       │ 128 → 32 │
  ├───────┼──────────────────────────┼────────────────────────┼──────────┤
  │ 16    │ max(128, 64) = 128       │ max(32, 64) = 64       │ 128 → 64 │
  ├───────┼──────────────────────────┼────────────────────────┼──────────┤
  │ 32    │ max(128, 128) = 128      │ max(32, 128) = 128     │ same     │
  ├───────┼──────────────────────────┼────────────────────────┼──────────┤
  │ 64    │ max(128, 256) = 256      │ max(32, 256) = 256     │ same     │
  └───────┴──────────────────────────┴────────────────────────┴──────────┘

I have some concern that with 4 or 8 cores is too low compared to before.
That's why I don't like magic numbers uff

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franz1981

franz1981 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

I'm checking why the failure, but still - with #17151 there won't be anymore a "shared cache" so the main purpose of this setting is to narrow down the issue from the user.
While the toggle for low memory I think is valuable as is not granted that our ergonomics really work well with xmx < 512 MB as we might expect

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franz1981

franz1981 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Thanks to this lower floor I have captured a failure in the shared chunk cache due to wrap around on the queue due to how I perform the purge. Probably the best way to fix it IS that I'll proceed with #17151 too: i'll attempt a fix regardless as #17151 is a more complex change and it will take some to be reviewed/merged

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franz1981
franz1981 force-pushed the lowmem-toggle branch from 649a095 to cff755d Compare July 28, 2026 22:10
@franz1981

franz1981 commented Jul 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

I'm still investigating the test failures - which looks real.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franz1981
franz1981 force-pushed the lowmem-toggle branch 2 times, most recently from eb39435 to cc1fdf1 Compare July 29, 2026 05:58
@franz1981

franz1981 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

ok @chrisvest the fix is there for @topEngineerRay to try it as explained at #17166 (comment)

In case will work I'll ask him/her to try #17151 as it drop the shared cache and from tests it looks to be way cheaper in memory than 4.2 baseline or this same PR as there's no artificial ceil to the cache live set, but will aggressively purge retaining just 4MB in a shared parking lot.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@topEngineerRay

topEngineerRay commented Jul 30, 2026

Copy link
Copy Markdown

Will do and let you know

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@topEngineerRay

topEngineerRay commented Jul 30, 2026

Copy link
Copy Markdown

@franz1981

compile this and try it on your env to see if it helped, without changing anything on your side

I did not get this one, does it mean to download this branch and test it with our env?

franz1981 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franz1981

franz1981 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Yes @topEngineerRay
If you need any help or clarification let me know 🙏

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franz1981

franz1981 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

@chrisvest I've discovered another OOM on quarkusio/quarkus#55741 (comment)
I'm going to add a commit here for it as well.

chrisvest reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franz1981
Fix direct memory OOM on low-core containers
1b83f89
Motivation:

PR netty#16766 introduced SHARED_CACHE_CAPACITY = max(128, CHUNK_REUSE_QUEUE * 2)
to prevent chunk churn. On 1-core containers where CHUNK_REUSE_QUEUE is 2,
the 128-slot floor allows each of the 16 size classes to retain up to 128
chunks of ~128 KB, totalling 256 MB of direct memory in caches alone.

On JDK 21 without -Dio.netty.tryReflectionSetAccessible=true, Netty
allocates direct chunks via ByteBuffer.allocateDirect(), tracked against
MaxDirectMemorySize. The cache capacity can exhaust the entire direct
memory budget, causing OOM as reported in netty#17107.

Additionally, IS_LOW_MEM (triggered when Runtime.maxMemory() <= 512 MB)
uses heap budget as a proxy for native memory availability, which is wrong
for off-heap workloads. There is no override for users who know their
environment better than the heuristic.

Modification:

- Reduce the SHARED_CACHE_CAPACITY floor from 128 to 16.
- Add io.netty.allocator.lowMemory system property to override IS_LOW_MEM
  auto-detection, following the precedent of the existing
  disableThreadLocalMagazinesOnLowMemory property.
- Fix cacheSettlesAfterBurstShared test to cap excess chunks within
  SHARED_CACHE_CAPACITY, preventing silent drops on the bounded MPMC queue
  when CHUNK_REUSE_QUEUE is large relative to the capacity floor.

Result:

Worst-case cache retention drops from 256 MB to 32 MB on 1-4 core machines.
The CHUNK_REUSE_QUEUE * 2 formula still governs on 8+ cores (same as
before). The floor of 16 is 8x the pre-netty#16766 capacity on 1-core, so
the original chunk churn problem does not regress. Users can force
IS_LOW_MEM on or off via -Dio.netty.allocator.lowMemory.
@franz1981
franz1981 force-pushed the lowmem-toggle branch from 0c160c3 to 69c5d42 Compare July 31, 2026 21:16
@franz1981

franz1981 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

FYI @topEngineerRay 69c5d42 should help your usage as well

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franz1981

franz1981 commented Jul 31, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

@chrisvest I've added 69c5d42 which fix quarkusio/quarkus#55776. The retained floor is still a bit higher compared to 4.2.15 which was relying on the shared chunk queue capacity limit (ie. very very low, causing lot of malloc/free churn).

  ┌─────────────────────────────┬───────────────────────────┐
  │           Version           │ Retained after asyncHttp2 │
  ├─────────────────────────────┼───────────────────────────┤
  │ 4.2.15 (old MPMC queue)     │ 8MB                       │
  ├─────────────────────────────┼───────────────────────────┤
  │ 4.2.16 (unbounded TL cache) │ 1,009MB                   │ <-------- ready to OOM with small heaps!
  ├─────────────────────────────┼───────────────────────────┤
  │ 4.2.16 + cache cap (8MB/sc) │ 23MB                      │
  ├─────────────────────────────┼───────────────────────────┤
  │ Pooled allocator            │ 5.5MB                     │
  └─────────────────────────────┴───────────────────────────┘

And pooled Small retention floor for the pooled chunk was based on a mpmc q sizing which depends on the size class - and was actually very very small, that's why it has such low usedDirectMemory.

As a side note, despite the retained memory of this pr looks still large compared to pooled, it allocate direct memory way less, too;

  ┌───────────────────┬────────────────────────────────────────┬──────────┐
  │     Allocator     │ PlatformDependent.allocateDirect calls │ Retained │
  ├───────────────────┼────────────────────────────────────────┼──────────┤
  │ Adaptive (capped) │ 3,959                                  │ 23MB     │
  ├───────────────────┼────────────────────────────────────────┼──────────┤
  │ Pooled            │ 65,367                                 │ 5.5MB    │
  └───────────────────┴────────────────────────────────────────┴──────────┘

One additional note: the retained direct memory is usedDirectMemory: I'm fully aware that introducing malloc/free churns is not great, but ATM, since we are allocation-driven for purge, we still needs boundaries for idle-after-burst cases or we will end up caching chunks too aggressively.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franz1981 franz1981 mentioned this pull request Jul 31, 2026
OOM regression with Netty 4.2.16 under idle-after-burst load quarkusio/quarkus#55776
Closed
@franz1981
Bound ThreadLocalSizeClassedChunkCache to cap direct memory retention
caede36
Motivation:

Since ThreadLocalSizeClassedChunkCache's purge mechanism is driven by
caches polls and such cache is confined to an event loop thread,
if a workload cause a spike in chunks allocation, but right after,
the same cache is not used anymore (e.g. other size classes are used,
another thread's cache is hit or the same event loop can sustain its
allocation rate using the magazine's current chunk), the cache retain
the full live set blown, even after all the buffers are deallocated.
This is a major design flaw as the allocator is not using the buffer's
release as signal to trigger its purging mechanisms.

Modification:

The easier workaround to this is to limit the amount of in-flight chunks
to a reasonable (but configurable) limit: if the live set exceed such limit,
any new chunks will be immediately marked for deallocation, releasing back
to the OS their memory as it happens.
This is not a definitive solution to this problem, as such ready-to-be-freed
chunks cannot be reused by other allocations before fully deallocated, but at least
it would reduce the retained memory in the cache once the burst is fully released.

Result:

Lower memory retention with idle-after-burst workloads
@franz1981
franz1981 force-pushed the lowmem-toggle branch from 69c5d42 to caede36 Compare July 31, 2026 21:54
@franz1981
franz1981 requested a review from Copilot August 2, 2026 09:14
Copilot started reviewing on behalf of franz1981 August 2, 2026 09:15
View session
Copilot AI reviewed Aug 2, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts AdaptivePoolingAllocator cache sizing and configuration to reduce worst-case direct-memory retention in low-core/container environments, helping avoid MaxDirectMemorySize exhaustion when direct buffers are tracked (e.g., via ByteBuffer.allocateDirect() on newer JDKs).

Changes:

  • Reduce the shared chunk cache capacity floor from 128 to 16 to lower worst-case retained direct memory on low-core machines.
  • Add -Dio.netty.allocator.lowMemory to override low-memory auto-detection (IS_LOW_MEM) behavior.
  • Introduce per-size-class thread-local chunk cache byte limits (max/min) and update tests to reflect the new cache construction/retention behavior.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java Low-memory override via system property, reduced shared cache floor, and new thread-local cache caps/retention floor derived from byte limits.
buffer/src/test/java/io/netty/buffer/SizeClassedChunkCacheTest.java Updates tests for new cache factory signature and adds coverage for thread-local cache rejection when capacity is reached.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java
Comment on lines +141 to +144
* When a size class cache holds this many bytes worth of chunks,
* further offers are rejected and the chunk is marked for immediate deallocation.
* Chunks already in the cache are only evicted by the purge mechanism (they must be full and idle for
* {@link #CHUNK_PURGE_THRESHOLD} consecutive purge cycles).
Comment thread buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java
Comment on lines +146 to +148
static final int THREAD_LOCAL_CACHE_MAX_BYTES = Math.max(1, SystemPropertyUtil.getInt(
"io.netty.allocator.threadLocalChunkCacheMaxBytes", 8 * 1024 * 1024));

Comment thread buffer/src/test/java/io/netty/buffer/SizeClassedChunkCacheTest.java

public class SizeClassedChunkCacheTest {

private static final int TL_CHUNK_SIZE = AdaptivePoolingAllocator.THREAD_LOCAL_CACHE_MAX_BYTES / 8;
@chrisvest
Small test fixes
9832f68
@chrisvest
chrisvest enabled auto-merge (squash) August 2, 2026 20:59
@chrisvest chrisvest added this to the 4.2.17.Final milestone Aug 2, 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 Aug 2, 2026
chrisvest
chrisvest approved these changes Aug 2, 2026
View reviewed changes
@franz1981

franz1981 commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

@chrisvest if you feel you want to have a similar limit (in MB) to the shared mpmc cache, just push that change too.

Personally I consider this patch important till I will complete #17151 which unify both in favor of the thread local one, but will take me more time to have it cooked enough

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest
chrisvest merged commit 6b02a3e into netty:4.2 Aug 2, 2026
23 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@testlens-app

testlens-app Bot commented Aug 2, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: 9832f68
▶️ Tests: 37201 executed
⚪️ Checks: 24/24 completed


Learn more about TestLens at testlens.app.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot

netty-project-bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot

netty-project-bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Auto-port PR for 5.0: #17188

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot netty-project-bot mentioned this pull request Aug 2, 2026
Auto-port 5.0: Fix direct memory OOM on low-core containers #17188
Merged
@github-actions github-actions Bot removed the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Aug 2, 2026
normanmaurer pushed a commit that referenced this pull request Aug 3, 2026
@netty-project-bot @franz1981 @chrisvest
Auto-port 5.0: Fix direct memory OOM on low-core containers (#17188)
126a1ef
Auto-port of #17166 to 5.0
Cherry-picked commit: 6b02a3e

---
Motivation:

PR #16766 introduced SHARED_CACHE_CAPACITY = max(128, CHUNK_REUSE_QUEUE
* 2) to prevent chunk churn. On 1-core containers where
CHUNK_REUSE_QUEUE is 2, the 128-slot floor allows each of the 16 size
classes to retain up to 128 chunks of ~128 KB, totalling 256 MB of
direct memory in caches alone.

On JDK 21 without -Dio.netty.tryReflectionSetAccessible=true, Netty
allocates direct chunks via ByteBuffer.allocateDirect(), tracked against
MaxDirectMemorySize. The cache capacity can exhaust the entire direct
memory budget, causing OOM as reported in #17107.

Additionally, IS_LOW_MEM (triggered when Runtime.maxMemory() <= 512 MB)
uses heap budget as a proxy for native memory availability, which is
wrong for off-heap workloads. There is no override for users who know
their environment better than the heuristic.

Modification:

- Reduce the SHARED_CACHE_CAPACITY floor from 128 to 16.
- Add io.netty.allocator.lowMemory system property to override
IS_LOW_MEM auto-detection, following the precedent of the existing
disableThreadLocalMagazinesOnLowMemory property.

Result:

Worst-case cache retention drops from 256 MB to 32 MB on 1-4 core
machines. The CHUNK_REUSE_QUEUE * 2 formula still governs on 8+ cores
(128 on 32 cores — same as before). The floor of 16 is 8x the pre-#16766
capacity on 1-core, so the original chunk churn problem does not
regress. Users can force IS_LOW_MEM on or off via
-Dio.netty.allocator.lowMemory.

Co-authored-by: Francesco Nigro <[email protected]>
Co-authored-by: Chris Vest <[email protected]>
@chrisvest chrisvest mentioned this pull request Aug 4, 2026
Adaptive allocator backports #17206
Merged
normanmaurer pushed a commit that referenced this pull request Aug 4, 2026
@chrisvest @franz1981
Adaptive allocator backports (#17206)
b8a40d2
Backport #16766 and
#17166 to 4.1

---------

Co-authored-by: Francesco Nigro <[email protected]>
mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request Aug 9, 2026
@mergify
chore(deps): bump io.netty:netty-all from 4.2.16.Final to 4.2.17.Fina…
e1b5757
…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
@mergify
chore(deps): bump netty.version from 4.2.16.Final to 4.2.17.Final [sk…
3b1d3af
…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)
@lhotari lhotari mentioned this pull request Aug 10, 2026
[fix][sec] Upgrade Netty to 4.2.17 to address several CVEs and bugs apache/pulsar#26300
Merged
2 of 11 tasks
This was referenced Aug 20, 2026
Direct pool OOM again with netty 4.2.16 #17107
Closed
Unified StripedHeap model, size-class chunk recycling and allocation-driven purge #17151
Open
@coderabbitai coderabbitai Bot mentioned this pull request Sep 18, 2026
fix(deps): close the amqp-client credential-leak advisory left open on dev OpenResilienceInitiative/ORISO-UserService#1190
Merged
@normanmaurer normanmaurer mentioned this pull request Oct 1, 2026
child5 #17695
Closed
@normanmaurer normanmaurer removed the needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. label Oct 19, 2026
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
@chrisvest @franz1981 @lltopk
Adaptive allocator backports (netty#17206)
07ff267
Backport netty#16766 and
netty#17166 to 4.1

---------

Co-authored-by: Francesco Nigro <[email protected]>
@normanmaurer normanmaurer mentioned this pull request Oct 26, 2026
crisp nova cceda091 #18109
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@chrisvest chrisvest chrisvest approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.2.17.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@franz1981 @topEngineerRay @netty-project-bot @chrisvest @normanmaurer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.