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 — Http2: Reserve promised stream for PUSH_PROMISE after local RST_STREAM by normanmaurer · Pull Request #17471 · netty/netty

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Sep 14, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Motivation:

RFC 9113, Section 5.1 requires that an endpoint which already sent
RST_STREAM still minimally process in-flight frames on that stream,
including causing a PUSH_PROMISE's promised stream to become
"reserved (remote)" even though the frame itself is discarded.

Modification:
- DefaultHttp2ConnectionDecoder.onPushPromiseRead returned early via
shouldIgnoreHeadersOrDataFrame() before ever calling
reservePushStream(), so the promised stream was silently never
created when the parent stream had isResetSent() set. This was changed to actual reserve it before discarding it
- Added unit tests

Result:

Follow the RFC more closely

Sorry, something went wrong.

Uh oh!

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

All reactions
@normanmaurer
Http2: Reserve promised stream for PUSH_PROMISE after local RST_STREAM
64a203c
Motivation:

RFC 9113, Section 5.1 requires that an endpoint which already sent
RST_STREAM still minimally process in-flight frames on that stream,
including causing a PUSH_PROMISE's promised stream to become
"reserved (remote)" even though the frame itself is discarded.

Modification:
- DefaultHttp2ConnectionDecoder.onPushPromiseRead returned early via
shouldIgnoreHeadersOrDataFrame() before ever calling
reservePushStream(), so the promised stream was silently never
created when the parent stream had isResetSent() set. This was changed to actual reserve it before discarding it
- Added unit tests

Result:

Follow the RFC more closely
@normanmaurer
normanmaurer force-pushed the rst-promise-10479e6c branch from dd8ac56 to 64a203c Compare September 14, 2026 13:01
@normanmaurer normanmaurer changed the title rst promise 10479e6c Http2: Reserve promised stream for PUSH_PROMISE after local RST_STREAM Sep 14, 2026
@normanmaurer normanmaurer closed this Sep 14, 2026
@normanmaurer
normanmaurer deleted the rst-promise-10479e6c branch September 14, 2026 13:02
@normanmaurer
normanmaurer restored the rst-promise-10479e6c branch September 14, 2026 13:02
@testlens-app

testlens-app Bot commented Sep 14, 2026

Copy link
Copy Markdown

🚨 TestLens detected 2 failed tests 🚨

Here is what you can do:

  1. Inspect the test failures carefully.
  2. If you are convinced that some of the tests are flaky, you can mute them below.
  3. Finally, trigger a rerun by checking the rerun checkbox.

Failed Jobs without Test Failures

❌ Verify native library loading on musl / build-jars-x86_64
❌ Build PR / linux-aarch64-verify-native

Test Summary

Build PR / linux-x86_64-java24 build > Netty/Codec/HTTP2

Test Runs Flakiness
Http2MultiplexCodecTest > unhandledHttp2FramesShouldBePropagated() ❌ 1% 🟡

Build PR / linux-x86_64-java26 build > Netty/Handler/Ssl/Ocsp

Test Runs Flakiness
OcspServerCertificateValidatorTest ❌ 1% 🟡

🏷️ Commit: 64a203c
▶️ Tests: 894614 executed
🟡 Checks: 43/52 completed

Test Failures

Http2MultiplexCodecTest > unhandledHttp2FramesShouldBePropagated() (Netty/Codec/HTTP2 in Build PR / linux-x86_64-java24 build)
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at io.netty.handler.codec.http2.Http2TestUtil.assertEqualsAndRelease(Http2TestUtil.java:549)
	at io.netty.handler.codec.http2.Http2MultiplexTest.unhandledHttp2FramesShouldBePropagated(Http2MultiplexTest.java:558)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.tryRemoveAndExec(ForkJoinPool.java:1434)
	at java.base/java.util.concurrent.ForkJoinPool.helpJoin(ForkJoinPool.java:2198)
	at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:495)
	at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:662)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.tryRemoveAndExec(ForkJoinPool.java:1434)
	at java.base/java.util.concurrent.ForkJoinPool.helpJoin(ForkJoinPool.java:2198)
	at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:495)
	at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:662)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1394)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1970)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
expected actual
true false
OcspServerCertificateValidatorTest (Netty/Handler/Ssl/Ocsp in Build PR / linux-x86_64-java26 build)
java.lang.IllegalStateException: Possible memory leak detected for resource scope 'OcspServerCertificateValidatorTest'. Please use paranoid leak detection to get more information, or set -Dio.netty.util.LeakPresenceDetector.trackCreationStack=true
	at io.netty.util.LeakPresenceDetector$ResourceScope.check(LeakPresenceDetector.java:308)
	at io.netty.util.LeakPresenceDetector$ResourceScope.close(LeakPresenceDetector.java:328)
	at io.netty.util.test.LeakPresenceExtension.afterAll(LeakPresenceExtension.java:140)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1612)

Rerun Controls

Note

Checks are currently running using the configuration below.

Select tests to mute in this pull request:

🔲 Http2MultiplexCodecTest > unhandledHttp2FramesShouldBePropagated()
🔲 OcspServerCertificateValidatorTest

Reuse successful test results:

🔲 ♻️ Only rerun the tests that failed or were muted before

Click the checkbox to trigger a rerun:

🔲 Rerun jobs


Learn more about TestLens at testlens.app/docs.

All reactions

Sorry, something went wrong.

Uh oh!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

1 participant

@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.