From f47cf63f8a2660a23f534484f63622764419bc2e Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 17 Mar 2007 03:24:22 +0000 Subject: When creating a circuit via the controller, send a 'launched' event when we're done, so we follow the spec better. svn:r9850 --- ChangeLog | 4 ++++ src/or/control.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 20eb4b7574..ec3c95f429 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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: diff --git a/src/or/control.c b/src/or/control.c index 7b69b42ad4..a3d6a653fe 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -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); -- cgit v1.2.3-54-g00ecf