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
8 files changed
tree: 0f6cd97712720452d89c95bd9fde17459168b2d0
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

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.