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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to