freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT freetds.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] How to cancel ct_results ?
- Date: Tue, 15 Sep 2009 22:05:39 -0400
Jarek wrote:
> when connection to database
> is lost just before call to ct_results, my application hangs. It looks
> that ct_results doesn't return in such case.
It might be the case. Timeout logic is tricky, and no one has done much
with the ct-lib code since I re-wrote the libtds layer to correctly handle
timeouts (for the first time) in db-lib. What ct-lib needs is someone
with interest and knowledge to apply himself to the problem.
What you could do is add a src/ctlib/unittests/timeout.c to demonstrate
the problem. That could be used to verify it and perhaps spur someone
into fix it, if fixing it needs.
HTH.
--jkl
-
[freetds] How to cancel ct_results ?,
Jarek, 09/15/2009
-
Re: [freetds] How to cancel ct_results ?,
James K. Lowden, 09/15/2009
-
Re: [freetds] How to cancel ct_results ?,
jarek, 09/16/2009
- Re: [freetds] How to cancel ct_results ?, James K. Lowden, 09/16/2009
-
Re: [freetds] How to cancel ct_results ?,
jarek, 09/16/2009
-
Re: [freetds] How to cancel ct_results ?,
James K. Lowden, 09/15/2009
Archive powered by MHonArc 2.6.24.