commit | ecc72a33bfed546af8a6bd6d10fef419fe9db0e3 | [log] [tgz] |
---|---|---|
author | Asim Shankar <ashankar@google.com> | Thu Aug 21 22:49:40 2014 -0700 |
committer | Asim Shankar <ashankar@google.com> | Thu Aug 21 22:49:40 2014 -0700 |
tree | 6de4d725ada5a6430c27a0065b76e36dd2d75437 | |
parent | 701cdc638fd7e32cac784c9483a8f60983a08fd2 [diff] |
veyron/runtimes/google/ipc/stream/vif: Handle caching of VIFs over unix sockets correctly. By not caching them at all. With net.Conns on Unix sockets, distinct unix sockets do not end up with distinct net.Conn.RemoteAddr (the "address" field is empty). Avoid using the cache for these cases. Added unittests that fail without the fix to set.go. Change-Id: I1373398a05e0d5efc2db18f82e94f1c21b7d9e6e