]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream: Don't needlessly detach server endpoint on early client abort
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Apr 2022 10:23:30 +0000 (12:23 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Apr 2022 12:32:30 +0000 (14:32 +0200)
commitc6b60f1e00926cc9db1f20ec56a69d8192a9ff5a
treed7b64feb02c2b8040ad5269de066a842ee3d6132
parenta33ff7a8a763f1e92a54f16119c7430a76367350
MINOR: stream: Don't needlessly detach server endpoint on early client abort

When a client abort is detected with the server conn-stream in CS_ST_INI
state, there is no reason to detach the endpoing because we know there is no
endpoint attached to this conn-stream. This patch depends on the commit
"BUG/MEDIUM: conn-stream: Set back CS to RDY state when the appctx is
created".
src/stream.c