From: Joe Orton Date: Wed, 16 Dec 2020 16:47:18 +0000 (+0000) Subject: * modules/mappers/mod_rewrite.c: Remove unused MAX_COOKIE_LEN. X-Git-Tag: 2.5.0-alpha2-ci-test-only~1078 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a2ee1acd0a043289b24ec432e7925bd4586b4a8;p=thirdparty%2Fapache%2Fhttpd.git * modules/mappers/mod_rewrite.c: Remove unused MAX_COOKIE_LEN. Submitted by: Bryan Heden Github: closes #147 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1884510 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index 8ce84f44df0..7ce09197ea4 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -205,10 +205,6 @@ static const char* really_last_key = "rewrite_really_last"; #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