diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-15 01:14:51 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-15 01:14:51 +0000 |
| commit | e60ef9787ca68943b86738f08a94a50cdbe9c692 (patch) | |
| tree | 460414cb5baa591030f20512e3dfa25e0611ccd1 | |
| parent | a803848cc6bf6fc40b413c40f29b3d62e0ed7231 (diff) | |
| download | ruby-e60ef9787ca68943b86738f08a94a50cdbe9c692.tar.gz ruby-e60ef9787ca68943b86738f08a94a50cdbe9c692.tar.xz ruby-e60ef9787ca68943b86738f08a94a50cdbe9c692.zip | |
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):
add do_not_reverse_lookup.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | ext/openssl/lib/openssl/ssl.rb | 7 |
2 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Mar 15 10:14:51 2004 GOTOU Yuuzou <gotoyuzo@notwork.org> + + * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder): + add do_not_reverse_lookup. + Sun Mar 14 22:07:38 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> * eval.c (rb_thread_raise): err at unstarted thread. (PR#1302) diff --git a/ext/openssl/lib/openssl/ssl.rb b/ext/openssl/lib/openssl/ssl.rb index 811a93550..f63ff7cc9 100644 --- a/ext/openssl/lib/openssl/ssl.rb +++ b/ext/openssl/lib/openssl/ssl.rb @@ -14,7 +14,8 @@ $Id$ =end -require 'openssl/buffering' +require "openssl" +require "openssl/buffering" module OpenSSL module SSL @@ -42,6 +43,10 @@ module OpenSSL def closed? to_io.closed? end + + def do_not_reverse_lookup=(flag) + to_io.do_not_reverse_lookup = flag + end end class SSLSocket |
