1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/openssl/lib/openssl/ssl.rb (SSLSocket#sync_close=): add a

method to specify if the underlying IO will be closed in
  SSLSocket#close.

* ext/openssl/lib/openssl/buffering.rb: add forwarders to
  setsockopt, getsockopt and fcntl.

* ext/openssl/lib/net/protocols.rb: enable sync for SSLSocket.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gotoyuzo 2003-08-17 08:22:45 +00:00
parent 7544cb3930
commit 39c4886fe7
4 changed files with 28 additions and 3 deletions

View file

@ -42,6 +42,7 @@ module Net
def ssl_connect()
@raw_socket = @socket
@socket = OpenSSL::SSL::SSLSocket.new(@raw_socket, @ssl_context)
@scoket.sync = true
@socket.connect
end