]> git.kaiwu.me - nginx.git/commit
Reopening log files code moved to a separate function.
authorValentin Bartenev <vbart@nginx.com>
Sun, 23 Dec 2012 15:36:52 +0000 (15:36 +0000)
committerValentin Bartenev <vbart@nginx.com>
Sun, 23 Dec 2012 15:36:52 +0000 (15:36 +0000)
commita8ffed57510bab2a7143eb81aa3565a4bdcb8678
tree301479cba5e394fb9a5165f4274a037c56ba56b5
parentdf71cd1125390512bbd421b0218b4bbc0e1d5209
Reopening log files code moved to a separate function.

The code refactored in a way to call custom handler that can do appropriate
cleanup work (if any), like flushing buffers, finishing compress streams,
finalizing connections to log daemon, etc..
src/core/ngx_conf_file.c
src/core/ngx_conf_file.h
src/core/ngx_cycle.c
src/http/modules/ngx_http_log_module.c