Skip to content

Use correct port in StreamServer - #67

Merged
rnc merged 1 commit into
Commonjava:masterfrom
dwalluck:fix-stream-server-port
Aug 25, 2026
Merged

Use correct port in StreamServer#67
rnc merged 1 commit into
Commonjava:masterfrom
dwalluck:fix-stream-server-port

Conversation

@dwalluck

Copy link
Copy Markdown
Contributor

StreamServer incorrectly passed the port field instead of the port supplied in the lambda.

`StreamServer` incorrectly passed the port field instead of the port
supplied in the lambda.
@dwalluck
dwalluck requested a review from rnc August 24, 2026 15:57
try
{
Undertow s = Undertow.builder().setHandler( dm.start() ).addHttpListener( port, "127.0.0.1" ).build();
Undertow s = Undertow.builder().setHandler( dm.start() ).addHttpListener( p, "127.0.0.1" ).build();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good spot. Looks like port is set on line 127 by extracting it from foundPort.

@rnc
rnc merged commit 218a323 into Commonjava:master Aug 25, 2026
1 check passed
@dwalluck
dwalluck deleted the fix-stream-server-port branch August 25, 2026 13:58
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