mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
CLEANUP: backend: fix a wrong comment
missing 'not' when skipping reuse if proxy mode not HTTP
This commit is contained in:
parent
2ca0bbc7d8
commit
603657835f
@ -1338,7 +1338,7 @@ int connect_server(struct stream *s)
|
||||
*/
|
||||
si_release_endpoint(&s->si[1]);
|
||||
|
||||
/* do not reuse if mode is http or if avail list is not allocated */
|
||||
/* do not reuse if mode is not http or if avail list is not allocated */
|
||||
if ((s->be->mode != PR_MODE_HTTP) || (srv && !srv->available_conns_tree))
|
||||
goto skip_reuse;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user