]> git.kaiwu.me - nginx.git/commit
Upstream: revised upstream response time variables.
authorVladimir Homutov <vl@nginx.com>
Wed, 21 Nov 2018 10:40:40 +0000 (13:40 +0300)
committerVladimir Homutov <vl@nginx.com>
Wed, 21 Nov 2018 10:40:40 +0000 (13:40 +0300)
commitc24146731810f2711da608cd7f3bdca528a3eb14
tree44c5ad93afcaf2c9a5b892c89df657eff1dfa2a3
parent0f669b23a84785cdb1891b73d3ecb03a3174ea04
Upstream: revised upstream response time variables.

Variables now do not depend on presence of the HTTP status code in response.
If the corresponding event occurred, variables contain time between request
creation and the event, and "-" otherwise.

Previously, intermediate value of the $upstream_response_time variable held
unix timestamp.
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.h
src/stream/ngx_stream_proxy_module.c
src/stream/ngx_stream_upstream.c
src/stream/ngx_stream_upstream.h