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

[tor-bugs] #3019 [Tor Bridge]: setconf clears bridge descriptor refetch timers



#3019: setconf clears bridge descriptor refetch timers
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Bridge  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 I was looking at #2355's hopes of refetching bridge descriptors as soon as
 the bridge list changes. My plan was to simply call
 fetch_bridge_descriptors(now) from inside options_act() once we've cleared
 and reparsed the bridge lines.

 Then I realized that clearing and reparsing the bridge lines resets the
 timers. So currently Tor clients that use bridges will refetch all their
 bridge descriptors an average of 30 seconds after each setconf. Bug.

 Better behavior might be to leave parsed bridges alone if they're the
 same.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3019>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs