From 1f4ae3d62f695129ee363ec69a115413e25a6c20 Mon Sep 17 00:00:00 2001 From: rl1987 Date: Mon, 3 Feb 2020 16:56:53 +0800 Subject: Clarify about empty GETCONF request --- control-spec.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'control-spec.txt') 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" -- cgit v1.2.3-54-g00ecf