diff --git a/doc/Changelog b/doc/Changelog index e97d0ebaf..a59641316 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -11,6 +11,8 @@ - Correct and expand manual page entries for keepalive and idle timeout. - Implement progressive backoff of TCP idle/keepalive timeout. - Fix 'make depend' to work when build dir is not project root. + - Add delay parameter to streamtcp, -d secs. + To be used when testing idle timeout. - From Wouter: make depend, the dependencies in the patches did not apply cleanly. Also remade yacc and lex. - Fix mesh.c incompatible pointer pass. diff --git a/testdata/tcp_idle_timeout.tdir/tcp_idle_timeout.test b/testdata/tcp_idle_timeout.tdir/tcp_idle_timeout.test index 30852e075..2ae8c4fa8 100644 --- a/testdata/tcp_idle_timeout.tdir/tcp_idle_timeout.test +++ b/testdata/tcp_idle_timeout.tdir/tcp_idle_timeout.test @@ -4,6 +4,10 @@ # use .tpkg.var.test for in test variable passing [ -f .tpkg.var.test ] && source .tpkg.var.test + +# Run up unbound with a 2s idle timeout. Try a normal TCP query, check it works, and then check that a connection with a 4s send delay fails. + + if uname | grep MINGW >/dev/null; then echo "no job control in shell on windows. end test" exit 0