summaryrefslogtreecommitdiff
path: root/contrib/torctl.in
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2011-08-04 12:28:12 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2011-08-04 21:18:19 +0200
commit2174fc0ba036f3b0143d14626b431fa93ee6653d (patch)
treef2161ba75c2702830124ce439e6b12c6ba19c80d /contrib/torctl.in
parentabeaabba00a8c8e089b71fe8831f3ee5462ba604 (diff)
downloadtor-2174fc0ba036f3b0143d14626b431fa93ee6653d.tar.gz
tor-2174fc0ba036f3b0143d14626b431fa93ee6653d.zip
Separate generation of a dirreq-stats string from writing it to disk.
This patch separates the generation of a dirreq-stats string from actually writing it to disk. The new geoip_format_dirreq_stats() generates a dirreq-stats string that geoip_dirreq_stats_write() writes to disk. All the state changing (e.g., resetting the dirreq-stats history and initializing the next measurement interval) takes place in geoip_dirreq_stats_write(). That allows us to finally test the dirreq-stats code better.
Diffstat (limited to 'contrib/torctl.in')
0 files changed, 0 insertions, 0 deletions