[freetds] [PATCH] Configurable TCP KeepAlives

James K. Lowden jklowden at freetds.org
Mon Aug 11 10:07:05 EDT 2008


Andrew Victor wrote:
> The attached patch allows the TCP KeepAlive settings to be
> configurable via the freetds.conf file.
> The new settings are:
>    keepalive idle             (seconds)
>    keepalive interval      (seconds)
>    keepalive count         (counter)

I don't intend to apply this patch to the distributed code.  AFAIK Sybase
provides no such control over low-level TCP/IP details.  For most people
they're a source of confusion and potential error.  

I haven't been able to look into it carefully, but it wouldn't be
difficult to expose the socket descriptor for a connection, if it's not
already possible.  The application could then call ioctl(2) itself.  

--jkl



More information about the FreeTDS mailing list