Mercurial > hg > nginx
comparison src/core/ngx_palloc.c @ 9269:4eb02e5ddb48
Core: added realpath() checking when testing PID files.
This ensures that if the PID file path is changed, yet resolves to the
same file via symbolic links, trying to recreate the PID file won't
remove it. In particular, this resolves issues as observed on Linux
systems with "/var/run/nginx.pid" changed to "/run/nginx.pid".
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 13 May 2024 06:13:12 +0300 |
parents | ad2360782ecd |
children |
comparison
equal
deleted
inserted
replaced
9268:6a3ee145d0b5 | 9269:4eb02e5ddb48 |
---|