diff options
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r-- | lib/net/http.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 71b554e03..c19064bf6 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -486,6 +486,11 @@ module Net #:nodoc: @enable_post_connection_check = true @compression = nil @sspi_enabled = false + if defined?(SSL_ATTRIBUTES) + SSL_ATTRIBUTES.each do |name| + instance_variable_set "@#{name}", nil + end + end end def inspect |