diff src/http/ngx_http_upstream.h @ 6146:59fc60585f1e

Upstream: times to obtain header/response are stored as ngx_msec_t.
author Ruslan Ermilov <ru@nginx.com>
date Sat, 16 May 2015 01:31:04 +0300
parents 79ddb0bdb273
children 74b6ef56ea56
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -58,10 +58,8 @@ typedef struct {
     ngx_uint_t                       bl_state;
 
     ngx_uint_t                       status;
-    time_t                           response_sec;
-    ngx_uint_t                       response_msec;
-    time_t                           header_sec;
-    ngx_uint_t                       header_msec;
+    ngx_msec_t                       response_time;
+    ngx_msec_t                       header_time;
     off_t                            response_length;
 
     ngx_str_t                       *peer;