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 a247faf..5000d9c 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