From 5ef7061e83dc75d6ee6fb574f22098acdb5b41e3 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Fri, 23 Nov 2012 23:08:33 +0000 Subject: Increase max-redirections to 5 --- lib/custodian/protocoltest/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian') diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb index f9766b1..8de768d 100644 --- a/lib/custodian/protocoltest/http.rb +++ b/lib/custodian/protocoltest/http.rb @@ -124,7 +124,7 @@ module Custodian begin c = Curl::Easy.new(@url) c.follow_location = true - c.max_redirects = 3 + c.max_redirects = 5 c.timeout = 20 c.perform @status = c.response_code -- cgit v1.2.1