diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-03 01:10:37 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-03 01:10:37 +0000 |
commit | 46e293ec0d3a7b6522101d17bb44d76f2ba8b827 (patch) | |
tree | 9f9c29ba5450961519c7410f6431f934c203df3e | |
parent | 5812975fc3dea41ba7260a6cfbdfba9ab0fd0e31 (diff) | |
download | ruby-46e293ec0d3a7b6522101d17bb44d76f2ba8b827.tar.gz |
* lib/xmlrpc/client.rb (initialize): net/http defaults to 1_2 in 1.8+,
so we can safely remove the call to enable it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/xmlrpc/client.rb | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Mar 3 10:09:21 2012 Aaron Patterson <aaron@tenderlovemaking.com> + + * lib/xmlrpc/client.rb (initialize): net/http defaults to 1_2 in 1.8+, + so we can safely remove the call to enable it. + Sat Mar 3 08:42:25 2012 Aaron Patterson <aaron@tenderlovemaking.com> * lib/xmlrpc/client.rb (new2): use URI for uri parsing. diff --git a/lib/xmlrpc/client.rb b/lib/xmlrpc/client.rb index e61d631b16..d4123211d8 100644 --- a/lib/xmlrpc/client.rb +++ b/lib/xmlrpc/client.rb @@ -325,7 +325,6 @@ module XMLRPC @proxy_port = @proxy_port.to_i if @proxy_port != nil # HTTP object for synchronous calls - Net::HTTP.version_1_2 @http = Net::HTTP.new(@host, @port, @proxy_host, @proxy_port) @http.use_ssl = @use_ssl if @use_ssl @http.read_timeout = @timeout |