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.

Reviewed by:	des
Approved by:	cperciva
MFC after:	3 days
This commit is contained in:
Eitan Adler 2012-10-22 03:00:04 +00:00
parent 398de06dcb
commit e6c0e200f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241839

View file

@ -94,7 +94,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