commit | b7d30098f355f4e7d72f3dbca1835924d625c912 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Mar 30 15:19:03 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 27 09:39:37 2020 +0200 |
tree | 63dbfd51efca3c29f33aeea13cdbceef3e4d320a | |
parent | 5c28874a6900bba948da7ed7e115188b8d3b0b58 [diff] |
MEDIUM: checks: Support expression to set the port Since we have a session attached to tcp-check healthchecks, It is possible use sample expression and variables. In addition, it is possible to add tcp-check set-var rules to define custom variables. So, now, a sample expression can be used to define the port to use to establish a connection for a tcp-check connect rule. For instance: tcp-check set-var(check.port) int(8888) tcp-check connect port var(check.port)