Skip to content

testservers: restrict h2/3 port reuse - #23208

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:testserver-port-reuse
Closed

icing wants to merge 1 commit into
curl:masterfrom
icing:testserver-port-reuse

Conversation

@icing

@icing icing commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Tracked down the spurious failures with HTTP/2+3 with runtests.pl that show nghttpx refusing to start when the port was already in use.

Add reuse flag to getfreeport() to mitigate this. Disallowing reuse for h2+3.

Tracked down the spurious failures with HTTP/2+3 with runtests.pl
that show nghttpx refusing to start when the port was already in use.

Add reuse flag to `getfreeport()` to mitigate this. Disallowing reuse
for h2+3.
@github-actions github-actions Bot added the tests label Oct 1, 2026
@icing
icing requested a review from vszakats October 1, 2026 08:31
@vszakats vszakats closed this in 9be300c Oct 1, 2026
@vszakats

vszakats commented Oct 1, 2026

Copy link
Copy Markdown
Member

Nice find, thanks!

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

Labels

Development

Successfully merging this pull request may close these issues.

2 participants