diff --git a/ext/openssl/lib/openssl/ssl.rb b/ext/openssl/lib/openssl/ssl.rb index 59dbea2f5d..3a4735ff77 100644 --- a/ext/openssl/lib/openssl/ssl.rb +++ b/ext/openssl/lib/openssl/ssl.rb @@ -153,7 +153,7 @@ module OpenSSL end def shutdown(how=Socket::SHUT_RDWR) - @svr.listen(how) + @svr.shutdown(how) end def accept