Date: Tue, 29 Nov 2016 10:56:18 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 214913] SO_KEEPALIVE does not work? Message-ID: <bug-214913-2472-VH825Z1T9B@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-214913-2472@https.bugs.freebsd.org/bugzilla/> References: <bug-214913-2472@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214913 Andrey V. Elsukov <ae@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #1 from Andrey V. Elsukov <ae@FreeBSD.org> --- SO_KEEPALIVE option doesn't mean that your connection will live forever. It only enables keepalive probes. These probes are carried out to determine th= at your connection is still alive. Note, not for keeping it alive. In FreeBSD by default net.inet.tcp.always_keepalive variable configured to assume SO_KEEPALIVE on all TCP connections. But first keepalive probe will = be made only after 2 hours of idle state. This is controlled by net.inet.tcp.keepidle variable. Just have tested keepalive probes with lowered idle time to 65 seconds on FreeBSD 12.0. All works as expected. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214913-2472-VH825Z1T9B>