freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] SO_LINGER options and l_linger value
- From: "James K. Lowden" <jklowden AT schemamania.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] SO_LINGER options and l_linger value
- Date: Sun, 18 Jul 2004 15:15:55 -0400
On Sun, 18 Jul 2004 <freddyz77 AT tin.it> wrote:
> SO_LINGER code removed from CVS.
Thanks. :-)
> I'm not convinced about SO_KEEPALIVE. If client have to receive a lot
> of data and wire got unplugged it keeps waiting.
I'll look at it again when I get to the timeout code.
AIUI, what's supposed to happen is that select(2) returns 0 on a timeout.
By default, a TDS connection has no timeout, so a reading client waits
forever. But, we can allow the client to set a query timeout (dbsettime).
The select(2) in read.c::goodread() should honor that timeout.
--jkl
-
[freetds] SO_LINGER options and l_linger value,
Vlad Lyalikov, 07/16/2004
-
Re: [freetds] SO_LINGER options and l_linger value,
James K. Lowden, 07/17/2004
-
Re: [freetds] SO_LINGER options and l_linger value,
Frediano Ziglio, 07/18/2004
- Re: [freetds] SO_LINGER options and l_linger value, James K. Lowden, 07/18/2004
-
Re: [freetds] SO_LINGER options and l_linger value,
Frediano Ziglio, 07/18/2004
-
Re: [freetds] SO_LINGER options and l_linger value,
James K. Lowden, 07/17/2004
Archive powered by MHonArc 2.6.24.