[tor-bugs] #8189 [Tor]: Control port says LAUNCHED after it says EXTENDED

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 8 19:18:49 UTC 2013


#8189: Control port says LAUNCHED after it says EXTENDED
--------------------+-------------------------------------------------------
 Reporter:  arma    |          Owner:                    
     Type:  defect  |         Status:  new               
 Priority:  normal  |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor     |        Version:                    
 Keywords:          |         Parent:                    
   Points:          |   Actualpoints:                    
--------------------+-------------------------------------------------------
 In handle_control_extendcircuit() when the controller asks Tor to make a
 circuit, it ends with
 {{{
   connection_printf_to_buf(conn, "250 EXTENDED %lu\r\n",
                              (unsigned long)circ->global_identifier);
   if (zero_circ) /* send a 'launched' event, for completeness */
     control_event_circuit_status(circ, CIRC_EVENT_LAUNCHED, 0);
 }}}

 It is weird that we say EXTENDED before we say LAUNCHED.

 Also, how come we say EXTENDED right when we hear the EXTEND request from
 the controller, rather than when a hop gets completed?

 Reported by Rob.

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


More information about the tor-bugs mailing list