Procházet zdrojové kódy

Comments: prefer circuit_build_times_disabled() to LearnCircuitBuildTimeout

teor před 7 roky
rodič
revize
f686fa2ee6
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/or/or.h

+ 2 - 1
src/or/or.h

@@ -3777,7 +3777,8 @@ typedef struct {
                      * unattached before we fail it? */
   int LearnCircuitBuildTimeout; /**< If non-zero, we attempt to learn a value
                                  * for CircuitBuildTimeout based on timeout
-                                 * history */
+                                 * history. Use circuit_build_times_disabled()
+                                 * rather than checking this value directly. */
   int CircuitBuildTimeout; /**< Cull non-open circuits that were born at
                             * least this many seconds ago. Used until
                             * adaptive algorithm learns a new value. */