]> git.kaiwu.me - nginx.git/commit
Syslog: improved error handling of unix domain sockets.
authorVladimir Homutov <vl@nginx.com>
Tue, 26 Aug 2014 10:56:54 +0000 (14:56 +0400)
committerVladimir Homutov <vl@nginx.com>
Tue, 26 Aug 2014 10:56:54 +0000 (14:56 +0400)
commit27fa3123f917c3af7e914d4a082fe96ef518e6f7
tree8850ca8440688f8cfeead144905cf39fccd0f247
parentd79cbf15e6ba119767d2a035047ff67c19465961
Syslog: improved error handling of unix domain sockets.

If a syslog daemon is restarted and the unix socket is used, further logging
might stop to work.  In case of send error, socket is closed, forcing
a reconnection at the next logging attempt.
src/core/ngx_syslog.c