Skip to content

Commit

Permalink
remove old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 16, 2015
1 parent 3c42bad commit 11973eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Mojo/IOLoop/Client.pm
Expand Up @@ -94,10 +94,8 @@ sub _port { $_[0]{socks_port} || $_[0]{port} || ($_[0]{tls} ? 443 : 80) }
sub _ready {
my ($self, $args) = @_;

# Retry or handle exceptions
my $handle = $self->{handle};

# 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) {
return $self->emit(error => $!) unless $! == EINPROGRESS;
$self->reactor->remove($handle);
Expand Down

0 comments on commit 11973eb

Please sign in to comment.