[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torspec/master] Set default value for bw weights if absent from consensus.



commit b5b771b19df9fc052b424228045409467a7b6414
Author: George Kadianakis <desnacked@xxxxxxxxxx>
Date:   Tue Nov 25 00:11:43 2014 +0000

    Set default value for bw weights if absent from consensus.
---
 path-spec.txt |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/path-spec.txt b/path-spec.txt
index 9575d25..f3c7c9f 100644
--- a/path-spec.txt
+++ b/path-spec.txt
@@ -209,7 +209,7 @@ of their choices.
    position they are being selected for.
 
    These weights are published in the consensus, and are computed as described
-   in Section 3.4.3 of dir-spec.txt. They are:
+   in Section "Computing Bandwidth Weights" of dir-spec.txt. They are:
 
       Wgg - Weight for Guard-flagged nodes in the guard position
       Wgm - Weight for non-flagged nodes in the guard Position
@@ -235,6 +235,10 @@ of their choices.
       Wbe - Weight for Guard+Exit-flagged nodes for BEGIN_DIR requests
       Wbd - Weight for Guard+Exit-flagged nodes for BEGIN_DIR requests
 
+   If any of those weights is malformed or not present in a consensus,
+   clients proceed with the regular path selection algorithm setting
+   the weights to the default value of 10000.
+
    Additionally, we may be building circuits with one or more requests in
    mind.  Each kind of request puts certain constraints on paths:
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits