xinghhhhhhh commented on issue #855:
URL: https://github.com/apache/mina-sshd/issues/855#issuecomment-3615022195

   > In any case: `Files.isDirectory(path)` is a remote operation, which you 
probably want to avoid for logging. Why don't you you simply do `localHandle 
instanceof DirectoryHandle ? "dir" : "file"` instead?
   
   At present, the main problem is that after I delete the corresponding log 
operation, in 2.13.2, when I execute ls after the sftp connection is 
successfully established, it will block for a long time, and then in 2.16.0, it 
will be alleviated for about 20 seconds. In 2.9.2, this problem is not found, 
ls will return soon. The test code used did not change, only the version of 
sshd was switched


-- 
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