mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-08 00:32:13 -04:00
CLEANUP: trace: remove backend retrieval attempt from conn->target
Since we may no longer see conn->target point to the proxy, let's drop the retrieval attempt for a backend there in __trace_enabled().
This commit is contained in:
parent
7adf94cfe1
commit
d071a736c4
1 changed files with 0 additions and 3 deletions
|
|
@ -181,9 +181,6 @@ int __trace_enabled(enum trace_level level, uint64_t mask, struct trace_source *
|
|||
if (ctx.srv && !ctx.be)
|
||||
ctx.be = ctx.srv->proxy;
|
||||
|
||||
if (!ctx.be && ctx.conn)
|
||||
ctx.be = objt_proxy(ctx.conn->target);
|
||||
|
||||
/* TODO: add handling of filters here, return if no match (not even update states) */
|
||||
|
||||
/* check if we need to start the trace now */
|
||||
|
|
|
|||
Loading…
Reference in a new issue