aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-07-09 16:18:09 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-07-09 16:18:09 +0900
commitfa67268bffd03a49da6bd59511090fc35c324b8f (patch)
treedd875905ea911f06660ac8636222c1343256fbc3 /lib
parent1b8bcdb1dc06626a285859570a1e67037df47d8e (diff)
parentf1aefdcb9e9a591fbca84e41f3121e0cdf93f431 (diff)
downloadruby-openssl-fa67268bffd03a49da6bd59511090fc35c324b8f.tar.gz
Merge branch 'topic/doc-ssl-sync-close'
* topic/doc-ssl-sync-close: Document OpenSSL::SSL::SSLSocket#sync_close
Diffstat (limited to 'lib')
-rw-r--r--lib/openssl/ssl.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/openssl/ssl.rb b/lib/openssl/ssl.rb
index 1c0ca94d..9cac6925 100644
--- a/lib/openssl/ssl.rb
+++ b/lib/openssl/ssl.rb
@@ -249,7 +249,11 @@ module OpenSSL
end
attr_reader :io, :context
+
+ # Whether to close the underlying socket as well, when the SSL/TLS
+ # connection is shut down. This defaults to +false+.
attr_accessor :sync_close
+
alias :to_io :io
# call-seq: