Re: [PATCH] Configurable TCP KeepAlives

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.