We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
#4221 regression.
[exec] Failure: test_can_create_socket_server_and_client_connected_to_it_and_send_from_client_to_server_using_recvfrom(UNIXSocketTests) [exec] /home/travis/build/jruby/jruby/test/jruby/test_socket.rb:494:in `test_can_create_socket_server_and_client_connected_to_it_and_send_from_client_to_server_using_recvfrom' [exec] 491: cli = UNIXSocket.open(path) [exec] 492: servsock = sock.accept [exec] 493: cli.send("hello",0) [exec] => 494: assert_equal ["hello", ["AF_UNIX", ""]], servsock.recvfrom(5) [exec] 495: servsock.close [exec] 496: cli.close [exec] 497: sock.close [exec] <["hello", ["AF_UNIX", ""]]> expected but was [exec] <["hello", ["AF_UNIX", "��"]]> [exec] [exec] diff: [exec] ? ["hello", ["AF_UNIX", "��"]] [exec] =============================================================================== [exec] Failure: test_can_create_socketpair_and_can_send_from_the_other_with_recvfrom(UNIXSocketTests) [exec] /home/travis/build/jruby/jruby/test/jruby/test_socket.rb:542:in `test_can_create_socketpair_and_can_send_from_the_other_with_recvfrom' [exec] 539: sock1, sock2 = UNIXSocket.socketpair [exec] 540: [exec] 541: sock2.send("hello", 0) [exec] => 542: assert_equal ["hello", ["AF_UNIX", ""]], sock1.recvfrom(5) [exec] 543: [exec] 544: sock2.close [exec] 545: sock1.close [exec] <["hello", ["AF_UNIX", ""]]> expected but was [exec] <["hello", ["AF_UNIX", "# \u0017\u007F"]]> [exec] [exec] diff: [exec] ? ["hello", ["AF_UNIX", "# \u0017\u007F"]] [exec] =============================================================================== [exec] Failure: test_unix_socket_peeraddr(UNIXSocketTests) [exec] /home/travis/build/jruby/jruby/test/jruby/test_socket.rb:334:in `test_unix_socket_peeraddr' [exec] 331: [exec] 332: ssrv = server.accept [exec] 333: [exec] => 334: assert_equal ["AF_UNIX", ""], ssrv.peeraddr [exec] 335: # TODO doesn't work as expected : [exec] 336: pend "UNIXSocket#peeraddr #{cli.peeraddr.inspect} does not include path: #{path.inspect}" [exec] 337: assert_equal ["AF_UNIX", path], cli.peeraddr [exec] <["AF_UNIX", ""]> expected but was [exec] <["AF_UNIX", "��"]> [exec] [exec] diff: [exec] ? ["AF_UNIX", "��"] [exec]
The text was updated successfully, but these errors were encountered:
Fix unnamed sockets support
99cba0b
getsockname/getpeername/accept shouldn't inspect path for unnamed sockets. See https://linux.die.net/man/7/unix Fixes jruby/jruby#4247
7901497
Opened PR with fix in jnr-unixsocket repo.
Sorry, something went wrong.
12447d3
327fe55
No branches or pull requests
#4221 regression.
The text was updated successfully, but these errors were encountered: