commit | 12d9aa67e68a833cfbb3b7d5ecddd8c9f5e3fc5f | [log] [tgz] |
---|---|---|
author | Clark Boylan <clark.boylan@gmail.com> | Fri Mar 17 09:56:09 2017 -0700 |
committer | Clark Boylan <clark.boylan@gmail.com> | Fri Mar 17 10:34:00 2017 -0700 |
tree | 6f3acd1cc0f8f76a016266142548f524f28b527f | |
parent | 773651ad7bf0fc6adba2357173ffb657d874478a [diff] |
Close paramiko connections explicitly We have observed at least one case in the wild where an unreadable ssh private key file results in thousands of connections being made to Gerrit over a relatively short period of time. We expect this is due to newer paramiko behavior that requires you explicitly close connections (even when they fail). Fix this by adding explicit client closes. Change-Id: I713cb704ac24db5d38cd9c0c2d60962dca647f75 Story: 2000923