commit 224b202ee31203b5b7036e159d796ed768d4113c Author: Damian Johnson atagar@torproject.org Date: Wed Aug 12 18:02:53 2020 -0700
Add CONTROLLER_WAIT stream status
Stream event status added in...
https://gitweb.torproject.org/torspec.git/commit/?id=8761aa0 --- stem/__init__.py | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/stem/__init__.py b/stem/__init__.py index ce8d70a9..5e45aab0 100644 --- a/stem/__init__.py +++ b/stem/__init__.py @@ -251,19 +251,20 @@ Library for working with the tor process. State that a stream going through tor can have. Tor may provide states not in this enum.
- ================= =========== - StreamStatus Description - ================= =========== - **NEW** request for a new connection - **NEWRESOLVE** request to resolve an address - **REMAP** address is being re-mapped to another - **SENTCONNECT** sent a connect cell along a circuit - **SENTRESOLVE** sent a resolve cell along a circuit - **SUCCEEDED** stream has been established - **FAILED** stream is detached, and won't be re-established - **DETACHED** stream is detached, but might be re-established - **CLOSED** stream has closed - ================= =========== + =================== =========== + StreamStatus Description + =================== =========== + **NEW** request for a new connection + **NEWRESOLVE** request to resolve an address + **REMAP** address is being re-mapped to another + **SENTCONNECT** sent a connect cell along a circuit + **SENTRESOLVE** sent a resolve cell along a circuit + **SUCCEEDED** stream has been established + **FAILED** stream is detached, and won't be re-established + **DETACHED** stream is detached, but might be re-established + **CONTROLLER_WAIT** awaiting a controller's ATTACHSTREAM request + **CLOSED** stream has closed + =================== ===========
.. data:: StreamClosureReason (enum)
@@ -917,6 +918,7 @@ StreamStatus = stem.util.enum.UppercaseEnum( 'SUCCEEDED', 'FAILED', 'DETACHED', + 'CONTROLLER_WAIT', 'CLOSED', )