comparison 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
comparison
equal deleted inserted replaced
6200:abee77018d3a 6201:24488e6db782
81 typedef struct { 81 typedef struct {
82 ngx_peer_connection_t peer; 82 ngx_peer_connection_t peer;
83 ngx_buf_t downstream_buf; 83 ngx_buf_t downstream_buf;
84 ngx_buf_t upstream_buf; 84 ngx_buf_t upstream_buf;
85 off_t received; 85 off_t received;
86 time_t start_sec;
86 #if (NGX_STREAM_SSL) 87 #if (NGX_STREAM_SSL)
87 ngx_str_t ssl_name; 88 ngx_str_t ssl_name;
88 #endif 89 #endif
89 ngx_uint_t proxy_protocol; 90 ngx_uint_t proxy_protocol;
90 /* unsigned proxy_protocol:1; */ 91 /* unsigned proxy_protocol:1; */