aboutsummaryrefslogtreecommitdiff
path: root/control-spec.txt
diff options
context:
space:
mode:
authorDamian Johnson <atagar@torproject.org>2018-12-14 11:18:10 -0800
committerDamian Johnson <atagar@torproject.org>2018-12-14 11:53:31 -0800
commit1680b2e17e5f385923f9521c0f961ade45b76b4d (patch)
tree81e7e7ef8cf967b49c9035b3d77c92d1f1369528 /control-spec.txt
parent18fcb9ab42cca4ce963202a22cd1f93f68ecd57c (diff)
downloadtorspec-1680b2e17e5f385923f9521c0f961ade45b76b4d.tar.gz
torspec-1680b2e17e5f385923f9521c0f961ade45b76b4d.zip
Add DROPOWNERSHIP command
New command added courtesy of Nick (thanks Nick!). https://trac.torproject.org/projects/tor/ticket/28843
Diffstat (limited to 'control-spec.txt')
-rw-r--r--control-spec.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/control-spec.txt b/control-spec.txt
index ae4a417..cdfd7c5 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -1801,6 +1801,24 @@
[HSPOST was added in Tor 0.2.7.1-alpha]
+3.23. DROPOWNERSHIP
+
+ The syntax is:
+ "DROPOWNERSHIP" CRLF
+
+ This command instructs Tor to relinquish ownership of its control
+ connection. As such tor will not shut down when this control
+ connection is closed.
+
+ This method is idempotent. If the control connection does not
+ already have ownership this method returns successfully, and
+ does nothing.
+
+ The controller can call TAKEOWNERSHIP again to re-establish
+ ownership.
+
+ [DROPOWNERSHIP was added in Tor 0.4.0.0-alpha]
+
4. Replies
Reply codes follow the same 3-character format as used by SMTP, with the