aboutsummaryrefslogtreecommitdiff
path: root/control-spec.txt
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2020-02-03 16:56:53 +0800
committerrl1987 <rl1987@sdf.lonestar.org>2020-02-03 16:56:53 +0800
commit1f4ae3d62f695129ee363ec69a115413e25a6c20 (patch)
tree3274adf863410268aa94f77fe5e70b3d41a292d6 /control-spec.txt
parentf04179f254f7ef226c9bd01dd2b0927d9433e078 (diff)
downloadtorspec-1f4ae3d62f695129ee363ec69a115413e25a6c20.tar.gz
torspec-1f4ae3d62f695129ee363ec69a115413e25a6c20.zip
Clarify about empty GETCONF request
Diffstat (limited to 'control-spec.txt')
-rw-r--r--control-spec.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/control-spec.txt b/control-spec.txt
index cdd1af3..64a70fc 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -307,7 +307,8 @@
3.3. GETCONF
- Request the value of a configuration variable(s). The syntax is:
+ Request the value of zero or more configuration variable(s).
+ The syntax is:
"GETCONF" *(SP keyword) CRLF
@@ -332,6 +333,8 @@
If an option appears multiple times in the configuration, all of its
key-value pairs are returned in order.
+ If no keywords were provided, Tor responds with "250 OK" message.
+
Some options are context-sensitive, and depend on other options with
different keywords. These cannot be fetched directly. Currently there
is only one such option: clients should use the "HiddenServiceOptions"