Mercurial > hg > nginx
view contrib/README @ 8102:49e7db44b57c
SSI: handling of subrequests from other modules (ticket #1263).
As the SSI parser always uses the context from the main request for storing
variables and blocks, that context should always exist for subrequests using
SSI, even though the main request does not necessarily have SSI enabled.
However, `ngx_http_get_module_ctx(r->main, ...)` is getting NULL in such cases,
resulting in the worker crashing SIGSEGV when accessing its attributes.
This patch links the first initialized context to the main request, and
upgrades it only when main context is initialized.
author | Ciel Zhao <i@ciel.dev> |
---|---|
date | Mon, 21 Nov 2022 17:01:34 +0300 |
parents | 1bdf906bba99 |
children |
line wrap: on
line source
geo2nginx.pl by Andrei Nigmatulin The perl script to convert CSV geoip database ( free download at http://www.maxmind.com/app/geoip_country ) to format, suitable for use by the ngx_http_geo_module. unicode2nginx by Maxim Dounin The perl script to convert unicode mappings ( available at http://www.unicode.org/Public/MAPPINGS/ ) to the nginx configuration file format. Two generated full maps for windows-1251 and koi8-r. vim by Evan Miller Syntax highlighting of nginx configuration for vim, to be placed into ~/.vim/.