Skip to content

Sockets: Warn when local network access not granted. #56023

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

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions stdlib/Sockets/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@ end
catch e
if isa(e, Base.IOError) && Base.uverrorname(e.code) == "EPERM"
@warn "UDP IPv4 broadcast test skipped (permission denied upon send, restrictive firewall?)"
elseif Sys.isapple() && isa(e, Base.IOError) && Base.uverrorname(e.code) == "EHOSTUNREACH"
@warn "UDP IPv4 broadcast test skipped (local network access not granded?)"
else
rethrow()
end
Expand Down