CLEANUP: backend: fix a wrong comment

missing 'not' when skipping reuse if proxy mode not HTTP
This commit is contained in:
Amaury Denoyelle 2021-03-03 11:24:33 +01:00
parent 2ca0bbc7d8
commit 603657835f

View File

@ -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;