commit | 88e476501c9d7b6c64b95141eed16994688cf7c9 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Sep 13 10:01:36 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Sep 13 10:10:37 2019 +0200 |
tree | 4f37326c9285707c3c1e787df7395abac6843f80 | |
parent | 6a4c746b63c89c7d4c5f21d79ceb45207ebb24bb [diff] |
BUG/MINOR: backend: Fix a possible null pointer dereference In the function connect_server(), when we are not able to reuse a connection and too many FDs are opened, the variable srv must be defined to kill an idle connection. This patch fixes the issue #257. It must be backported to 2.0 (cherry picked from commit 1dbc4676c657072dfbf89a0b7ce9699367f28b33) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>