diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-11-22 19:46:05 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-11-22 22:33:05 -0500 |
commit | c378e3ad8ca6a31b0760f127bb31cad25b8b98dd (patch) | |
tree | 4050314e24e43ac7a788869bcc625527d221e3b1 /src/configfile.h | |
parent | 670b3a395ff6365bc92889d5aafd72e362dc97c2 (diff) | |
download | lighttpd-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.h | 1 |
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; |