summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-09-19 15:10:21 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-09-19 15:10:21 +0100
commitac0dcd3f05a8821d7ce042646472be1995a08042 (patch)
tree56532171a253e1b6c4eab094b8e9f401f72dee58 /test
parent4043ef1cec143692ca271bf868abf01d62b0d0d1 (diff)
TFO: better detection of client fast-open connections
Diffstat (limited to 'test')
-rw-r--r--test/log/40274
-rw-r--r--test/scripts/1990-TCP-Fast-Open/199012
2 files changed, 11 insertions, 5 deletions
diff --git a/test/log/4027 b/test/log/4027
index ed6b92611..3af3f325b 100644
--- a/test/log/4027
+++ b/test/log/4027
@@ -1,6 +1,6 @@
1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
-1999-03-02 09:44:33 10HmaX-0005vi-00 => user_tfo@test.ex R=my_main_router T=my_smtp H=127.0.0.1 [127.0.0.1]:1224 PRX=[127.0.0.1]:1225 C="250 accepted OK"
+1999-03-02 09:44:33 10HmaX-0005vi-00 => user_tfo@test.ex R=my_main_router T=my_smtp H=127.0.0.1 [127.0.0.1]:1224 PRX=[127.0.0.1]:1225 TFO C="250 accepted OK"
1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
-1999-03-02 09:44:33 10HmaY-0005vi-00 => user_tfo@test.ex R=my_main_router T=my_smtp H=127.0.0.1 [127.0.0.1]:1224 PRX=[127.0.0.1]:1225 C="250 accepted OK"
+1999-03-02 09:44:33 10HmaY-0005vi-00 => user_tfo@test.ex R=my_main_router T=my_smtp H=127.0.0.1 [127.0.0.1]:1224 PRX=[127.0.0.1]:1225 TFO C="250 accepted OK"
1999-03-02 09:44:33 10HmaY-0005vi-00 Completed
diff --git a/test/scripts/1990-TCP-Fast-Open/1990 b/test/scripts/1990-TCP-Fast-Open/1990
index 47b77af0e..cbedd3622 100644
--- a/test/scripts/1990-TCP-Fast-Open/1990
+++ b/test/scripts/1990-TCP-Fast-Open/1990
@@ -14,10 +14,13 @@
# (currently on a separate packet after the server SYN,ACK but before
# the client ACK).
#
-# The log <= line should have a "TFO" element.
+# The client log => lint.ex should have a "TFO" element.
+# Assuming this is the first run since boot, the a@test recipient will not.
+#
+# The server log <= line for b@test.ex should have a "TFO" element, but
+# this will only be obtained when the above delay is inserted into the
+# loopback net path.
#
-# If the client-side is disabled in the kernel, Exim logs
-# will become noisy.
#
#
# FreeBSD: it looks like you have to compile a custom kernel, with
@@ -27,13 +30,16 @@
#
exim -DSERVER=server -bd -oX PORT_D
****
+#
exim a@test.ex
Testing
****
sleep 3
+#
exim b@test.ex
Testing
****
sleep 3
+#
killdaemon
no_msglog_check