[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Packet corrupt when high latency
[Thread Prev] | [Thread Next]
- Subject: Re: Packet corrupt when high latency
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 22 Sep 2015 10:52:59 +0200
- To: libssh@xxxxxxxxxx
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
| RE: Packet corrupt when high latency | Mark Anthony Santos <MarkAnthony.Santos@xxxxxxxxx> |
| Packet corrupt when high latency | Mark Anthony Santos <MarkAnthony.Santos@xxxxxxxxx> |
| Re: Packet corrupt when high latency | Andreas Schneider <asn@xxxxxxxxxxxxxx> |
| RE: Packet corrupt when high latency | Mark Anthony Santos <MarkAnthony.Santos@xxxxxxxxx> |