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