# early-pipe, starttls, tfo
#
# NOTE: ensure that TFO is fully enabled in the kernel.
# For linux: sysctl net.ipv4.tcp_fastopen=3
# 
# Not attempted without a cache entry
exim -bd -DSERVER=server -oX PORT_D
****
#
exim a@test.ex
Subject test 1

****
exim -DCONNECTCOND=127.0.0.1 -q
****
exim -DNOTDAEMON -DSERVER=server -q
****
#
#
#
# Go for it.  This one should do early-pipelinng.
exim b@test.ex
Subject test 2

****
exim -DCONNECTCOND=127.0.0.1 -q
****
exim -DNOTDAEMON -DSERVER=server -q
****
#
#
killdaemon
#
#
# And again with CHUNKING
sudo rm DIR/spool/db/misc
exim -bd -DSERVER=server -DOPT=* -oX PORT_D
****
#
exim nocache@test.ex
Subject test 4

****
exim -DCONNECTCOND=127.0.0.1 -q
****
exim -DNOTDAEMON -DSERVER=server -q
****
#
#
#
# Go for it
exim chunking@test.ex
Subject test 5

****
exim -DCONNECTCOND=127.0.0.1 -q
****
exim -DNOTDAEMON -DSERVER=server -q
****
#
killdaemon
#
no_msglog_check
