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:
parent
075d98c7dc
commit
0c8ae91651
3 changed files with 41 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue