Docs: add note on DKIM vs. tpt modifying headers
[exim.git] / test / scripts / 4069-pipe-conn-openssl-tfo / 4069
1 # early-pipe, starttls, tfo
2 #
3 # NOTE: ensure that TFO is fully enabled in the kernel.
4 # For linux: sysctl net.ipv4.tcp_fastopen=3
5
6 # Network delay so we can see tfo efects
7 # Clear any previously-obtained tfo cookie:
8 sudo perl
9 system ("tc qdisc add dev lo root netem delay 50ms");
10 system ("[ -e /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec ] && echo 0 > /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec");
11 system ("ip tcp_metrics delete 127.0.0.1");
12 ****
13 #
14 #
15 # Early-pipe not attempted without a cache entry
16 exim -bd -DSERVER=server -oX PORT_D
17 ****
18 #
19 exim a@test.ex
20 Subject test 1
21
22 ****
23 exim -DCONNECTCOND=127.0.0.1 -q
24 ****
25 exim -DNOTDAEMON -DSERVER=server -q
26 ****
27 #
28 #
29 #
30 # Go for it.  This one should do early-pipelinng.
31 exim b@test.ex
32 Subject test 2
33
34 ****
35 exim -DCONNECTCOND=127.0.0.1 -q
36 ****
37 exim -DNOTDAEMON -DSERVER=server -q
38 ****
39 #
40 #
41 killdaemon
42 #
43 #
44 # And again with CHUNKING
45 #
46 exim -bd -DSERVER=server -DOPT=* -oX PORT_D
47 ****
48 #
49 # First try has wrong cached info for chunking.  Get it refreshed.
50 exim wrongcache@test.ex
51 Subject test 4
52
53 ****
54 exim -DCONNECTCOND=127.0.0.1 -q
55 ****
56 exim -DNOTDAEMON -DSERVER=server -q
57 ****
58 #
59 # Go for it
60 exim chunking@test.ex
61 Subject test 5
62
63 ****
64 exim -DCONNECTCOND=127.0.0.1 -q
65 ****
66 exim -DNOTDAEMON -DSERVER=server -q
67 ****
68 #
69 killdaemon
70 #
71 sudo perl
72 system ("tc qdisc delete dev lo root");
73 ****
74 no_msglog_check