Skip to content
  • Isis Lovecruft's avatar
    Bug 18113: Randomly permutate available default bridges of chosen type. · 8869cf4f
    Isis Lovecruft authored
     * ADDS a new function to TorLauncherUtil, rearrangeBridges() which
       takes an array of items and returns a random permutation of that
       array.
    
     * CHANGE defaultBridges() getter to call this.rearrangeBridges()
       before returning the default bridges.  This causing the ordering of
       the default bridges in the torrc to vary among clients, resulting
       in a more even distribution of clients to default bridges.
    8869cf4f