DragonFly uses the unit of millisecond for TCP_KEEPIDLE and TPC_KEEPINTVL rather than second.
Patch attached ( copy of http://cvsweb.se.netbsd.org/cgi-bin/bsdweb.cgi/pkgsrc/www/curl/patches/patch-lib_connect.c )
Are you sure this is for DragonFly only or is this common among other BSD flavours as well?
As far as I know, it is not common and only affects DragonFly. I imagine if it were wrong on multiple BSDs, somebody else would have complained by now. ;)
Thanks for the report, this problem is now fixed in the git repository.
To try it out, you either checkout/update your git clone: http://curl.haxx.se/source.html
or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.