I did this
DragonFly BSD changed the time unit for TCP keep-alive from milliseconds to seconds since v5.8.
Setting the keepalive options with milliseconds with curl/libcurl will result in unexpected behaviors on DragonFlyBSD 5.8+
References
I expected the following
Distinguish the DragonFly BSD versions and use the proper time units accordingly.
curl/libcurl version
master branch
operating system
DragonflyBSD 5.8+