TscSSHChannel question
Posted: Wed 28 May 2008 16:23
Hi,
I am using securebridge to tunnel PostgreSQL/MySQL connections and I have everything working, but when I run a long running query through the channel it blocks the entire application.
Does the channel object need to reside in a seperate thread? I thought that when I connected the channel it would spawn it's own thread.
What about the sshclient, does it's listener run in a thread or should I be putting that in a seperate thread as well?
Thanks,
Snorkel
I am using securebridge to tunnel PostgreSQL/MySQL connections and I have everything working, but when I run a long running query through the channel it blocks the entire application.
Does the channel object need to reside in a seperate thread? I thought that when I connected the channel it would spawn it's own thread.
What about the sshclient, does it's listener run in a thread or should I be putting that in a seperate thread as well?
Thanks,
Snorkel