aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-03-15 22:39:22 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-07 11:53:37 -0400
commit118d8ffdcb74137a36d22928ce6f46897809391e (patch)
tree8dbcb2413b1d35ab1c30011020bb35eeef7dc25a /src/or/main.c
parent286d44402e829488abe802efd1607eabbc98f1d1 (diff)
downloadtor-118d8ffdcb74137a36d22928ce6f46897809391e.tar.gz
tor-118d8ffdcb74137a36d22928ce6f46897809391e.zip
Allow controllers a more up-to-date view of bridge usage.
Instead of answering GETINFO requests about our geoip usage only after running for 24 hours, this patch makes us answer GETINFO requests immediately. We still round and quantize as before. Implements bug2711. Also, refactor the heck out of the bridge usage formatting code. No longer should we need to do a generate-parse-and-regenerate cycle to get the controller string, and that lets us simplify the code a lot.
Diffstat (limited to 'src/or/main.c')
0 files changed, 0 insertions, 0 deletions