[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packet corrupt when high latency


On Tuesday 22 September 2015 08:28:55 Mark Anthony Santos wrote:
> Thanks!
> 
> But I'm not using pthread in my application. I'm using windows thread. I'm
> not pretty sure if sshlib supports threads other than pthread.

Just for you a copy & paste and the most important sentence highlighted:

At all times, you may use different sessions inside threads, make parallel 
connections, read/write on different sessions and so on.

    *You cannot use a single session (or channels for a single session) in
     several threads at the same time.*

This will most likely lead to internal state corruption. This limitation is 
being worked out and will maybe disappear later.

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

Follow-Ups:
RE: Packet corrupt when high latencyMark Anthony Santos <MarkAnthony.Santos@xxxxxxxxx>
References:
Packet corrupt when high latencyMark Anthony Santos <MarkAnthony.Santos@xxxxxxxxx>
Re: Packet corrupt when high latencyAndreas Schneider <asn@xxxxxxxxxxxxxx>
RE: Packet corrupt when high latencyMark Anthony Santos <MarkAnthony.Santos@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org