projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ca0bbc
)
CLEANUP: backend: fix a wrong comment
author
Amaury Denoyelle
<adenoyelle@haproxy.com>
Wed, 3 Mar 2021 10:24:33 +0000
(11:24 +0100)
committer
Amaury Denoyelle
<adenoyelle@haproxy.com>
Wed, 3 Mar 2021 10:28:02 +0000
(11:28 +0100)
missing 'not' when skipping reuse if proxy mode not HTTP
src/backend.c
patch
|
blob
|
history
diff --git
a/src/backend.c
b/src/backend.c
index
e261679
..
ef350f0
100644
(file)
--- 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;