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

   I've seen this issue you reported. Don't know when I will have time to try 
to reproduce and then analyze this.
   
   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?
   
   I'm also confused as to why your event listener logs `TEST LOG: Open file: 
/`. Surely `/` is a _directory_?


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