commit | 2ec1ffaed061cd3560934c7525b204dbca25ace3 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Sep 21 14:42:47 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Sep 21 15:11:26 2022 +0200 |
tree | 299de2c8230c802d411564965114f37648d11ec1 | |
parent | 330af2d7ed2d8d72800fc7761253ff6965681742 [diff] |
MINOR: smtpchk: Update expect rule to fully match replies to EHLO commands The response to EHLO command is a multiline reply. However the corresponding expect rule only match on the first line. For now, it is not an issue. But to be able to send the QUIT command and gracefully close the connection, we must be sure to consume the full EHLO reply first. To do so, the regex has been updated to match all 2xx lines at a time.