diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-14 16:46:49 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-14 16:46:49 +0000 |
commit | 4a74812c70b75df8938de00c9efb0fabaf699300 (patch) | |
tree | 97448d2c4bfaebebd1bcda64746fd249bbb9d8d2 /doc/spec/control-spec.txt | |
parent | 9e7e9e1bfefc6e3bac02cd230fcad48272ba4109 (diff) | |
download | tor-4a74812c70b75df8938de00c9efb0fabaf699300.tar.gz tor-4a74812c70b75df8938de00c9efb0fabaf699300.zip |
r11812@catbus: nickm | 2007-02-14 11:22:08 -0500
Apply stream_bw patch from Robert Hogan.
svn:r9585
Diffstat (limited to 'doc/spec/control-spec.txt')
-rw-r--r-- | doc/spec/control-spec.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt index 2212f52c1d..80ebf40243 100644 --- a/doc/spec/control-spec.txt +++ b/doc/spec/control-spec.txt @@ -194,7 +194,7 @@ $Id$ EventCode = "CIRC" / "STREAM" / "ORCONN" / "BW" / "DEBUG" / "INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP" / "AUTHDIR_NEWDESCS" / "DESCCHANGED" / "STATUS_GENERAL" / - "STATUS_CLIENT" / "STATUS_SERVER" / "GUARDS" / "NS" + "STATUS_CLIENT" / "STATUS_SERVER" / "GUARDS" / "NS" / "STREAM_BW" Any events *not* listed in the SETEVENTS line are turned off; thus, sending SETEVENTS with an empty body turns off all event reporting. @@ -1271,6 +1271,17 @@ $Id$ [First added in 0.1.2.3-alpha] +4.1.13. Bandwidth used on a stream + + The syntax is: + "650" SP "STREAM_BW" SP StreamID SP BytesRead SP BytesWritten + BytesRead = 1*DIGIT + BytesWritten = 1*DIGIT + + The number of bytes read and written since the last read or write event + on a stream. + + 5. Implementation notes 5.1. Authentication |