stream_bw event

Robert Hogan robert at roberthogan.net
Tue Feb 6 22:31:19 UTC 2007


Mentioned this on irc the other night and took the attached approach. 

If you are happy with the general outline, I can prepare a proper patch adding 
stuff to the docs etc and with proper comments. There are probably a couple 
of house-style solecisms in there too, so please let me know.

I've casually tested it but not to destruction: it works for me so far.

R/W events with 0 bytes are not reported to the controller as per Nick's 
suggestion.
-- 

KlamAV - An Anti-Virus Manager for KDE - http://www.klamav.net
TorK   - A Tor Controller For KDE      - http://tork.sf.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stream_bw.diff
Type: text/x-diff
Size: 4795 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20070206/cccc70dc/attachment.diff>


More information about the tor-dev mailing list