mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 16:47:18 +02:00
[BUG] fix typo in redispatched connection
a copy-paste typo was present in the reconnection code responsible for respatching. The client's FSM would not be re-evaluated if an error occurred. It looks harmless but better fix it.
This commit is contained in:
parent
541b5c24ca
commit
00559e7117
@ -2543,7 +2543,7 @@ int process_srv(struct session *t)
|
|||||||
|
|
||||||
/* first, get a connection */
|
/* first, get a connection */
|
||||||
if (srv_redispatch_connect(t))
|
if (srv_redispatch_connect(t))
|
||||||
return t->srv_state != SV_STIDLE;
|
return t->srv_state != SV_STCONN;
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
Loading…
Reference in New Issue
Block a user