Skip to content

Commit

Permalink
timeout gets ignored for non-blocking handshakes
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 5, 2012
1 parent bbf7610 commit 44a7e63
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Mojo/IOLoop/Client.pm
Expand Up @@ -98,8 +98,7 @@ sub _connect {
},
SSL_cert_file => $args->{tls_cert},
SSL_key_file => $args->{tls_key},
SSL_verify_mode => 0x00,
Timeout => $timeout
SSL_verify_mode => 0x00
);
$self->{tls} = 1;
return $self->emit_safe(error => 'TLS upgrade failed.')
Expand Down

0 comments on commit 44a7e63

Please sign in to comment.