diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2022-09-03 12:39:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-03 12:39:57 -0700 |
commit | 61b5b299f0ac4f0efbe11a45716e06a9c35f37b7 (patch) | |
tree | aa27e6e89ac46f0fc8f1032c488924f47fcfeedc /.github/workflows/build.yml | |
parent | fce8abc1c19ab731f5c84797aa71b4d49921913f (diff) |
Use a windows specific keepalive function. (#1104)
Use a windows specific keepalive function.
While it is possible to toggle `TCP_KEEPALIVE` in windows via
setsockopt, you have to use `WSAIoctl` to set the interval.
Since `WSAIoctl` can actually do all of this in one call (toggle the
option, and set the corresponding interval), just use that in Windows
and avoid the call to `setsockopt` alltogether.
Fixes: #1100
Diffstat (limited to '.github/workflows/build.yml')
0 files changed, 0 insertions, 0 deletions