]> git.kaiwu.me - nginx.git/commit
Syslog: install cleanup handler only once.
authorVladimir Homutov <vl@nginx.com>
Mon, 14 May 2018 19:50:57 +0000 (22:50 +0300)
committerVladimir Homutov <vl@nginx.com>
Mon, 14 May 2018 19:50:57 +0000 (22:50 +0300)
commit5568a6598d7ec830a6759c6ab0419a50b4ab3056
treeaec4e1b191fd244910761b9f0fb417aee81d22a5
parent4ac8036e78aeb95fe85e41d45caf82722f8e2d07
Syslog: install cleanup handler only once.

If a socket was re-opened due to an error (02c2352d5b01 and fa0e093b64d7),
additional cleanup handler was installed each time.
src/core/ngx_syslog.c
src/core/ngx_syslog.h