diff options
author | Roger Dingledine <arma@torproject.org> | 2007-03-17 03:24:22 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-03-17 03:24:22 +0000 |
commit | f47cf63f8a2660a23f534484f63622764419bc2e (patch) | |
tree | ddc446063f41b8285293b332e5de3ad08274ff68 | |
parent | b55c768d84b50121255a0f68b2153de4eedef048 (diff) | |
download | tor-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-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/or/control.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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); |