class OpenSSL::SSL::SSLContext
Public Instance Methods
original_set_params(params={})
For disabling SSLv3 connection in favor of POODLE Attack protection
Allow 'options' customize through Thread local storage since Net::HTTP does not support 'options' configuration.
Alias for: set_params
set_params(params={})
click to toggle source
# File lib/td/core_ext/openssl/ssl/sslcontext/set_params.rb, line 12 def set_params(params={}) original_set_params(params) self.options |= OP_NO_SSLv3 if Thread.current[:SET_SSL_OP_NO_SSLv3] end
Also aliased as: original_set_params