Subject: | Latest release breaks SSL_VERIFY_NONE |
This code:
my $imap = Mail::IMAPClient->new(Server => $server,
User => $user,
Password => $password,
Ssl => 1,
Socket => IO::Socket::SSL->new (
Proto => 'tcp',
PeerAddr => $server,
PeerPort => 993,
SSL_verify_mode => SSL_VERIFY_NONE,
SSL_ca_file => Mozilla::CA::SSL_ca_file(),
),
) or
die "Cannot connect to $server: $@";
Used to work fine, but with 1.994 the code sits for a long time then times out without establishing a connection. This happens on whatever server I try so it's not a server misconfig