diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2022-01-03 16:08:37 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2022-01-03 16:38:11 +0000 |
commit | ef2e5890df09193717f9d345ffaaa406e2d8aae7 (patch) | |
tree | edc137cccf5d14c4c0b0f2ce34d95de99f18147b /test/scripts | |
parent | 299efa252e69a2bbf49cce670afa893663df9610 (diff) |
TLS: event for daemon accept fail
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/5710-GnuTLS-events/5711 | 24 | ||||
-rw-r--r-- | test/scripts/5720-OpenSSL-events/5721 | 23 |
2 files changed, 47 insertions, 0 deletions
diff --git a/test/scripts/5710-GnuTLS-events/5711 b/test/scripts/5710-GnuTLS-events/5711 new file mode 100644 index 000000000..7c276229d --- /dev/null +++ b/test/scripts/5710-GnuTLS-events/5711 @@ -0,0 +1,24 @@ +# 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 +**** +# +sleep 1 +killdaemon 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 |