-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix usage vs. cookie race condition; rename STATE_IDLE -> STATE_STANDBY
There was a race condition where if the cookie would arrive first, a subsequent usage information would be discarded. To fix that, we (a) only ask for usage, not the cookie, when we contact the server for the first time (this also was the original behavior), and (b) we accept usage information even after we already moved to STATE_STANDBY.
- Loading branch information
Showing
1 changed file
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters