MINOR: defaults: allow REQURI_LEN and CAPTURE_LEN to be redefined

Some users want to change these default settings but it was not
convenient.
This commit is contained in:
Willy Tarreau 2013-06-03 15:52:52 +02:00
parent 6f1615f596
commit bf43f6eb32

View File

@ -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