From bf43f6eb32341ebc1cdab4db42ab08858478aac5 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 3 Jun 2013 15:52:52 +0200 Subject: [PATCH] MINOR: defaults: allow REQURI_LEN and CAPTURE_LEN to be redefined Some users want to change these default settings but it was not convenient. --- include/common/defaults.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/common/defaults.h b/include/common/defaults.h index a247faf74..5000d9c3d 100644 --- a/include/common/defaults.h +++ b/include/common/defaults.h @@ -40,8 +40,13 @@ #define MAXREWRITE (BUFSIZE / 2) #endif +#ifndef REQURI_LEN #define REQURI_LEN 1024 +#endif + +#ifndef CAPTURE_LEN #define CAPTURE_LEN 64 +#endif // maximum line size when parsing config #ifndef LINESIZE