Skip to Content.
Sympa Menu

freetds - Re: [freetds] [PATCH] Configurable TCP KeepAlives

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [PATCH] Configurable TCP KeepAlives
  • Date: Mon, 11 Aug 2008 10:07:05 -0400

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




Archive powered by MHonArc 2.6.24.

Top of Page