ngx_http_upstream_status_variable question

gaoyan09 nginx-forum at forum.nginx.org
Wed Jul 20 14:03:55 UTC 2016


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?

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268369,268374#msg-268374



More information about the nginx mailing list