Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Issue: BadMessage on write [1302]

$
0
0
<p>When I Write file using large chunks over lan connection the packets sometimes flood the server resauilting with BadMessage with any subsequent call. It can be solved by using CountdownEvent in WriteRequest.</p><br>
Comments: ** Comment from web user: olegkap **

Well,
Actually what happens now is that I count how many chunks I sent and I exit only when I receive response to all requests sent.
In my tests it actually happened that it always manage to send 6 chunks at a time.
I just got another idea overnight so will try to refactor this piece of code even further but the idea remains to send out as many chunks at a time as possible and then simply to wait for all of them to be processed.

Thanks,
Oleg


Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>