From: Amaury Denoyelle Date: Wed, 3 Mar 2021 10:24:33 +0000 (+0100) Subject: CLEANUP: backend: fix a wrong comment X-Git-Tag: v2.4-dev11~43 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=603657835fa4617a9caf61713a632236101f0a14;p=haproxy-2.5.git CLEANUP: backend: fix a wrong comment missing 'not' when skipping reuse if proxy mode not HTTP --- diff --git a/src/backend.c b/src/backend.c index e261679..ef350f0 100644 --- a/src/backend.c +++ b/src/backend.c @@ -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;