summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-03-17 03:24:22 +0000
committerRoger Dingledine <arma@torproject.org>2007-03-17 03:24:22 +0000
commitf47cf63f8a2660a23f534484f63622764419bc2e (patch)
treeddc446063f41b8285293b332e5de3ad08274ff68
parentb55c768d84b50121255a0f68b2153de4eedef048 (diff)
downloadtor-f47cf63f8a2660a23f534484f63622764419bc2e.tar.gz
tor-f47cf63f8a2660a23f534484f63622764419bc2e.zip
When creating a circuit via the controller, send a 'launched'
event when we're done, so we follow the spec better. svn:r9850
-rw-r--r--ChangeLog4
-rw-r--r--src/or/control.c2
2 files changed, 6 insertions, 0 deletions
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);