]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: 4be_1srv_smtpchk_httpchk_layer47errors: Return valid SMTP replies
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 21 Sep 2022 13:05:42 +0000 (15:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 21 Sep 2022 13:11:26 +0000 (15:11 +0200)
The s1 server is acting like a SMTP server. But it sends two CRLF at the end of
each line, while only one CRLF must be returned. It only works becaue both CRLF
are received at the same time.

reg-tests/checks/4be_1srv_smtpchk_httpchk_layer47errors.vtc

index 2e98a3f89a5e011b85096ff2cb544c43ec937170..90a4881bcf430101154f2902a3dfe3fb8c0fb454 100644 (file)
@@ -36,12 +36,12 @@ server s1 {
     send "2"
     send "2"
     send "0"
-    send "\r\n\r\n"
+    send "\r\n"
     recv 16
     send "2"
     send "4"
     send "8"
-    send "\r\n\r\n"
+    send "\r\n"
 } -start
 
 server s2 {