[or-cvs] Clarify behavior of SETEVENTS: it is SET, not ADD.

Nick Mathewson nickm at seul.org
Fri Mar 25 05:49:03 UTC 2005


Update of /home/or/cvsroot/tor/doc
In directory moria.mit.edu:/tmp/cvs-serv31410/doc

Modified Files:
	control-spec.txt 
Log Message:
Clarify behavior of SETEVENTS: it is SET, not ADD.

Index: control-spec.txt
===================================================================
RCS file: /home/or/cvsroot/tor/doc/control-spec.txt,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- control-spec.txt	24 Mar 2005 06:29:28 -0000	1.30
+++ control-spec.txt	25 Mar 2005 05:49:01 -0000	1.31
@@ -163,7 +163,8 @@
 
   Request the server to inform the client about interesting events.
   The body contains a list of 2-byte event codes (see "event" below).
-  Sending SETEVENTS with an empty body turns off all event reporting.
+  Any events *not* listed in the SETEVENTS body are turned off; thus, sending
+  SETEVENTS with an empty body turns off all event reporting.
 
   The server responds with a DONE message on success, and an ERROR message
   if one of the event codes isn't recognized.  (On error, the list of active



More information about the tor-commits mailing list