[tor-bugs] #8614 [BridgeDB]: BridgeDB should be able to return multiple transport types at the same time

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 26 05:14:52 UTC 2013


#8614: BridgeDB should be able to return multiple transport types at the same time
----------------------+-----------------------------------------------------
 Reporter:  asn       |          Owner:              
     Type:  defect    |         Status:  needs_review
 Priority:  normal    |      Milestone:              
Component:  BridgeDB  |        Version:              
 Keywords:            |         Parent:  #8615       
   Points:            |   Actualpoints:              
----------------------+-----------------------------------------------------

Comment(by sysrqb):

 Replying to [comment:7 sysrqb]:
 > Please test/review branch bug8614_5_rebased. It's rebased on top of
 current master.

 I forgot to mention this adds another unit test and corrects the selection
 function so that when a bridge is selected to meet a requirement because
 it supports a certain PT, we now make a deepcopy of the bridge and modify
 it such that it only supports the single transport we need. The previous
 version guessed (randomly) which transport we wanted to return. This was
 silly because we chose the bridge because it supported a specific
 transport, so that is the transport we should use.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8614#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list