[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] what to do on a failed setconf was a bit unspecified



Update of /home2/or/cvsroot/tor/doc
In directory moria:/home/arma/work/onion/cvs/tor/doc

Modified Files:
	control-spec.txt 
Log Message:
what to do on a failed setconf was a bit unspecified


Index: control-spec.txt
===================================================================
RCS file: /home2/or/cvsroot/tor/doc/control-spec.txt,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- control-spec.txt	1 Nov 2005 06:27:43 -0000	1.58
+++ control-spec.txt	17 Nov 2005 22:01:24 -0000	1.59
@@ -115,9 +115,10 @@
   is an error in any of the configuration settings, Tor sets none of them.
 
   Tor responds with a "250 configuration values set" reply on success.
-  Tor responds with a "513 syntax error in configuration values" reply on
-  syntax error, or a "553 impossible configuration setting" reply on a
-  semantic error.
+  If some of the listed keywords can't be found, Tor replies with a
+  "552 Unrecognized option" message. Otherwise, Tor responds with a
+  "513 syntax error in configuration values" reply on syntax error, or a
+  "553 impossible configuration setting" reply on a semantic error.
 
   When a configuration option takes multiple values, or when multiple
   configuration keys form a context-sensitive group (see GETCONF below), then
@@ -151,7 +152,7 @@
       250 keyword
 
   If some of the listed keywords can't be found, Tor replies with a
-   "552 unknown configuration keyword" message.
+  "552 unknown configuration keyword" message.
 
   If an option appears multiple times in the configuration, all of its
   key-value pairs are returned in order.