[tor-bugs] #2551 [Metrics]: Torperf should output circuit build times
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Thu Feb 24 11:23:35 UTC 2011
#2551: Torperf should output circuit build times
-----------------------------------------------------------------+----------
Reporter: mikeperry | Owner: mikeperry
Type: enhancement | Status: needs_review
Priority: normal | Milestone:
Component: Metrics | Version:
Keywords: TorPerfIteration20110305 MikePerryIteration20110305 | Parent:
Points: 3 | Actualpoints:
-----------------------------------------------------------------+----------
Comment(by karsten):
There's another problem in that code. Here's my hotfix:
{{{
diff --git a/TorCtl.py b/TorCtl.py
index 4319242..65a91f7 100755
--- a/TorCtl.py
+++ b/TorCtl.py
@@ -1431,7 +1431,7 @@ class EventHandler(EventSink):
m = re.match(r"(\d+)\s+(\d+)\s+(\d+)", body)
if not m:
raise ProtocolError("STREAM_BW event misformatted.")
- event = StreamBwEvent(evtype, *m.groups(), body=body)
+ event = StreamBwEvent(evtype, *m.groups())
elif evtype == "BW":
m = re.match(r"(\d+)\s+(\d+)", body)
if not m:
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2551#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list