You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2020/12/16 16:47:18 UTC

svn commit: r1884510 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Author: jorton
Date: Wed Dec 16 16:47:18 2020
New Revision: 1884510

URL: http://svn.apache.org/viewvc?rev=1884510&view=rev
Log:
* modules/mappers/mod_rewrite.c: Remove unused MAX_COOKIE_LEN.

Submitted by: Bryan Heden <b.heden gmail.com>
Github: closes #147

Modified:
    httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=1884510&r1=1884509&r2=1884510&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Wed Dec 16 16:47:18 2020
@@ -205,10 +205,6 @@ static const char* really_last_key = "re
 #define RAND_MAX 32767
 #endif
 
-/* max cookie size in rfc 2109 */
-/* XXX: not used at all. We should do a check somewhere and/or cut the cookie */
-#define MAX_COOKIE_LEN 4096
-
 /* max line length (incl.\n) in text rewrite maps */
 #ifndef REWRITE_MAX_TXT_MAP_LINE
 #define REWRITE_MAX_TXT_MAP_LINE 1024