Skip to content

Auto-port 4.1: Add regression test for close() cascade reentering flush() - #17505

Merged
normanmaurer merged 1 commit into
4.1from
auto-port-pr-17497-to-4.1
Sep 17, 2026
Merged

normanmaurer merged 1 commit into
4.1from
auto-port-pr-17497-to-4.1

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #17497 to 4.1
Cherry-picked commit: 9b96442


Motivation:

The reentrancy fix landed in #17279 already covers this case, since
the inFlush/flushAgain guard in flush() now spans the whole call
rather than just individual iterations.

Modifications:

Result:

Better test coverage

Motivation:

The reentrancy fix landed in #17279 already covers this case, since
the inFlush/flushAgain guard in flush() now spans the whole call
rather than just individual iterations.

Modifications:

- adds the regression test from #17276 to lock in that behavior.

Result:

Better test coverage

(cherry picked from commit 9b96442)
@testlens-app

testlens-app Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: 279045e
▶️ Tests: 382626 executed
⚪️ Checks: 18/18 completed


Learn more about TestLens at testlens.app/docs.

@normanmaurer
normanmaurer merged commit 707791d into 4.1 Sep 17, 2026
19 checks passed
@normanmaurer
normanmaurer deleted the auto-port-pr-17497-to-4.1 branch September 17, 2026 07:09
@normanmaurer normanmaurer added this to the 4.1.139.Final milestone Sep 17, 2026
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
…sh() (netty#17505)

Auto-port of netty#17497 to 4.1
Cherry-picked commit: 9b96442

---
Motivation:

The reentrancy fix landed in netty#17279 already covers this case, since
the inFlush/flushAgain guard in flush() now spans the whole call
rather than just individual iterations.

Modifications:

- adds the regression test from netty#17276 to lock in that behavior.

Result:

Better test coverage

Co-authored-by: Norman Maurer <[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.

2 participants