diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xmlrpc/client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmlrpc/client.rb b/lib/xmlrpc/client.rb index 5c11d4f38b..54f721fd37 100644 --- a/lib/xmlrpc/client.rb +++ b/lib/xmlrpc/client.rb @@ -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 |