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

RE: Packet corrupt when high latency


Thank you Andreas.


Mark Anthony G. Santos
Sr. Software Engineer, Product Development
office: 63 976-3600 ext. 779630 | mobile: 63 9423794048
markanthony.santos@xxxxxxxxx / / http://www.infor.com


-----Original Message-----
From: Andreas Schneider [mailto:asn@xxxxxxxxxxxxxx] 
Sent: Tuesday, September 22, 2015 4:53 PM
To: libssh@xxxxxxxxxx
Subject: 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


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>
Re: Packet corrupt when high latencyAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org