]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Merge remote-tracking branch 'mikeperry/209-path-bias-changes'
authorNick Mathewson <nickm@torproject.org>
Wed, 26 Dec 2012 04:30:28 +0000 (23:30 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 26 Dec 2012 04:30:28 +0000 (23:30 -0500)
1  2 
doc/tor.1.txt
src/or/circuituse.c
src/or/config.c
src/or/connection_edge.c
src/or/entrynodes.c
src/or/entrynodes.h
src/or/or.h
src/or/relay.c

diff --cc doc/tor.1.txt
Simple merge
Simple merge
diff --cc src/or/config.c
Simple merge
Simple merge
Simple merge
index ae5d2307e7efee853d9b22f18907f71a9df31728,2686a4f34ddd3b7c563402bdba503194e7864e74..2a9a99cfbc395d21aaf6b7f8f52feefa903bdeec
@@@ -31,11 -31,14 +31,15 @@@ typedef struct entry_guard_t 
                                    * router, 1 if we have. */
    unsigned int can_retry : 1; /**< Should we retry connecting to this entry,
                                 * in spite of having it marked as unreachable?*/
-   unsigned int path_bias_notice : 1; /**< Did we alert the user about path bias
+   unsigned int path_bias_noticed : 1; /**< Did we alert the user about path
+                                        * bias for this node already? */
+   unsigned int path_bias_warned : 1; /**< Did we alert the user about path bias
                                        * for this node already? */
+   unsigned int path_bias_extreme : 1; /**< Did we alert the user about path
+                                        * bias for this node already? */
    unsigned int path_bias_disabled : 1; /**< Have we disabled this node because
                                          * of path bias issues? */
 +  unsigned int is_dir_cache : 1; /**< Is this node a directory cache? */
    time_t bad_since; /**< 0 if this guard is currently usable, or the time at
                        * which it was observed to become (according to the
                        * directory or the user configuration) unusable. */
diff --cc src/or/or.h
Simple merge
diff --cc src/or/relay.c
Simple merge