From 45e73bcc8eab39c53533536e1ec7ce184229c09c Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 31 Jul 2018 07:55:47 +0000 Subject: [PATCH] Insert comments for documentation purposes. git-svn-id: file:///svn/unbound/trunk@4811 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 2 ++ testdata/tcp_idle_timeout.tdir/tcp_idle_timeout.test | 4 ++++ 2 files changed, 6 insertions(+) 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