Skip to content

Commit

Permalink
Revert "Make unsuccessful connect fail rather than die"
Browse files Browse the repository at this point in the history
This reverts commit d7d8e9d.
  • Loading branch information
vrurg committed Jul 9, 2022
1 parent 6c328f1 commit 28fe6b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core.c/IO/Socket/INET.pm6
Expand Up @@ -113,7 +113,6 @@ my class IO::Socket::INET does IO::Socket {
#?endif
}
elsif $!type == SOCK_STREAM {
CATCH { return .Failure }
nqp::connect($PIO, nqp::unbox_s($!host), nqp::unbox_i($!port), nqp::decont_i($!family));
}

Expand Down

0 comments on commit 28fe6b8

Please sign in to comment.