From 884e58fc32b28a5820e1f1909368c4707aa58271 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 1 Nov 2012 21:51:30 +0100 Subject: [PATCH] libfetch: Change maximum redirect from 5 to 20 Libfetch gives up a little too soon. Chrome and Firefox allow 20 redirects with IE stops after 8. Taken-from: FreeBSD SVN 241839 (21 OCT 2012) --- lib/libfetch/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index f65e770889..a174cd75d8 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -85,7 +85,7 @@ #include "httperr.h" /* Maximum number of redirects to follow */ -#define MAX_REDIRECT 5 +#define MAX_REDIRECT 20 /* Symbolic names for reply codes we care about */ #define HTTP_OK 200 -- 2.41.0