[tor-dev] Proposal: Controller events to better understand connection/circuit usage

Andreas Krey a.krey at gmx.de
Sun Feb 10 06:08:46 UTC 2013


On Sat, 09 Feb 2013 14:27:33 +0000, Damian Johnson wrote:
...
> I cringe a bit to suggest it, but maybe a mapping in a mapping?
> 
> CELL_STATS PCircID=8 PConnID=47110 PAdded=created:1,relay:1
> PRemoved=created:1,relay:1

You can as well go wild and use recursive syntax:

   CELL_STATS PCircID=8 PConnID=47110 PAdded=(created=1 relay=1) PRemoved=(created=1 relay=1)

(not thinking about the implementation details, like when to match parens).

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800


More information about the tor-dev mailing list