svn commit: r241839 - head/lib/libfetch
Eitan Adler
eadler at FreeBSD.org
Mon Oct 22 03:00:05 UTC 2012
Author: eadler
Date: Mon Oct 22 03:00:04 2012
New Revision: 241839
URL: http://svn.freebsd.org/changeset/base/241839
Log:
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
Modified:
head/lib/libfetch/http.c
Modified: head/lib/libfetch/http.c
==============================================================================
--- head/lib/libfetch/http.c Mon Oct 22 02:59:59 2012 (r241838)
+++ head/lib/libfetch/http.c Mon Oct 22 03:00:04 2012 (r241839)
@@ -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
More information about the svn-src-all
mailing list