mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-03 13:58:24 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue