Permalink
Browse files

Added open timeout

  • Loading branch information...
1 parent 258bd89 commit 99e021ade25b08e5a80a1fedce6984937df9cddf @jwood jwood committed with troelskn May 18, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/handsoap/http/drivers/net_http_driver.rb
@@ -32,6 +32,7 @@ def send_http_request(request)
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'

0 comments on commit 99e021a

Please sign in to comment.