Mercurial > hg > nginx
comparison src/stream/ngx_stream_handler.c @ 6692:56fc55e32f23
Stream: filters.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 15 Sep 2016 14:55:46 +0300 |
parents | 9cac11efb205 |
children | 3908156a51fa |
comparison
equal
deleted
inserted
replaced
6691:4bce3edfac2c | 6692:56fc55e32f23 |
---|---|
132 | 132 |
133 #if (NGX_STREAM_SSL) | 133 #if (NGX_STREAM_SSL) |
134 s->ssl = addr_conf->ssl; | 134 s->ssl = addr_conf->ssl; |
135 #endif | 135 #endif |
136 | 136 |
137 if (c->buffer) { | |
138 s->received += c->buffer->last - c->buffer->pos; | |
139 } | |
140 | |
137 s->connection = c; | 141 s->connection = c; |
138 c->data = s; | 142 c->data = s; |
139 | 143 |
140 cscf = ngx_stream_get_module_srv_conf(s, ngx_stream_core_module); | 144 cscf = ngx_stream_get_module_srv_conf(s, ngx_stream_core_module); |
141 | 145 |