diff src/http/ngx_http_upstream.h @ 6147:74b6ef56ea56

Upstream: $upstream_connect_time. The variable keeps time spent on establishing a connection with the upstream server.
author Ruslan Ermilov <ru@nginx.com>
date Sat, 16 May 2015 01:32:27 +0300
parents 59fc60585f1e
children 4d5ac1a31d44
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.h	Sat May 16 01:31:04 2015 +0300
+++ b/src/http/ngx_http_upstream.h	Sat May 16 01:32:27 2015 +0300
@@ -59,6 +59,7 @@
 
     ngx_uint_t                       status;
     ngx_msec_t                       response_time;
+    ngx_msec_t                       connect_time;
     ngx_msec_t                       header_time;
     off_t                            response_length;