Module: OpenSSL::SSL::Nonblock
- Included in:
- SSLSocket
- Defined in:
- lib/openssl/ssl.rb
Instance Method Summary collapse
Instance Method Details
#initialize(*args) ⇒ Object
54 55 56 57 58 59 |
# File 'lib/openssl/ssl.rb', line 54 def initialize(*args) flag = File::NONBLOCK flag |= @io.fcntl(Fcntl::F_GETFL, nil) if defined?(Fcntl::F_GETFL) @io.fcntl(Fcntl::F_SETFL, flag) super end |