TerraNibble commented on issue #427:
URL: https://github.com/apache/mina-sshd/issues/427#issuecomment-1936151679

   It appears that this is caused by an initial ACK not being processed when 
the initial channel is open, then the following sequence of ACKs are not 
processed in the correct order, which leaves a trailing ack at the end which 
races with channel closure.
   
   `runUpload` is different here because it passes `ScpHelper.send` as an 
executor method which reads this first initial ACK immediately at line 
ScpHelper:414.
   
   I will submit a PR, though I am sure of the protocol here so please ensure 
this fix would not be server dependent. 


-- 
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: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to