[tor-dev] Proposal 286: Controller APIs for hibernation access on mobile

meejah meejah at meejah.ca
Fri Dec 8 16:37:17 UTC 2017


Nick Mathewson <nickm at torproject.org> writes:

>    We define a new "GETINFO status/hibernation" to inspect the
>    current hibernation state.  Possible values are:
>      - "live"
>      - "idle:control"
>      - "idle:no-activity"
>      - "sleep:control"
>      - "sleep:accounting"
>      - "idle-update:control"
>      - "sleep-update:control"
>      - "shutdown:exiting"
>      - "shutdown:accounting"
>      - "shutdown:control"

To me this smells like it should be two different things rather than
overloading "one" state to become two and have all users have to parse
colons. e.g. "status/hibernation" and "status/hibernation-reason" or
similar.

-- 
meejah


More information about the tor-dev mailing list