Skip to Content.
Sympa Menu

freetds - Re: Does 'connect timeout' option in freetds.conf work?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James Cameron <james.cameron AT compaq.com>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Does 'connect timeout' option in freetds.conf work?
  • Date: 16 Apr 2002 08:59:01 +1000

While I didn't write that section, my coding fingers have been in it
recently.

On Tue, 2002-04-16 at 00:22, Nick Brandon wrote:
> Reading the user guides suggests that an option 'connect timeout' is
> available. Does this function work because the tests I'm doing at the
> moment would suggest it isn't.
> i.e. When trying to connect to a IP address of a server that is not
> available. TDS waits until the linux network stack returns an error code.

Are any errors displayed on the error output stream?

> I noticed in the source code of the latest TDS snapshot there is code
> relating to the connect timeout option but not sure what exactly it is
> doing.

I added code there a few days ago because it wasn't testing the return
status of certain calls.

I know there is at least one other latent issue in there, which is that
an asynchronous connect() call can complete immediately instead of being
deferred. However, I did not think this would happen so I didn't spend
the effort to fix it.

Can you gather more information? What error do you see? How many
seconds before the error appears? How many seconds did you enter into
the configuration file?

--
James Cameron (james.cameron AT compaq.com)

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page