comparison src/http/ngx_http_upstream.h @ 6654:c131f20c9562

Upstream: the $upstream_bytes_received variable. Unlike $upstream_response_length that only counts the body size, the new variable also counts the size of response header and data received after switching protocols when proxying WebSockets.
author Vladimir Homutov <vl@nginx.com>
date Wed, 10 Aug 2016 16:46:39 +0300
parents 1d0e03db9f8e
children edcd9303a4d3
comparison
equal deleted inserted replaced
6653:7a6456398fc3 6654:c131f20c9562
61 ngx_uint_t status; 61 ngx_uint_t status;
62 ngx_msec_t response_time; 62 ngx_msec_t response_time;
63 ngx_msec_t connect_time; 63 ngx_msec_t connect_time;
64 ngx_msec_t header_time; 64 ngx_msec_t header_time;
65 off_t response_length; 65 off_t response_length;
66 off_t bytes_received;
66 67
67 ngx_str_t *peer; 68 ngx_str_t *peer;
68 } ngx_http_upstream_state_t; 69 } ngx_http_upstream_state_t;
69 70
70 71