commit | 6b8247e6f4a58198dfe218826a38dc93e29dbe03 | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Sun Oct 11 15:29:43 2015 -0700 |
committer | Suharsh Sivakumar <suharshs@google.com> | Sun Oct 11 15:29:43 2015 -0700 |
tree | 0f6cd97712720452d89c95bd9fde17459168b2d0 | |
parent | 327f0ebfad16d21cc046b4899ba97704f8d8994d [diff] |
flow/conn: Finish authentication in new protocol. This cl does the following: (1): Fixes deadock in lnAcceptLoop that was preventing discharges from being fetched because the mt would get blocked. (2): Unreserves the conncache for a connection after the connection is made, not after a flow is made on the connection. (3): Dialers who want to act as servers send their discharges in a non-blocking thread. This prevents deadlock during the auth handshake when a client is talking to a mounttable. This involved overhauling the blessingsFlow (most of the code). (4): Propagates the ctx used in StartCall to all lower calls in the call tree. This is important for the skipDischarges{} boolean to be received from the ctx. Change-Id: If49a74d196e64993a0bff0d27533aa8ae9b7e6e0
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.