[前][次][番号順一覧][スレッド一覧]

ruby-changes:22838

From: tenderlove <ko1@a...>
Date: Sat, 3 Mar 2012 10:12:33 +0900 (JST)
Subject: [ruby-changes:22838] tenderlove:r34887 (trunk): remove another call to Net::HTTP.version_1_2

tenderlove	2012-03-03 10:12:24 +0900 (Sat, 03 Mar 2012)

  New Revision: 34887

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34887

  Log:
    remove another call to Net::HTTP.version_1_2

  Modified files:
    trunk/lib/xmlrpc/client.rb

Index: lib/xmlrpc/client.rb
===================================================================
--- lib/xmlrpc/client.rb	(revision 34886)
+++ lib/xmlrpc/client.rb	(revision 34887)
@@ -522,7 +522,6 @@
 
       if async
         # use a new HTTP object for each call
-        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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]