Topic: [SOLVED] wolfSSH window adjustment
Hi,
I currently implemented a SSH server based on the current wolfSSH v1.0.0 from github, orienting on the example echoserver, that is included.
When I am trying to send a huge amount of data to the client, calling wolfSSH_stream_send, it stops sending data after a specific amount. I found out, that the peer window size (channel->peerWindowSz) gets decreased with every call of wolfSSH_stream_send, but never gets increased anymore. When the value of channel->peerWindowSz reachess zero, the call of wolfSSH_stream_send does not send any data and returns with "0".
So how should the software behave in this case? Is there maybe a possibility to do a window adjustment in order to send all data?
Thanks,
Marco