summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic/0609
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-06-08 21:48:50 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-06-08 22:50:21 +0100
commitae9d18bce985de6ff806c167059ffdd554278882 (patch)
treedee65199fe465856eec10ea889cc79b483aaf696 /test/scripts/0000-Basic/0609
parent7da3cb7c81fbe0ae154b2b5f89f79dc80264f699 (diff)
Truncate delay when peer closes connection. Bug 348
This is now possible on Linux, at least.
Diffstat (limited to 'test/scripts/0000-Basic/0609')
-rw-r--r--test/scripts/0000-Basic/060929
1 files changed, 29 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0609 b/test/scripts/0000-Basic/0609
new file mode 100644
index 000000000..84ab89ded
--- /dev/null
+++ b/test/scripts/0000-Basic/0609
@@ -0,0 +1,29 @@
+# Long ACL delay, truncated
+munge debug_pid
+need_ipv4
+#
+# We want the debug note of a truncated delay
+exim -d-all+acl -DSERVER=server -odq -bd -oX PORT_D
+****
+#
+# Server delays 4s before accepting RCPT
+client 127.0.0.1 PORT_D
+??? 220
+mail from:<x@y.test.ex>
+??? 250
+rcpt to:<delay4_accept@y.test.ex>
+??? 250
+quit
+??? 221
+****
+#
+# Server delays 4s before accepting RCPT
+# but client closes connection
+client 127.0.0.1 PORT_D
+??? 220
+mail from:<x@y.test.ex>
+??? 250
+rcpt to:<delay4_accept@y.test.ex>
+****
+killdaemon
+no_msglog_check