For issue JDBC-279 I am implementing connect timeout support in Jaybird. 
For the pure java driver I got it working, but it fails for the native 
driver.

As far as I understand it, adding isc_dpb_connect_timeout with a 4-byte 
integer to the dpb should be sufficient, where the value is the connect 
timeout in seconds.

I did that with a timeout value of 1 (second), but the connect attempt 
to a non-existent IP address times out at 44 seconds instead of the 
expected 1 second.

Am I missing something?

Mark
-- 
Mark Rotteveel

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to