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

Add getFreePort and/or support ":0" and a way to retrieve the picked port #1818

Closed
wilzbach opened this Issue Jul 5, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@wilzbach
Contributor

wilzbach commented Jul 5, 2017

From https://github.com/rejectedsoftware/vibe.d/pull/1816/files#r125536781

I copied the hard-coded port from other tests - how about adding something like getFreePort to Vibe.d?

Or supporting ":0" and providing a way to retrieve the actual listen port.

@s-ludwig s-ludwig added the http label Jul 5, 2017

@dlang-bot dlang-bot closed this in 0aa9240 Sep 15, 2017

dlang-bot added a commit that referenced this issue Sep 15, 2017

Merge pull request #1930 from vibe-d/issue1818_support_any_http_port
Add HTTPListener.bindAddresses to query the actual listen port(s). Fixes #1818.
merged-on-behalf-of: Sönke Ludwig <s-ludwig@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment