mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/http.rb (Net::HTTP#initialize): initialize net/https variables to supress syntax warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c1fca24e2
commit
08795f9ceb
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue