Testsuite: try workaround for missing /dev/stderr symlink on Alpine
[exim.git] / test / scripts / 4069-pipe-conn-openssl-tfo / 4069
index 2339b0c128fdda41138c9e1a5334cc7f789b3e92..41ec3a5aef8d51c9342d1bb6703473e8930c8597 100644 (file)
@@ -1,9 +1,13 @@
 # early-pipe, starttls, tfo
 #
+# NOTE: ensure that TFO is fully enabled in the kernel.
+# For linux: sysctl net.ipv4.tcp_fastopen=3
+# 
 # Network delay so we can see tfo efects
 # Clear any previously-obtained tfo cookie:
 sudo perl
 system ("tc qdisc add dev lo root netem delay 50ms");
+system ("[ -e /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec ] && echo 0 > /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec");
 system ("ip tcp_metrics delete 127.0.0.1");
 ****
 #