summaryrefslogtreecommitdiff
path: root/test/scripts/5720-OpenSSL-events
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/5720-OpenSSL-events')
-rw-r--r--test/scripts/5720-OpenSSL-events/572123
1 files changed, 23 insertions, 0 deletions
diff --git a/test/scripts/5720-OpenSSL-events/5721 b/test/scripts/5720-OpenSSL-events/5721
new file mode 100644
index 000000000..0f72c17d2
--- /dev/null
+++ b/test/scripts/5720-OpenSSL-events/5721
@@ -0,0 +1,23 @@
+# smtp-on-connect drop-before-tls-accept
+#
+exim -DSERVER=server -tls-on-connect -bd -oX PORT_D
+****
+#
+# Normal, full connect and quit
+client-anytls -tls-on-connect 127.0.0.1 PORT_D
+??? 220
+quit
+??? 221
+****
+#
+# full connect but no quit
+client-anytls -tls-on-connect 127.0.0.1 PORT_D
+??? 220
+****
+#
+# client disconnects before server TLS accept completes
+client 127.0.0.1 PORT_D
++++ 1
+****
+#
+killdaemon