summaryrefslogtreecommitdiff
path: root/lib/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/http.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 71b554e035..c19064bf6d 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