Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 03:11:19 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r242034 - stable/8/lib/libfetch
Message-ID:  <201210250311.q9P3BJcl057781@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Thu Oct 25 03:11:18 2012
New Revision: 242034
URL: http://svn.freebsd.org/changeset/base/242034

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/8/lib/libfetch/http.c
Directory Properties:
  stable/8/lib/libfetch/   (props changed)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210250311.q9P3BJcl057781>