flow/manager: Fix caching of connections.

Connections should not be keyed by blessingNames, instead the
blessingNames are compared upon retrieval from the cache (only
if the conn is not to a proxy).

This ensures that connections to proxies from servers aren't replaced
from the cache when a server makes a connection through the proxy
(acting as a client). The blessings of the end server were incorrectly
being used in the caching of connection to the proxy.

Change-Id: I4a30f3610820be6dd704095653612481bebff627
27 files changed
tree: 4d5eb18590786d61668e7ab6efe7b4befbb0051d
  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.