Skip to content

v1.0.168

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Jan 14:26
f5b5d81
Set keepaliveidle time more aggressive against connection drops (#540)

Keepaliveidle time should be set more aggresive than the gVisor's 2 hours default idle time. Many NAT and firewalls drop the idle connections more aggressively (30-60 secs apparently).

Keepaliveinterval option doesn't take affect as the keep alive probe doesn't start before the idle time reaches. It is 2 hours by default and before it reaches NAT/Firewall close the connection unlike kernel mode TUN device,

With this change the idle time will be more aggressive and according to several tests this fix connection drops. Long running test more than 24 hours achieved with this fix.