aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2017-10-17 19:52:16 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2017-10-17 19:52:16 +0300
commit9cb9ce78b1d81ccdbcd123ccc3dab295b836a174 (patch)
treeaed636c361bf82fb68f7f4376b4b572eb0032bf7 /src/http/ngx_http_request.c
parentfdbf551602c3cca974d722ab36caeb191a19746c (diff)
downloadnginx-9cb9ce78b1d81ccdbcd123ccc3dab295b836a174.tar.gz
nginx-9cb9ce78b1d81ccdbcd123ccc3dab295b836a174.zip
Core: free shared memory zones only after reconfiguration.
This is what usually happens for zones no longer used in the new configuration, but zones where size or tag were changed were freed when creating new memory zones. If reconfiguration failed (for example, due to a conflicting listening socket), this resulted in a segmentation fault in the master process. Reported by Zhihua Cao, http://mailman.nginx.org/pipermail/nginx-devel/2017-October/010536.html.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions