Skip to content

Decode netty server frames only after the handshake completes - #8993

Merged
rzo1 merged 1 commit into
apache:masterfrom
GGraziadei:gate-preauth-frame-decoding
Aug 22, 2026
Merged

Decode netty server frames only after the handshake completes#8993
rzo1 merged 1 commit into
apache:masterfrom
GGraziadei:gate-preauth-frame-decoding

Conversation

@GGraziadei

Copy link
Copy Markdown
Member

Summary

  • On worker server pipelines with storm.messaging.netty.authentication enabled, the decoder handles only handshake frames until the handshake completes; other frames close the connection instead of being buffered or deserialized.
  • Handshake frames are bounded in size.
  • Client pipelines, and servers with messaging authentication disabled, keep their current behavior.

Testing

  • mvn -pl storm-client test -DskipITs (631 tests, 0 failures)
  • New MessageDecoderTest covers both pipeline modes, before and after the handshake.

@GGraziadei
GGraziadei force-pushed the gate-preauth-frame-decoding branch from 46d316d to 74b872f Compare August 22, 2026 11:58
@GGraziadei GGraziadei self-assigned this Aug 22, 2026
@GGraziadei GGraziadei added this to the 3.1.0 milestone Aug 22, 2026
@rzo1
rzo1 merged commit ee97546 into apache:master Aug 22, 2026
7 checks passed
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