Skip to content

Auto-port 4.1: Fix HTTP/2 push frame test#16353

Merged
normanmaurer merged 1 commit into
4.1from
auto-port-pr-16343-to-4.1
Feb 25, 2026
Merged

Auto-port 4.1: Fix HTTP/2 push frame test#16353
normanmaurer merged 1 commit into
4.1from
auto-port-pr-16343-to-4.1

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #16343 to 4.1
Cherry-picked commit: bb5f61b


Motivation:
The test fails on macOS because the server gets bound to the "any" address, and then returns that as its local address, which is correct but not something the client can connect to directly.

Modification:
Make the server only bind to localhost, which clients can connect to directly. This also prevents the test from temporarily exposing a port to the local network.

Result:
Test now passing on macOS.

Motivation:
The test fails on macOS because the server gets bound to the "any"
address, and then returns that as its local address, which is correct
but not something the client can connect to directly.

Modification:
Make the server only bind to localhost, which clients _can_ connect to
directly. This also prevents the test from temporarily exposing a port
to the local network.

Result:
Test now passing on macOS.

(cherry picked from commit bb5f61b)
@normanmaurer normanmaurer added this to the 4.1.132.Final milestone Feb 25, 2026
@normanmaurer normanmaurer merged commit eda631f into 4.1 Feb 25, 2026
19 checks passed
@normanmaurer normanmaurer deleted the auto-port-pr-16343-to-4.1 branch February 25, 2026 09:25
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.

3 participants