commit | 33f05df650b6b35ac2e3b2208ffea6aa3131a40b | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 01 11:08:50 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 27 09:39:38 2020 +0200 |
tree | 53681a049367c3eef5fdd0d14e04799906557f3f | |
parent | 9e6ed1598e281c08d1ec92a996d4e5b18e6cb1e8 [diff] |
MEDIUM: checks: Implement redis check using tcp-check rules A share tcp-check ruleset is now created to support redis checks. This way no extra memory is used if several backends use a redis check. The following sequence is used : tcp-check send "*1\r\n$4\r\nPING\r\n" tcp-check expect string "+PONG\r\n" error-status "L7STS" \ on-error "%[check.payload(),cut_crlf]" on-success "Redis server is ok"