summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2010-06-15 01:13:49 -0700
committerMike Perry <mikeperry-git@fscked.org>2010-06-15 20:04:42 -0700
commitc6c8fbf852bb2ecee6387609e8cbf78a772c7e01 (patch)
treed240f87d82c54e3a59d5801519c45e0e6b2bde10 /src/or/config.c
parentf528a6e62b75538a39b113f67e38fb947c80739e (diff)
downloadtor-c6c8fbf852bb2ecee6387609e8cbf78a772c7e01.tar.gz
tor-c6c8fbf852bb2ecee6387609e8cbf78a772c7e01.zip
Split the circuit timeout and close codepaths.
We need to record different statistics at point of timeout, vs the point of forcible closing. Also, give some better names to constants and state file variables to indicate they are not dealing with timeouts, but abandoned circuits.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index c3b4fc933e..bcdfbd717a 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -421,7 +421,7 @@ static config_var_t _state_vars[] = {
V(LastWritten, ISOTIME, NULL),
V(TotalBuildTimes, UINT, NULL),
- V(CircuitBuildTimeoutCount, UINT, "0"),
+ V(CircuitBuildAbandonedCount, UINT, "0"),
VAR("CircuitBuildTimeBin", LINELIST_S, BuildtimeHistogram, NULL),
VAR("BuildtimeHistogram", LINELIST_V, BuildtimeHistogram, NULL),