aboutsummaryrefslogtreecommitdiff
path: root/httpd/patterns.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@esdenera.com>2015-06-23 13:15:49 +0200
committerReyk Floeter <reyk@esdenera.com>2015-06-23 13:15:49 +0200
commitd0ff6c5d27b28a2a77e9411a929f500c79e647f8 (patch)
tree06cad3a063b128c6fc7d2377750863e30b383f6e /httpd/patterns.h
parent27068d85acf018899883abbeb23abcefe48ded1f (diff)
parent3873b23c53de31074d294d127077e691662150c2 (diff)
downloadhttpd-d0ff6c5d27b28a2a77e9411a929f500c79e647f8.tar.gz
httpd-d0ff6c5d27b28a2a77e9411a929f500c79e647f8.zip
Merge branch 'experiment-2' into patterns
Diffstat (limited to 'httpd/patterns.h')
-rw-r--r--httpd/patterns.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/httpd/patterns.h b/httpd/patterns.h
index 28b0f95..6db5991 100644
--- a/httpd/patterns.h
+++ b/httpd/patterns.h
@@ -23,7 +23,8 @@
#define PATTERNS_H
#define MAXCAPTURES 32 /* Max no. of allowed captures in pattern */
-#define MAXCCALLS 5000 /* Max recusion depth in pattern matching */
+#define MAXCCALLS 200 /* Max recusion depth in pattern matching */
+#define MAXREPETITION 0xfffff /* Max for repetition items */
struct str_find {
off_t sm_so; /* start offset of match */