commit | 45f0ab9521d6c7b6b28765826aa66f159b1ba443 | [log] [tgz] |
---|---|---|
author | Bogdan Caprita <caprita@google.com> | Fri Jun 03 12:23:48 2016 -0700 |
committer | Bogdan Caprita <caprita@google.com> | Fri Jun 03 22:08:00 2016 +0000 |
tree | ad507c672dbbbdae96222031b78b830148eb9da4 | |
parent | 1b8e8d49d92b46bea5ee540d25e46185a7941d16 [diff] |
allocator: fix the debug UI The debug UI is broken because the handler now expects both the instance and mount name (and associated HMAC) to be present in the request. However, links generated by the debug browser code only fill in the mount name parameter. Rather than change the debug browser code to pass the instance name, this CL figures out ownership based on the mount name and the email from the login cookie. It expands the cache to hold all instances belonging to a given email, and uses that cache both to look up ownership by instance name or by mount name. One advantage is that once a given email's cache entry is refreshed, all their instances will result in quick cache hits. Independently, increase cookie validity to 1 week. Change-Id: Id92caad1496d4519022d661aadb680dff53c554f
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.