1 # Early-pipelining, with TFO
4 # Packet delays so we can see TFO operational in packet captures
5 # Wipe any stored TFO cookie, to start from known state.
6 # Disable TFO blackhole-detection as we seem to be running afoul of that
8 system ("tc qdisc add dev lo root netem delay 50ms");
9 system ("ip tcp_metrics delete 127.0.0.1");
10 system ("echo 0 > /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec");
14 exim -bd -DSERVER=server -oX PORT_D
17 # No early-pipe cache yet. Run one through to prime it;
18 # this should not use early-pipe despite both the client & server being enabled.
19 # Should also prime the TFO cookie cache.
27 exim -DNOTDAEMON -DSERVER=server -q
32 # Having primed the cache, this one should use it.
40 exim -DNOTDAEMON -DSERVER=server -q
46 # Again, with CHUNKING
47 sudo rm DIR/spool/db/misc
48 exim -bd -DSERVER=server -DOPT=* -oX PORT_D
58 exim -DNOTDAEMON -DSERVER=server -q
67 exim -DNOTDAEMON -DSERVER=server -q
74 system ("tc qdisc delete dev lo root");
75 system ("echo 3600 > /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec");