diff options
author | Sébastien Marie <semarie@users.noreply.github.com> | 2015-06-22 16:52:49 +0200 |
---|---|---|
committer | Sébastien Marie <semarie@users.noreply.github.com> | 2015-06-22 16:54:29 +0200 |
commit | 2e5a82bd8af77e44afb01b1c366641511fdd8099 (patch) | |
tree | 5819785c83ed6e86dbf7e91da71a424898c7b88c /httpd/patterns.h | |
parent | a6ac783e163ccffbcd2d28627497a7bb31a9dd3b (diff) | |
download | httpd-2e5a82bd8af77e44afb01b1c366641511fdd8099.tar.gz httpd-2e5a82bd8af77e44afb01b1c366641511fdd8099.zip |
don't do tail-call-recursive every time
- switch '*', '?' and '-' to normal call, in order to pass into "too
complex" check
- remove assert()
- on error, quit early
Diffstat (limited to 'httpd/patterns.h')
-rw-r--r-- | httpd/patterns.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd/patterns.h b/httpd/patterns.h index ddda0dd..28b0f95 100644 --- a/httpd/patterns.h +++ b/httpd/patterns.h @@ -23,7 +23,7 @@ #define PATTERNS_H #define MAXCAPTURES 32 /* Max no. of allowed captures in pattern */ -#define MAXCCALLS 200 /* Max recusion depth in pattern matching */ +#define MAXCCALLS 5000 /* Max recusion depth in pattern matching */ struct str_find { off_t sm_so; /* start offset of match */ |