tcpkeepalive: Support CURLOPT_TCP_KEEPIDLE on OSX
authorRobert Wruck <rwruck@users.sf.net>
Mon, 8 Apr 2013 21:13:05 +0000 (23:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Apr 2013 21:13:05 +0000 (23:13 +0200)
commit29fdb2700f7979e71b8828c18e0e157a44b6db53
tree18d7ef5a26bdee0fb7859664fc9d3e9498e57ed4
parent32144ca2411d9ab9a9e907598cca7e89f99a6e55
tcpkeepalive: Support CURLOPT_TCP_KEEPIDLE on OSX

MacOS X doesn't have TCP_KEEPIDLE/TCP_KEEPINTVL but only a single
TCP_KEEPALIVE (see
http://developer.apple.com/library/mac/#DOCUMENTATION/Darwin/Reference/ManPages/man4/tcp.4.html).
Here is a patch for CURLOPT_TCP_KEEPIDLE on OSX platforms.
lib/connect.c