mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
BUG/MEDIUM: spoe: Don't set the default traget for the SPOE agent frontend
The commit d5983cef8 ("MINOR: listener: remove the useless ->default_target field") revealed a bug in the SPOE. No default-target must be defined for the SPOE agent frontend. SPOE applets are used on the frontend side and a TCP connection is established on the backend side. Because of this bug, since the commit above, the stream target is set to the SPOE applet instead of the backend connection, leading to a spinning loop on the applet when it is released because are unable to close the backend side. This patch should fix the issue #2040. It only affects the 2.8-DEV but to avoid any future bug, it should be backported to all stable versions.
This commit is contained in:
parent
3eff752f6f
commit
25e36bfc22
@ -3053,7 +3053,6 @@ spoe_init(struct proxy *px, struct flt_conf *fconf)
|
||||
conf->agent_fe.accept = frontend_accept;
|
||||
conf->agent_fe.srv = NULL;
|
||||
conf->agent_fe.timeout.client = TICK_ETERNITY;
|
||||
conf->agent_fe.default_target = &spoe_applet.obj_type;
|
||||
conf->agent_fe.fe_req_ana = AN_REQ_SWITCHING_RULES;
|
||||
|
||||
if (!sighandler_registered) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user