mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-22 19:31:02 +01:00
[BUG] session: src_conn_cur was returning src_conn_cnt instead
Issue reported by Cory Forsyth and diagnosed by Cyril Bont. Just a plain stupid copy-paste of the wrong fetch function call.
This commit is contained in:
parent
a1525cdf17
commit
1b6e608c11
@ -2533,7 +2533,7 @@ acl_fetch_src_conn_cur(struct proxy *px, struct session *l4, void *l7, int dir,
|
|||||||
if (!px)
|
if (!px)
|
||||||
return 0; /* table not found */
|
return 0; /* table not found */
|
||||||
|
|
||||||
return acl_fetch_conn_cnt(&px->table, test, stktable_lookup_key(&px->table, key));
|
return acl_fetch_conn_cur(&px->table, test, stktable_lookup_key(&px->table, key));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set test->i to the cumulated number of sessions in the stksess entry <ts> */
|
/* set test->i to the cumulated number of sessions in the stksess entry <ts> */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user