lib/handsoap/http/drivers/net_http_driver.rb in handsoap-1.1.7 vs lib/handsoap/http/drivers/net_http_driver.rb in handsoap-1.1.8
- old
+ new
@@ -30,9 +30,10 @@
end
http_client = Net::HTTP.new(url.host, url.port)
#http_client.read_timeout = 120
+ http_client.open_timeout = Handsoap.timeout
http_client.read_timeout = Handsoap.timeout
http_client.use_ssl = true if url.scheme == 'https'
if request.username && request.password