From: Willy Tarreau Date: Mon, 3 Jun 2013 13:52:52 +0000 (+0200) Subject: MINOR: defaults: allow REQURI_LEN and CAPTURE_LEN to be redefined X-Git-Tag: v1.5-dev19~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf43f6eb32341ebc1cdab4db42ab08858478aac5;p=thirdparty%2Fhaproxy.git MINOR: defaults: allow REQURI_LEN and CAPTURE_LEN to be redefined Some users want to change these default settings but it was not convenient. --- diff --git a/include/common/defaults.h b/include/common/defaults.h index a247faf741..5000d9c3de 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