diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2020-02-03 16:56:53 +0800 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2020-02-03 16:56:53 +0800 |
commit | 1f4ae3d62f695129ee363ec69a115413e25a6c20 (patch) | |
tree | 3274adf863410268aa94f77fe5e70b3d41a292d6 /control-spec.txt | |
parent | f04179f254f7ef226c9bd01dd2b0927d9433e078 (diff) | |
download | torspec-1f4ae3d62f695129ee363ec69a115413e25a6c20.tar.gz torspec-1f4ae3d62f695129ee363ec69a115413e25a6c20.zip |
Clarify about empty GETCONF request
Diffstat (limited to 'control-spec.txt')
-rw-r--r-- | control-spec.txt | 5 |
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" |