]> git.kaiwu.me - haproxy.git/commitdiff
[BUG] scope "." must match the backend and not the frontend
authorWilly Tarreau <w@1wt.eu>
Thu, 18 Oct 2007 16:10:47 +0000 (18:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Oct 2007 16:10:47 +0000 (18:10 +0200)
src/proto_http.c

index 8a1083f8979676cc8bc41668a1ef51229e6b6154..f94b01c16e4b19c2ee7abb1e61aa851d171785e6 100644 (file)
@@ -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;
                        }