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 (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:
gotoyuzo 2007-12-18 13:57:48 +00:00
parent 06591ad6b1
commit bd67956690
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue Dec 18 22:51:47 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#shutdown):
new method which calls TCPSocket#shutdown of the underlying socket.
Tue Dec 18 22:11:50 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/rss/parser.rb, lib/rss/atom.rb, lib/rss/rss.rb,

View file

@ -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