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

pure numeric values of address families are not useful enough ( IO::Socket::INET.new(:host<http://perl6.o>, :port(42)) ) #6624

Open
p6rt opened this issue Oct 21, 2017 · 1 comment
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Oct 21, 2017

Migrated from rt.perl.org#132335 (status was 'new')

Searchable as RT132335$

@p6rt
Copy link
Author

p6rt commented Oct 21, 2017

From @AlexDaniel

Code​:
IO​::Socket​::INET.new(​:host<http://perl6.o>, :port(42))

¦«2017.09,9dba498f7f^»​:
Failed to resolve host name 'http'. Error​: 'Name or service not known'
  in block <unit> at /tmp/hRNZQdcfV3 line 1
«exit code = 1»

¦«9dba498,HEAD(7cf5ce7)»​:
Failed to resolve host name 'http' with family 0. Error​: 'Name or service not known'
  in block <unit> at /tmp/hRNZQdcfV3 line 1
«exit code = 1»

It says “with family 0” but that may look very weird for unsuspecting users. By the way, 0 is AF_UNSPEC.

“with family …” addition appeared after this rakudo bump​: rakudo/rakudo@9dba498
And here is the important MoarVM commit that was brought by that bump​: MoarVM/MoarVM@d43ea5a8#diff-898921f5583c52e0766ebdcc00cd6492L298

IRC discussion​: https://irclog.perlgeek.de/moarvm/2017-10-21#i_15334051 (culmination here​: https://irclog.perlgeek.de/moarvm/2017-10-21#i_15334114)

@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

1 participant