Mercurial > hg > nginx
comparison src/stream/ngx_stream_upstream.h @ 6692:56fc55e32f23
Stream: filters.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 15 Sep 2016 14:55:46 +0300 |
parents | c02290241cbe |
children | edcd9303a4d3 |
comparison
equal
deleted
inserted
replaced
6691:4bce3edfac2c | 6692:56fc55e32f23 |
---|---|
104 } ngx_stream_upstream_resolved_t; | 104 } ngx_stream_upstream_resolved_t; |
105 | 105 |
106 | 106 |
107 typedef struct { | 107 typedef struct { |
108 ngx_peer_connection_t peer; | 108 ngx_peer_connection_t peer; |
109 | |
109 ngx_buf_t downstream_buf; | 110 ngx_buf_t downstream_buf; |
110 ngx_buf_t upstream_buf; | 111 ngx_buf_t upstream_buf; |
112 | |
113 ngx_chain_t *free; | |
114 ngx_chain_t *upstream_out; | |
115 ngx_chain_t *upstream_busy; | |
116 ngx_chain_t *downstream_out; | |
117 ngx_chain_t *downstream_busy; | |
118 | |
111 off_t received; | 119 off_t received; |
112 time_t start_sec; | 120 time_t start_sec; |
113 ngx_uint_t responses; | 121 ngx_uint_t responses; |
122 | |
114 #if (NGX_STREAM_SSL) | 123 #if (NGX_STREAM_SSL) |
115 ngx_str_t ssl_name; | 124 ngx_str_t ssl_name; |
116 #endif | 125 #endif |
126 | |
117 ngx_stream_upstream_resolved_t *resolved; | 127 ngx_stream_upstream_resolved_t *resolved; |
118 ngx_stream_upstream_state_t *state; | 128 ngx_stream_upstream_state_t *state; |
119 unsigned connected:1; | 129 unsigned connected:1; |
120 unsigned proxy_protocol:1; | 130 unsigned proxy_protocol:1; |
121 } ngx_stream_upstream_t; | 131 } ngx_stream_upstream_t; |