lib/extensions/openssl/openssl/ssl.rb
# call-seq:
#    ssl.sysclose => nil
#
# Sends "close notify" to the peer and tries to shut down the SSL
# connection gracefully.
#
# If sync_close is set to +true+, the underlying IO is also closed.


Sends "close notify" to the peer and tries to shut down the SSL
connection gracefully.

If sync_close is set to +true+, the underlying IO is also closed.
Sends " close notify " to the peer and tries to shut down the SSL connection gracefully . If sync_close is set to + true + the underlying IO is also closed .
def sysclose
        return if closed?
        stop
        io.close if sync_close
      end
def sysclose return if closed? stop io . close if sync_close end
call-seq:
ssl.sysclose => nil
call - seq : ssl . sysclose = > nil