commit | e684d69fa4a8f5f2c3293316e6407bb99151e200 | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Wed Jan 06 10:47:19 2016 -0800 |
committer | Suharsh Sivakumar <suharshs@google.com> | Wed Jan 06 10:52:25 2016 -0800 |
tree | f155e44c7b3317193545c23965c117155c7ce44d | |
parent | 1dca8f4626c77eed34c900e25f3e15e8b48d7b11 [diff] |
ref: Set root cancel on context of encapsulated flows in Conn. Proxied RPCs were failing in the following scenario: A starts proxied RPC 1 to B with ctx, cancel. A starts proxied RPC 2 to B. RPC 1 completes and A calls cancel. RPC 2 fails. This was happening because cancel was closing the encapsulated proxy flow. The solution is to use SetDeadlineContext to set the ctx on the flow the RootCancel context used in the setup of the encapsulating Conn. Change-Id: I56455d52ee6dcd579fa1e92c00ce63ddb49e18f9
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.