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

Re: [tor-bugs] #919 [Tor - Relay]: If you hup tor while it's hibernating, it rebinds its ports



#919: If you hup tor while it's hibernating, it rebinds its ports
--------------------------------+-------------------------------------------
 Reporter:  arma                |         Type:  defect     
   Status:  new                 |     Priority:  minor      
Milestone:  Tor: 0.2.2.x-final  |    Component:  Tor - Relay
  Version:  0.2.0.31            |   Resolution:  None       
 Keywords:  easy                |       Parent:             
--------------------------------+-------------------------------------------
Changes (by nickm):

  * keywords:  => easy


Old description:

> It looks like retry_listeners() and retry_all_listeners() do not care
> whether we're hibernating. In main.c, retry-all-listeners is only called
> if
>
>   if (!we_are_hibernating() && time_to_check_listeners < now) {
>
> whereas in config.c it does not check if we_are_hibernating. Sounds like
> that's
> the place to fix it.
>
> [Automatically added by flyspray2trac: Operating System: All]

New description:

 It looks like retry_listeners() and retry_all_listeners() do not care
 whether we're hibernating. In main.c, retry-all-listeners is only called
 if

   if (!we_are_hibernating() && time_to_check_listeners < now) {

 whereas in config.c it does not check if we_are_hibernating. Sounds like
 that's
 the place to fix it.

 [Automatically added by flyspray2trac: Operating System: All]

--

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/919#comment:2>
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