Skip to content

Commit

Permalink
Fixed issue WinRb#6 - Domains without an AAA record / that are not re…
Browse files Browse the repository at this point in the history
…acable fail further lookup tries.
  • Loading branch information
thorsteneckel committed Jul 19, 2017
1 parent a9c0feb commit 29d713e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/autodiscover/pox_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def autodiscover
begin
response = client.http.post(url, request_body, {'Content-Type' => 'text/xml; charset=utf-8'})
return PoxResponse.new(response.body) if good_response?(response)
rescue Errno::ENETUNREACH, Errno::ECONNREFUSED, HTTPClient::ConnectTimeoutError
rescue SocketError, Errno::EHOSTUNREACH, Errno::ENETUNREACH, Errno::ECONNREFUSED, HTTPClient::ConnectTimeoutError
next
rescue OpenSSL::SSL::SSLError
options[:ignore_ssl_errors] ? next : raise
Expand Down

0 comments on commit 29d713e

Please sign in to comment.