diff --git a/ChangeLog b/ChangeLog index 394d679687..eba688385c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 18 22:51:47 2007 GOTOU Yuuzou + + * 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 * lib/rss/parser.rb, lib/rss/atom.rb, lib/rss/rss.rb, diff --git a/ext/openssl/lib/openssl/ssl.rb b/ext/openssl/lib/openssl/ssl.rb index 63d6690eb4..59dbea2f5d 100644 --- a/ext/openssl/lib/openssl/ssl.rb +++ b/ext/openssl/lib/openssl/ssl.rb @@ -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