Hello,
we encountered what it seems a rare bug. We tried to send an SSH message of 
length more than 200kB and most of the time the other end read it correctly, 
but the message directly following (of length 4B) was lost somewhere. The 
strange thing is that it did not happen every single time and never when 
communicating using localhost.

I tried to debug it myself, but I failed to find the problem. Even when testing 
it with libssh verbosity 3, all the writes and reads just confirmed this, it 
was successfully written, but failed to be read. Also, if I divided the big 
message into at least 2 separate writes, it solved the problem. Did anyone 
encounter it? Anyone should be able to reproduce it because out software is 
open-source, link to the github issue [1]. Thank you for any assistance.

Kind regards,
Michal vasko

[1] https://github.com/CESNET/Netopeer2/issues/14

Reply via email to