-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenBSD: Fix keepalive_ms and set_keepalive_ms.
OpenBSD (as of relase 6.6) does not support the socket option TCP_KEEPIDLE. To be using SO_KEEPALIVE instead made it compile but was not correct and was failing at runtime. NetBSD does support the option and should therefore be treated like generic unix. The use of SO_KEEPALIVE as the KEEPALIVE_OPTION on NetBSD was not correct.
- Loading branch information
Jozef Hatala
committed
Mar 9, 2020
1 parent
942df89
commit a87d94a
Showing
1 changed file
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters