]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: defaults: allow REQURI_LEN and CAPTURE_LEN to be redefined
authorWilly Tarreau <w@1wt.eu>
Mon, 3 Jun 2013 13:52:52 +0000 (15:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 Jun 2013 08:30:09 +0000 (10:30 +0200)
Some users want to change these default settings but it was not
convenient.

include/common/defaults.h

index a247faf74116465e7512e86f231598ca857c74a3..5000d9c3debc929f0b36023b703aaf453e6cbb5f 100644 (file)
 #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