]> git.kaiwu.me - nginx.git/commit
Syslog: enabled logging of send errors.
authorVladimir Homutov <vl@nginx.com>
Mon, 1 Sep 2014 13:55:07 +0000 (17:55 +0400)
committerVladimir Homutov <vl@nginx.com>
Mon, 1 Sep 2014 13:55:07 +0000 (17:55 +0400)
commitd79cbf15e6ba119767d2a035047ff67c19465961
tree9e363552e99868e815615f9ae419c65f42a632c1
parentbba2ce8aae96cfc81fa338dde1675397dd3bed4c
Syslog: enabled logging of send errors.

The ngx_cycle->log is used when sending the message.  This allows to log syslog
send errors in another log.

Logging to syslog after its cleanup handler has been executed was prohibited.
Previously, this was possible from ngx_destroy_pool(), which resulted in error
messages caused by attempts to write into the closed socket.

The "processing" flag is renamed to "busy" to better match its semantics.
src/core/ngx_syslog.c
src/core/ngx_syslog.h