jgit/org.eclipse.jgit.ssh.apache/resources
Thomas Wolf 2345cc88d0 sshd: don't lock the known_hosts files on reading
Similar to git config file reading lock the file only when writing.
There may still be lock conflicts on writing, but those in the worst
case result in an entry not being added and thus being asked for later
again.

Because the OpenSshServerkeyDatabase and its HostKeyFiles may be (and
usually are) shared between different SSH sessions, we still need to
ensure in-process mutual exclusion.

Bug: 559548
Change-Id: I4af97628deff9eaac2520576917c856949f2680d
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2021-04-01 19:01:32 +02:00
..
META-INF/services Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
org/eclipse/jgit/internal/transport/sshd sshd: don't lock the known_hosts files on reading 2021-04-01 19:01:32 +02:00