baiglin commented on issue #904:
URL: https://github.com/apache/mina-sshd/issues/904#issuecomment-4852144994

   Hi @tomaswolf , sorry to bother you with this one again, on our side we have 
implemented a ChannelListener, that compute statistics around the Window 
adjust, one remark:
    
   - In the method for state changes we only get in the hint the sftp command 
(SSH_MSG_CHANNEL_WINDOW_ADJUST) without the value of the window adjust... And 
sometimes when I access the remoteWindow Size 
(channel.getRemoteWindow().getSize()) right after it is already down to 0... 
And we agree it is impossible we receive WINDOW ADJUST with a value of 0....
    
   ```
     @Override
     public void channelStateChanged(Channel channel, String hint) {
   ```
   
   Long story short I cannot precisely confirm that the server sends huge 
amount tiny Window Adjust but it looks like this.... And DEBUG logs does not 
help for previous reasons, while here I am free to propagate context to 
correlate my logs...
   
   Second question is if I wanted to show that WE on client side are waiting on 
the server to allocate more space on the window to send data (Meaning remote 
size is 0 and we wait for server to send Window Adjust), do  you have hint on 
how we could do, I dug and could not find easy way... 
   
   Here we have the feeling that the few really slow transfer are due to the 
server struggling to read data and for some reason send an insane amount of 
small window adjust....


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to