run
connected
-# Send inactivity probe.
+# Try timeout without noting that we tried to receive.
+# (This does nothing since we never timeout in this case.)
+timeout
+
+# Now disable the receive-attempted feature and timeout again.
+receive-attempted LLONG_MAX
timeout
run
connected
last connected 0 ms ago, connected 0 ms total
-# Send inactivity probe.
+# Try timeout without noting that we tried to receive.
+# (This does nothing since we never timeout in this case.)
+timeout
+ no timeout
+
+# Now disable the receive-attempted feature and timeout again.
+receive-attempted LLONG_MAX
timeout
advance 5000 ms
run
connected
-# Send inactivity probe.
+# Try timeout without noting that we tried to receive.
+# (This does nothing since we never timeout in this case.)
+timeout
+
+# Now disable the receive-attempted feature and timeout again.
+receive-attempted LLONG_MAX
timeout
run
connected
last connected 0 ms ago, connected 0 ms total
-# Send inactivity probe.
+# Try timeout without noting that we tried to receive.
+# (This does nothing since we never timeout in this case.)
+timeout
+ no timeout
+
+# Now disable the receive-attempted feature and timeout again.
+receive-attempted LLONG_MAX
timeout
advance 5000 ms
######################################################################
RECONNECT_CHECK([connections with no data preserve backoff],
- [enable
+ [receive-attempted LLONG_MAX
+enable
# First connect, then idle timeout kills connection.
run
# Back off for 4000 ms.
timeout
], [### t=1000 ###
+receive-attempted LLONG_MAX
enable
in BACKOFF for 0 ms (0 ms backoff)
######################################################################
RECONNECT_CHECK([max-tries of 1 honored],
- [set-max-tries 1
+ [receive-attempted LLONG_MAX
+set-max-tries 1
enable
# Connection succeeds.
disconnected
],
[### t=1000 ###
+receive-attempted LLONG_MAX
set-max-tries 1
1 tries left
enable
# Connection times out.
timeout
+receive-attempted LLONG_MAX
+timeout
run
timeout
run
created 1000, last activity 3000, last connected 2000
# Connection times out.
+timeout
+ no timeout
+receive-attempted LLONG_MAX
timeout
advance 5000 ms