diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-18 21:10:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-18 21:10:08 +0000 |
commit | 5d2a8c221af121abe73e313bdfce8ae2f4372a83 (patch) | |
tree | 74ea75808737e0fa41869a9da786ee6c1c5f168a /src/sys/socket/mod.rs | |
parent | c51f63a5f83a742b7b19870ccaa5a508dfe3367b (diff) | |
parent | b0d19969112e2c5954fdc3ad644ce97a78f4c133 (diff) | |
download | nix-5d2a8c221af121abe73e313bdfce8ae2f4372a83.zip |
Merge #1318
1318: KEEPCNT/KEEPINTVL aren't available on OpenBSD. r=asomers a=ltratt
Without this commit, nix doesn't currently compile on OpenBSD. Some keepalive settings can be set globally, but not per-socket (see e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=970550 for some digging into this). Since it seems that NetBSD and DragonflyBSD have these settings, it makes more sense to only exclude them on OpenBSD rather than include them on (pretty much every) other operating systems.
Co-authored-by: Laurence Tratt <laurie@tratt.net>
Diffstat (limited to 'src/sys/socket/mod.rs')
0 files changed, 0 insertions, 0 deletions