X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/c8f419afe4b673ce93b7db07eb3093d8a07afb5f..e3c771232d4f02c907c5ac7bb037c67a7dd63c8b:/test/scripts/4069-pipe-conn-openssl-tfo/4069?ds=sidebyside diff --git a/test/scripts/4069-pipe-conn-openssl-tfo/4069 b/test/scripts/4069-pipe-conn-openssl-tfo/4069 index 2339b0c12..41ec3a5ae 100644 --- a/test/scripts/4069-pipe-conn-openssl-tfo/4069 +++ b/test/scripts/4069-pipe-conn-openssl-tfo/4069 @@ -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"); **** #