summaryrefslogtreecommitdiff
path: root/src/configfile.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-11-22 19:46:05 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2021-11-22 22:33:05 -0500
commitc378e3ad8ca6a31b0760f127bb31cad25b8b98dd (patch)
tree4050314e24e43ac7a788869bcc625527d221e3b1 /src/configfile.h
parent670b3a395ff6365bc92889d5aafd72e362dc97c2 (diff)
downloadlighttpd-git-c378e3ad8ca6a31b0760f127bb31cad25b8b98dd.tar.gz
[core] allocate pcre output vector on demand
allocate pcre output vector on demand for saved config captures (similar to what is done in lighttpd for pcre2 support)
Diffstat (limited to 'src/configfile.h')
-rw-r--r--src/configfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configfile.h b/src/configfile.h
index a181ee72..794fc936 100644
--- a/src/configfile.h
+++ b/src/configfile.h
@@ -41,6 +41,7 @@ struct data_config {
#elif defined(HAVE_PCRE_H)
void *regex;
struct pcre_extra *regex_study;
+ int ovec_nelts;
#endif
int capture_idx;
int ext;