commit | 1e2b4333e3e8c08dcfa7e9807ae333ecd0e648a3 | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Fri Oct 16 18:48:48 2015 -0700 |
committer | Suharsh Sivakumar <suharshs@google.com> | Fri Oct 16 18:48:48 2015 -0700 |
tree | d12cbb1ed7e12cff6ec50eec805a60c12981851c | |
parent | 45ad4285ef457d0b200e2a0af2b0cd949feaa31d [diff] |
flow/manager: Fixes to cache and sending proxy connections. (1) First this change ensures that we don't dial an additional proxy connection to remote endpoints that have a null routing id (i.e. host:port only endpoints) (2) Additionally, there was a bug in how we cached connections. We looked up connections based on resolved network and address, but cached connections based on the provided endpoint's network and address. This causes two connections to be made for the same remote host:port endpoint. This normally wasn't noticed, but breaks since the type flow needs the guarantee that its on the same connection as its real flow. We fix this by caching on the resolved network and address. Change-Id: Ibc90eac54823ee103e24fb6139ead0f5862f4ee3
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.