commit | 8b9601f728c9fd7744460a1d436b96859d68e0dc | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Thu Apr 28 13:31:28 2016 -0700 |
committer | Suharsh Sivakumar <suharshs@google.com> | Thu Apr 28 13:31:28 2016 -0700 |
tree | 2c2148fb23b3a4b2735c540a29ef0c18687960e2 | |
parent | 634a4e9e2a6eb48da53a61e6521452a9052e8e38 [diff] |
manager/conncache: Fix deadlocked conncache. (1) Ensure that RemoteDischarges calls unblock when the connection is closed. (2) Release the ConnCache lock when calling AuthorizePeer since it can now hang if a remote end never sends Discharges. - note that the implementation results in a few unnecessary locks, but the alternative increased code complexity tremendously. Change-Id: Ie372a6cae61eca4c776190dd4a637478a1dc9ce5
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.