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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs