Subject: Re: win32 tunneling

Re: win32 tunneling

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 May 2009 13:12:46 +0200 (CEST)

On Tue, 19 May 2009, Roman Kubiak wrote:

> before i do that the first thing i should've asked is are the channels
> session thread safe

Please don't do those very confusing top-posts.

libssh2 is thread-safe, but sessions must not be used in more than one thread
at a time, and all handles that are based on sessions are under the same
restructions.

> one session and many channels, each channel gets it's own thread

... is thus doomed to fail.

-- 
  / daniel.haxx.se
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-05-19