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

Try all ip addresses when establishing a connection #675

Merged
merged 1 commit into from
Feb 20, 2021

Conversation

fredrikekre
Copy link
Member

Try all ip addresses when establishing a connection

Fixes #672
Reenables #428

@fredrikekre fredrikekre force-pushed the fe/alladdr branch 2 times, most recently from 4a57635 to a1a2a76 Compare February 19, 2021 15:11
test/client.jl Outdated
Comment on lines 223 to 224
alladdrs = Sockets.getalladdrinfo("localhost")
if Sockets.ip"127.0.0.1" in alladdrs && Sockets.ip"::1" in alladdrs
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is true on GitHub Actions. Is there a better way of forcing IP adresses that is not the first? Is there an easy way to insert a bad IP for some host?

test/client.jl Outdated Show resolved Hide resolved
@quinnj quinnj merged commit bac8b7d into JuliaWeb:master Feb 20, 2021
@fredrikekre fredrikekre deleted the fe/alladdr branch February 20, 2021 09:09
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.

Unexpected behavior with localhost and readtimeout
2 participants