]> git.kaiwu.me - nginx.git/commit
PCRE2 and PCRE binary compatibility.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 24 Dec 2021 22:07:16 +0000 (01:07 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 24 Dec 2021 22:07:16 +0000 (01:07 +0300)
commit931acbf5bcd550af8613d131f4ba49e22e909efb
tree546ca4eff7cdd6918e2efb5283eb60c96c0f30c5
parentc6fec0b027569a4e0b1d8aaee7dea0f2e4d6052b
PCRE2 and PCRE binary compatibility.

With this change, dynamic modules using nginx regex interface can be used
regardless of the variant of the PCRE library nginx was compiled with.

If a module is compiled with different PCRE library variant, in case of
ngx_regex_exec() errors it will report wrong function name in error
messages.  This is believed to be tolerable, given that fixing this will
require interface changes.
src/core/ngx_regex.c
src/core/ngx_regex.h