GitHub user lgoldstein opened a pull request:
https://github.com/apache/mina-sshd/pull/50
[SSHD-812] Made SftpSubsystem more thread-safe
Attached is my suggestion for the code changes:
* Split the `SftpSubsystem` functionality further to
`AbstractSftpSubsystemExecutor` by leaving the decision how to run it to the
concrete implementation.
* All "dangerous" access protected via _synchronized_ blocks
* Many _protected_ hooks for concrete classes - with concurrency in mind
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lgoldstein/mina-sshd SSHD-812
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mina-sshd/pull/50.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #50
----
commit 01157272ac94739d0f980d2ddd3246f9f40b3270
Author: Goldstein Lyor <lyor@...>
Date: 2018-04-08T14:12:35Z
[SSHD-812] Made SftpSubsystem more thread-safe
----
---