Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EmbeddedServer.getPort improvement #6290

Merged
merged 2 commits into from
Oct 8, 2021
Merged

EmbeddedServer.getPort improvement #6290

merged 2 commits into from
Oct 8, 2021

Conversation

jameskleeh
Copy link
Contributor

@jameskleeh jameskleeh commented Oct 6, 2021

This is up for discussion. I can definitely see that some folks would prefer to just get the -1 rather than handle an exception

relates to #6085

…m server when its set to bind to a random port and the server hasn't started yet
@graemerocher
Copy link
Contributor

+1 to this change

@jameskleeh jameskleeh merged commit 1e39e55 into 3.1.x Oct 8, 2021
@jameskleeh jameskleeh deleted the get_port_unsupported branch October 8, 2021 17:30
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.

None yet

2 participants