]> git.kaiwu.me - nginx.git/commit
Upstream: improved subrequest logging.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 2 Dec 2014 02:54:54 +0000 (05:54 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 2 Dec 2014 02:54:54 +0000 (05:54 +0300)
commit10345663c8d7d011ae186fb22d5fdf9a1912b80d
treea50705318cf3dffcf9cd703e7e3f9898e22f8326
parent778cc4b42ea85e19a8ebf6c1a42fc636e48ec309
Upstream: improved subrequest logging.

To ensure proper logging make sure to set current_request in all event
handlers, including resolve, ssl handshake, cache lock wait timer and
aio read handlers.  A macro ngx_http_set_log_request() introduced to
simplify this.
src/http/ngx_http_file_cache.c
src/http/ngx_http_request.c
src/http/ngx_http_request.h
src/http/ngx_http_upstream.c