svn commit: r242033 - stable/7/lib/libfetch

Eitan Adler eadler at FreeBSD.org
Thu Oct 25 03:11:19 UTC 2012


Author: eadler
Date: Thu Oct 25 03:11:18 2012
New Revision: 242033
URL: http://svn.freebsd.org/changeset/base/242033

Log:
  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)

Modified:
  stable/7/lib/libfetch/http.c
Directory Properties:
  stable/7/lib/libfetch/   (props changed)

Modified: stable/7/lib/libfetch/http.c
==============================================================================
--- stable/7/lib/libfetch/http.c	Thu Oct 25 03:11:18 2012	(r242032)
+++ stable/7/lib/libfetch/http.c	Thu Oct 25 03:11:18 2012	(r242033)
@@ -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


More information about the svn-src-stable-7 mailing list