diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-01-27 17:38:32 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-01-27 17:39:35 -0700 |
commit | 293af10a9bd6acfee58b15c8f5a709f888aead58 (patch) | |
tree | 269d67be6b3adf8d1115f1064e7201474bb9b1e5 | |
parent | cd604d24886a22b4b7eb1a40b2b9d5be8701aca9 (diff) | |
download | mailscripts-293af10a9bd6acfee58b15c8f5a709f888aead58.tar.gz |
gmi2email: die if fail to establish SSL connection
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rwxr-xr-x | gmi2email | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -188,7 +188,7 @@ sub gemini_fetch { PeerHost => $host, PeerPort => $port // 1965, SSL_verify_mode => SSL_VERIFY_NONE - ); + ) or die "while fetching $uri: failed to establish SSL connection\n"; print $cl "$uri\r\n"; my ($status, $meta) = <$cl> =~ /^([0-9]+) (\V+)/; |