Skip to content

Fix voidPromise in Http2FrameCodec.writeHeadersFrame#13958

Merged
chrisvest merged 1 commit intonetty:4.1from
yawkat:http2-void
Apr 9, 2024
Merged

Fix voidPromise in Http2FrameCodec.writeHeadersFrame#13958
chrisvest merged 1 commit intonetty:4.1from
yawkat:http2-void

Conversation

@yawkat
Copy link
Copy Markdown
Contributor

@yawkat yawkat commented Apr 9, 2024

Motivation:

Writing a Http2HeadersFrame on a new stream with a void promise would throw an IllegalStateException.

Modification:

Unvoid the promise in the code that requires adding a listener.

Result:

No IllegalStateException.

Motivation:

Writing a Http2HeadersFrame on a new stream with a void promise would throw an IllegalStateException.

Modification:

Unvoid the promise in the code that requires adding a listener.

Result:

No IllegalStateException.
@chrisvest chrisvest merged commit 33ed825 into netty:4.1 Apr 9, 2024
@chrisvest chrisvest added this to the 4.1.109.Final milestone Apr 9, 2024
@chrisvest
Copy link
Copy Markdown
Member

Thanks!

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