From: Willy Tarreau Date: Thu, 18 Oct 2007 16:10:47 +0000 (+0200) Subject: [BUG] scope "." must match the backend and not the frontend X-Git-Tag: v1.3.12.3~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=2a877034af698231b77c1975bad05d058e855fe7;p=haproxy.git [BUG] scope "." must match the backend and not the frontend --- diff --git a/src/proto_http.c b/src/proto_http.c index 8a1083f89..f94b01c16 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -3750,7 +3750,7 @@ int produce_content_stats_proxy(struct session *s, struct proxy *px) break; /* match '.' which means 'self' proxy */ - if (!strcmp(scope->px_id, ".") && px == s->fe) + if (!strcmp(scope->px_id, ".") && px == s->be) break; scope = scope->next; }