1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/xmlrpc/client.rb (module XMLRPC): fix typo.

* test/xmlrpc/test_client.rb (test_async_call): add test for
  XMLRPC::Client#call_async to check above fix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2012-03-07 13:45:04 +00:00
parent 075d98c7dc
commit 0c8ae91651
3 changed files with 41 additions and 2 deletions

View file

@ -526,7 +526,7 @@ module XMLRPC
if async
# use a new HTTP object for each call
http = net_http.new(@host, @port, @proxy_host, @proxy_port)
http = net_http(@host, @port, @proxy_host, @proxy_port)
http.use_ssl = @use_ssl if @use_ssl
http.read_timeout = @timeout
http.open_timeout = @timeout