diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-14 16:46:55 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-14 16:46:55 +0000 |
commit | 6e35b118518a8247fe1c04099519950cdb9c7971 (patch) | |
tree | 3252e5df2e982f1d537cf31d3d51b710b87913fe /doc | |
parent | 4a74812c70b75df8938de00c9efb0fabaf699300 (diff) | |
download | tor-6e35b118518a8247fe1c04099519950cdb9c7971.tar.gz tor-6e35b118518a8247fe1c04099519950cdb9c7971.zip |
r11813@catbus: nickm | 2007-02-14 11:42:58 -0500
Tweak stream_bw patch: Remove a couple of redundant checks, save 8 bytes per edge connection, fix spelling in the changelog; expand spec.
svn:r9586
Diffstat (limited to 'doc')
-rw-r--r-- | doc/spec/control-spec.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt index 80ebf40243..05eec0ca96 100644 --- a/doc/spec/control-spec.txt +++ b/doc/spec/control-spec.txt @@ -1271,16 +1271,20 @@ $Id$ [First added in 0.1.2.3-alpha] -4.1.13. Bandwidth used on a stream +4.1.13. Bandwidth used on an application 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. + BytesRead and BytesWritten are the number of bytes read and written since + the last STREAM_BW event on a stream. These events are generated about + once per second per stream; No event is generated for streams that have not + read or written. + These events apply only to streams entering Tor (such as on a SOCKSPort, + TransPort, or so on). They are not generated for exiting streams. 5. Implementation notes |