aboutsummaryrefslogtreecommitdiff
path: root/doc/control-spec.txt
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-08 23:24:26 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-08 23:24:26 +0000
commit699fa6b4e45a676a13166089d2fbef91a6137b4d (patch)
tree104dfc667160a5111fe9b13f5ff845f32d7e01b6 /doc/control-spec.txt
parent604b13c910ff91277de7881dc395198c1f6282cc (diff)
downloadtor-699fa6b4e45a676a13166089d2fbef91a6137b4d.tar.gz
tor-699fa6b4e45a676a13166089d2fbef91a6137b4d.zip
a potential syntax for the EVENT_MISC_* events.
needs a better name, and maybe needs a better syntax too. svn:r8658
Diffstat (limited to 'doc/control-spec.txt')
-rw-r--r--doc/control-spec.txt30
1 files changed, 28 insertions, 2 deletions
diff --git a/doc/control-spec.txt b/doc/control-spec.txt
index ecf8bce862..ee5bc136c2 100644
--- a/doc/control-spec.txt
+++ b/doc/control-spec.txt
@@ -208,7 +208,7 @@ $Id$
or none.
NOTE: "EXTENDED" is only supported in Tor 0.1.1.9-alpha or later.
- XXX Need to describe what each event does and is for -RD
+ Each event is described in more detail in Section 4.1.
3.5. AUTHENTICATE
@@ -809,7 +809,7 @@ $Id$
BytesRead = 1*DIGIT
BytesWritten = 1*DIGIT
-4.1.5. Log message
+4.1.5. Log messages
The syntax is:
"650" SP Severity SP ReplyText
@@ -844,6 +844,32 @@ $Id$
[First added in 0.1.2.2-alpha.]
+4.1.10. Misc other events
+
+ Syntax:
+ "650" SP Type SP Action SP Arguments
+ Type = "MISC_CLIENT" / "MISC_SERVER"
+ Action and Arguments (if any) are described below.
+
+ Actions for MISC_CLIENT events can be as follows:
+
+ CIRCUIT_ESTABLISHED means that Tor is able to establish circuits
+ for client use. This event will only be sent if we just built a
+ circuit that changed our mind -- that is, prior to this event we
+ didn't know whether we could establish circuits.
+
+ CLOCK_JUMPED means that Tor spent enough time without CPU cycles
+ that it has closed all its circuits and will establishing them
+ anew. This typically happens when a laptop goes to sleep and then
+ wakes up again. It also happens when the system is swapping so
+ heavily that Tor is starving. The Arguments line is this case is
+ a single non-negative integer representing the number of seconds
+ Tor thinks it was unconscious for.
+
+ Actions for MISC_SERVER events can be as follows:
+
+
+
5. Implementation notes
5.1. Authentication