From 1155009db6ac9b472c2ef6e52f42689567b0d424 Mon Sep 17 00:00:00 2001 From: eadler Date: Thu, 25 Oct 2012 03:11:18 +0000 Subject: [PATCH] MFC r241839: Be a bit more lenient in the maximum number of redirects allowed. Chrome and Firefox have a limit of 20. IE has a limit of 8. Approved by: cperciva (implicit) git-svn-id: svn://svn.freebsd.org/base/stable/9@242032 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- 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 f6e063aa7..5c3001c86 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -86,7 +86,7 @@ __FBSDID("$FreeBSD$"); #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.45.0