diff options
| author | Vladimir Homutov <vl@nginx.com> | 2015-01-14 09:03:35 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2015-01-14 09:03:35 +0300 |
| commit | 7e1eba5faadaff9a103434dc9472ed321ea98d7e (patch) | |
| tree | 41485479567617c90e63b0f11fff198e9651113f /src/http/ngx_http_upstream.h | |
| parent | 3149ddd32084fd4d1e4545450220ee933acd2fb5 (diff) | |
| download | nginx-7e1eba5faadaff9a103434dc9472ed321ea98d7e.tar.gz nginx-7e1eba5faadaff9a103434dc9472ed321ea98d7e.tar.bz2 | |
Upstream: $upstream_header_time variable.
Keeps time spent on obtaining the header from an upstream server. The value is
formatted similar to the $upstream_response_time variable.
Diffstat (limited to 'src/http/ngx_http_upstream.h')
| -rw-r--r-- | src/http/ngx_http_upstream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h index 9d2ec9345..98d7267b5 100644 --- a/src/http/ngx_http_upstream.h +++ b/src/http/ngx_http_upstream.h @@ -60,6 +60,8 @@ typedef struct { ngx_uint_t status; time_t response_sec; ngx_uint_t response_msec; + time_t header_sec; + ngx_uint_t header_msec; off_t response_length; ngx_str_t *peer; |
