diff src/stream/ngx_stream_upstream.h @ 6201:24488e6db782

Stream: upstream and downstream limit rates.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 23 Jun 2015 20:17:48 +0300
parents fa663739e115
children 6345822f0abb
line wrap: on
line diff
--- a/src/stream/ngx_stream_upstream.h
+++ b/src/stream/ngx_stream_upstream.h
@@ -83,6 +83,7 @@ typedef struct {
     ngx_buf_t                          downstream_buf;
     ngx_buf_t                          upstream_buf;
     off_t                              received;
+    time_t                             start_sec;
 #if (NGX_STREAM_SSL)
     ngx_str_t                          ssl_name;
 #endif