Skip to content

Commit

Permalink
no need to handle IO::Socket::IP differently anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 22, 2016
1 parent 7417da0 commit c686b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop/Client.pm
Expand Up @@ -96,7 +96,7 @@ sub _ready {

# Socket changes in between attempts and needs to be re-added for epoll/kqueue
my $handle = $self->{handle};
if ($handle->isa('IO::Socket::IP') && !$handle->connect) {
unless ($handle->connect) {
return $self->emit(error => $!) unless $! == EINPROGRESS;
$self->reactor->remove($handle);
return $self->_wait($handle, $args);
Expand Down

0 comments on commit c686b11

Please sign in to comment.