commit | a664aa6a6875f5008998cd4c88f7ddc4c862be0e | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Mar 20 16:49:51 2023 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 05 08:46:06 2023 +0200 |
tree | 9b97dade1baecb39ec5f6a4bcf76b2d68e699971 | |
parent | 0222cc636670c7d2fe8f02f41d2bd7e68f5e756c [diff] |
BUG/MINOR: tcpcheck: Be able to expect an empty response It is not possible to successfully match an empty response. However using regex, it should be possible to reject response with any content. For instance: tcp-check expect !rstring ".+" It may seem a be strange to do that, but it is possible, it is a valid config. So it must work. Thanks to this patch, it is now really supported. This patch may be backported as far as 2.2. But only if someone ask for it.