summaryrefslogtreecommitdiff
path: root/crates/tor-hsservice/src/status.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-hsservice: Add functions to update the IPT mgr/publisher states.Gabriela Moldovan2023-12-111-7/+21
| | | | Part of #1083
* tor-hsservice: Derive service state from the state of its components.Gabriela Moldovan2023-12-111-1/+20
| | | | | | | | | | | | | | We need to know the status of each component to be able to report the overall status of the service. Without this change, the service (and its components) have no way of knowing if a given transition is valid: if the state of a component (say, the IPT manager) is `Bootstrapping`, `Recovering` or `Broken`, a transition out of the current state is only valid if it is initiated by the same component that caused the current state (for example, if the publisher sets the state to `Recovering`, the IPT manager should not be allowed to trigger an overall state transition to `Running`). Part of #1083
* tor-hsservice: Trim trailing whitespace.Gabriela Moldovan2023-12-111-1/+1
|
* Add a "Shutdown" status, and clarify places where status should change.Nick Mathewson2023-12-071-2/+8
|
* Add a status API to OnionService.Nick Mathewson2023-12-071-5/+147
| | | | | | (This doesn't yet send any status events.) Begins work on arti#1083.
* hsservice: Adapt data structures from onion-service-notes.mdNick Mathewson2023-07-311-0/+6
| | | | | | | Also, removed some older structures that don't make sense in the current design. Closes #970
* Downgrade every "TODO HS" in tor-hsserviceNick Mathewson2023-06-201-1/+1
| | | | These are all service-specific, and not client-specific.
* Sketch an API for onion services.Nick Mathewson2023-01-241-0/+4