When creating a circuit via the controller, send a 'launched'

event when we're done, so we follow the spec better.


svn:r9850
This commit is contained in:
Roger Dingledine 2007-03-17 03:24:22 +00:00
parent b55c768d84
commit f47cf63f8a
2 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,10 @@ Changes in version 0.1.2.12-rc - 2007-03-??
begin_dir cells). It only triggered when the same connection was
serving other data at the same time. Reported by seeess.
o Minor bugfixes:
- When creating a circuit via the controller, send a 'launched'
event when we're done, so we follow the spec better.
Changes in version 0.1.2.11-rc - 2007-03-15
o Minor bugfixes (controller), reported by daejees:

View File

@ -2192,6 +2192,8 @@ handle_control_extendcircuit(control_connection_t *conn, uint32_t len,
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);
done:
SMARTLIST_FOREACH(router_nicknames, char *, n, tor_free(n));
smartlist_free(router_nicknames);