diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/yahns/openssl_client.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/yahns/openssl_client.rb b/lib/yahns/openssl_client.rb index e4e76c9..619e316 100644 --- a/lib/yahns/openssl_client.rb +++ b/lib/yahns/openssl_client.rb @@ -34,6 +34,8 @@ module Yahns::OpenSSLClient # :nodoc: return :wait_readable rescue IO::WaitWritable return :wait_writable + rescue OpenSSL::SSL::SSLError + return nil end @need_accept = false end |