mirror of
https://github.com/ruby/ruby.git
synced 2025-09-22 20:14:02 +02:00
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#shutdown):
new method which calls TCPSocket#shutdown of the underlying socket. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
06591ad6b1
commit
bd67956690
2 changed files with 9 additions and 0 deletions
|
@ -152,6 +152,10 @@ module OpenSSL
|
|||
@svr.listen(backlog)
|
||||
end
|
||||
|
||||
def shutdown(how=Socket::SHUT_RDWR)
|
||||
@svr.listen(how)
|
||||
end
|
||||
|
||||
def accept
|
||||
sock = @svr.accept
|
||||
begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue