Page 1 of 1

Bug report: SB doesn't detect disconnection from the Inet

Posted: Mon 06 Dec 2010 23:05
by zd
Hi!

I tried what you suggested in the other thread and so now I'm filing a bug report.

Here is how to reproduce the bug:

Set up two computers in a Wifi network, have a Firebird server / SB SSH Server running on one of the them, then an IBDAC client / SB SSH Client running on the other.

Set TCPKeepAlive to true on both SB client/server.

Now if you disconnect either the client or the server from the Internet (by disabling Wifi on your laptop for example) the SB SSH Client won't detect the loss of connection - no AfterDisconnect event is generated. If your client makes a DB query on the FB server using IBDAC, the program will hang indefinetely. (If you're using the IBCAlerter no "unknown ISC error 0" msg will be generated either)

The same stands if you hibernate either the client or server computer - no AfterDisconnect event is generated.

If you simply turn off the SSH Server program (or service) the event is generated and everything is fine.

Please look into this issue.

Thanks!

Posted: Tue 07 Dec 2010 14:34
by Dimon
I can not reproduce the problem. Can you give me the network address of your SSH server where I can connect for testing?