Welcome! Log In Create A New Profile

Advanced

Re: ngx_http_upstream_status_variable question

July 20, 2016 10:03AM
also ngx_http_upstream_response_time_variable and ngx_http_upstream_response_length_variable, + 2 for separator

if (state[i].peer) {
*p++ = ',';
*p++ = ' ';

} else {
*p++ = ' ';
*p++ = ':';
*p++ = ' ';

if (++i == r->upstream_states->nelts) {
break;
}

continue;
}

it can be 3 bytes, right?
Subject Author Posted

ngx_http_upstream_status_variable question

gaoyan09 July 20, 2016 05:33AM

Re: ngx_http_upstream_status_variable question

gaoyan09 July 20, 2016 10:03AM

Re: ngx_http_upstream_status_variable question

gaoyan09 July 20, 2016 10:39AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready