mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-17 17:04:35 +00: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…
Reference in New Issue
Block a user