mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
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".
This commit is contained in:
parent
a33ff7a8a7
commit
c6b60f1e00
@ -2256,7 +2256,6 @@ struct task *process_stream(struct task *t, void *context, unsigned int state)
|
||||
}
|
||||
}
|
||||
else {
|
||||
cs_detach_endp(csb);
|
||||
s->csb->state = CS_ST_CLO; /* shutw+ini = abort */
|
||||
channel_shutw_now(req); /* fix buffer flags upon abort */
|
||||
channel_shutr_now(res);
|
||||
|
Loading…
x
Reference in New Issue
Block a user