Quantcast
Channel: Chilkat Forum - latest questions
Viewing all articles
Browse latest Browse all 1061

SSH Tunnel hanging when transfering too much data

$
0
0

I'm using ssh tunnel for getting data from a mysql-server via adodb. With the old library ChilkatSSh Version 9.4.1 all is running perfectly.

For testing I changed to ChilkatAx-9.5.0-win32.dll. Therefor I had to change some parts in the source: The new one needs an explicit lngSuccess = sshTunnel.Connect(strSshHostname, lngSshPort) and KeyFile-Authentification is done by lngSuccess = sshTunnel.AuthenticatePk(strSshLogin, sshKey)

The old one uses properties: sshTunnel.SshHostname = "xxx.com" sshTunnel.SshPort = 22 sshTunnel.SshLogin = "username" and Authentification is done by lngSuccess = sshTunnel.SetSshAuthenticationKey(sshKey)

After
lngSuccess = sshTunnel.BeginAccepting(lngListenPort) (thats identical for both the new and the old lib) I connect the DB via adodb.

I have no differences in DB-handling-code, but the new lib hangs when the amount of data exceeds a level. Then I tested the tunnel with heidi, connection to the DB is no problem, I can retreive the table-list, but when the result of the query exceeds a certain level, heidi is hanging up. E.g. the query Select * From Articles Limit 100 is running fine, Select * From Articles Limit 1000 is hanging up.

The only difference is the lib I'm using.

Is it a bug?


Viewing all articles
Browse latest Browse all 1061

Trending Articles