aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitstats.c
Commit message (Collapse)AuthorAge
* Check for new IP addr after circuit liveliness returnsMatthew Finkel2014-04-08
| | | | | | When we successfully create a usable circuit after it previously timed out for a certain amount of time, we should make sure that our public IP address hasn't changed and update our descriptor.
* quiet the debug message in circuit_build_times_disabled()Roger Dingledine2014-03-24
| | | | | something recently made it get called once per second, which will clutter up your debug log file.
* Cleanup whitespacesNick Mathewson2013-08-25
|
* Hide the contents of the circuit_build_times structure.Nick Mathewson2013-08-22
| | | | | | | There were only two functions outside of circuitstats that actually wanted to know what was inside this. Making the structure itself hidden should help isolation and prevent us from spaghettifying the thing more.
* Documentation for new cbt accessorsNick Mathewson2013-08-22
|
* Separate mutable/const accessors for circuit_build_timesNick Mathewson2013-08-22
| | | | (These have proved invaluable for other global accessors.)
* Rename get_circuit_nbuild_* to end with _msNick Mathewson2013-08-22
|
* Make circ_times static and add accessor functions.vagrant2013-08-22
| | | | | | Change the global circ_times to a static variable and use accessor functions throughout the code, instead of accessing it directly.
* Completely refactor how FILENAME_PRIVATE worksNick Mathewson2013-07-10
| | | | | | | | | | | | | | | | | | | | We previously used FILENAME_PRIVATE identifiers mostly for identifiers exposed only to the unit tests... but also for identifiers exposed to the benchmarker, and sometimes for identifiers exposed to a similar module, and occasionally for no really good reason at all. Now, we use FILENAME_PRIVATE identifiers for identifiers shared by Tor and the unit tests. They should be defined static when we aren't building the unit test, and globally visible otherwise. (The STATIC macro will keep us honest here.) For identifiers used only by the unit tests and never by Tor at all, on the other hand, we wrap them in #ifdef TOR_UNIT_TESTS. This is not the motivating use case for the split test/non-test build system; it's just a test example to see how it works, and to take a chance to clean up the code a little.
* Clarify liveness log message and lower it to notice.Mike Perry2013-03-27
| | | | It could just be due to small clock jumps, after all.
* Merge remote-tracking branch 'public/bug6304_v3' into maint-0.2.4Nick Mathewson2013-03-20
| | | | | | Conflicts: src/or/circuitbuild.c src/or/config.c
* Rename and relocate the bw weight scale param getter.Mike Perry2013-02-01
| | | | It had nothing to do with circuit build times.
* Update the copyright date to 201.Nick Mathewson2013-01-16
|
* Bug 3443: Don't count ORconn setup in circuit build time.Mike Perry2012-12-07
| | | | | Also, add a hack Roger suggested where we're more patient if no circuits are opened yet.
* Move the circuit build timeout code into its own file.Nick Mathewson2012-10-15