commit 6b73fad7096f4d12f5203b0c11d0e8f9417667b9 Author: Andrea Shepard andrea@persephoneslair.org Date: Mon Jun 11 11:09:19 2012 -0700
Make RECOMMENDED_MIN_CIRCUIT_BUILD_TIMEOUT warning tell the user how to fix it. --- src/or/config.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/or/config.c b/src/or/config.c index 93fcc19..2b14772 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3727,7 +3727,9 @@ options_validate(or_options_t *old_options, or_options_t *options, options->CircuitBuildTimeout < RECOMMENDED_MIN_CIRCUIT_BUILD_TIMEOUT) { log_warn(LD_CONFIG, "CircuitBuildTimeout is shorter (%d seconds) than recommended " - "(%d seconds), and LearnCircuitBuildTimeout is disabled.", + "(%d seconds), and LearnCircuitBuildTimeout is disabled. " + "If tor isn't working, raise this value or enable " + "LearnCircuitBuildTimeout.", options->CircuitBuildTimeout, RECOMMENDED_MIN_CIRCUIT_BUILD_TIMEOUT ); }
tor-commits@lists.torproject.org