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

fix: use listen_addresses instead of local_address #1044

Merged
merged 8 commits into from
May 24, 2023
Merged

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented May 23, 2023

We now compute the listen addrs from the local_endpoints. local_endpoints is async and gets inited when the endpoint runs some probes, hence the new fn local_endpoint_addresses also has to be async.

Also a bunch of misc test fixes, such as increasing delays or replacing delays with waiting for the provider to spin up.

listen_addresses are the actual listen addrs.
@rklaehn rklaehn requested review from flub and dignifiedquire May 23, 2023 11:00
@rklaehn rklaehn marked this pull request as ready for review May 23, 2023 11:27
...instead of a fixed delay. Also don't expect all ports to be 4333, just
at least 1.
src/provider/mod.rs Show resolved Hide resolved
tests/cli.rs Show resolved Hide resolved
@rklaehn rklaehn merged commit c4a1890 into x-hp May 24, 2023
@rklaehn rklaehn deleted the x-hp-windows-2 branch May 24, 2023 15:20
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