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

Update HTTP server to make host configurable #1748

Merged
merged 2 commits into from
Jun 24, 2024
Merged

Update HTTP server to make host configurable #1748

merged 2 commits into from
Jun 24, 2024

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Jun 18, 2024

Resolves #1735

By default http.server binds to 0.0.0.0. To support IPv6, you can specify --host="::".

Defaulting to :: breaks integration tests, as it requires Docker to enable IPv6 support. Making the host configurable seems like a better solution.

@mattt mattt requested a review from technillogue June 18, 2024 11:41
@mattt mattt mentioned this pull request Jun 18, 2024
@mattt mattt marked this pull request as ready for review June 20, 2024 14:34
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@mattt mattt changed the title Update HTTP server to listen on all available IPv6 addresses Update HTTP server to make host configurable Jun 22, 2024
@mattt mattt merged commit c08e04a into main Jun 24, 2024
14 of 15 checks passed
@mattt mattt deleted the mattt/ipv6 branch June 24, 2024 10:04
This was referenced Jun 24, 2024
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.

Use cog with IPv6
1 participant