Skip to content

Commit f8fedc8

Browse files
committed
One more case to highlight in status message
1 parent 04810a0 commit f8fedc8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/LWP/Protocol/http.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ sub _new_socket
4343
my $status = "Can't connect to $host:$port";
4444
if ($@ =~ /\bconnect: (.*)/ ||
4545
$@ =~ /\b(Bad hostname)\b/ ||
46-
$@ =~ /\b(certificate verify failed)\b/
46+
$@ =~ /\b(certificate verify failed)\b/ ||
47+
$@ =~ /\b(Crypt-SSLeay can't verify hostnames)\b/
4748
) {
4849
$status .= " ($1)";
4950
}

0 commit comments

Comments
 (0)