]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: checks: Fix PostgreSQL regex on the authentication packet
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 16:29:49 +0000 (18:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 16:29:51 +0000 (18:29 +0200)
commitb841c74aad63d7bf309f61d8fd38493dd1f318f4
treeb6e691e095666d6683e63f7aad1dcc5ffa3f46c8
parentb693a0de374801e4924384cbeacbd2712d3a6a2c
BUG/MINOR: checks: Fix PostgreSQL regex on the authentication packet

For PostgreSQL health check, there is a regex on the backend authentication
packet. It must match to succeed. But it exists 6 types of authentication
packets and the regex only matches the first one (AuthenticationOK). This patch
fixes the regex to match all authentication packets.

No backport needed.
src/checks.c