diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/yahns/openssl_client.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/yahns/openssl_client.rb b/lib/yahns/openssl_client.rb index cd7d210..f896acd 100644 --- a/lib/yahns/openssl_client.rb +++ b/lib/yahns/openssl_client.rb @@ -93,6 +93,10 @@ module Yahns::OpenSSLClient # :nodoc: rv end + def shutdown # we never call this with a how=SHUT_* arg + @ssl.sysclose + end + def close @ssl.close # flushes SSLSocket super # IO#close |