RE: How to control Connection timeout?

[email protected]
Newsgroups gmane.comp.security.zebedee.general
Message-ID <ADEC16A81CFF17489F5A2A9E1D2226DE04390679@i2km41-ukdy.domain1.systemhost.net>
Hi,

> We are trying to use the excellent Zebedee in a rather critical
> environment.
> We have one problem though. For us it is important that the Zebedee
> client returns and reports an error quickly in case of some failure.
> It seems like the connection timeout (used when the client cannot reach
> the server host at all) is set to 76 seconds, which is far too much to us.
>
> I have tried all the different timeout directives in the config file
> (tcptimeout, readtimeout, connectimeout ...) but none of them seems
> to affect this one. Is there a way to do it today? If not, could this
> feature be added?

Unfortunately, this connection timeout is not under Zebedee's control --
it's happening at the TCP/IP network level. While you may be able to play
around with various registry settings to change this (see, for example,
http://www.windows2000faq.com/Articles/Index.cfm?ArticleID=15004) this will
affect all TCP/IP connections from the machine -- which may not be what you
want.

It would be possible for Zebedee to apply timeouts for these connections,
but it requires a change to make a non-blocking connect. This isn't trivial,
but I'll consider it for the future (sooner if someone submits a patch :-)

	Regards,
		Neil


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
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.