[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9850: When creating a circuit via the controller, send a 'launched (in tor/branches/tor-0_1_2-patches: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r9850: When creating a circuit via the controller, send a 'launched (in tor/branches/tor-0_1_2-patches: . src/or)
- From: arma@xxxxxxxx
- Date: Fri, 16 Mar 2007 23:24:23 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 16 Mar 2007 23:24:36 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: arma
Date: 2007-03-16 23:24:22 -0400 (Fri, 16 Mar 2007)
New Revision: 9850
Modified:
tor/branches/tor-0_1_2-patches/ChangeLog
tor/branches/tor-0_1_2-patches/src/or/control.c
Log:
When creating a circuit via the controller, send a 'launched'
event when we're done, so we follow the spec better.
Modified: tor/branches/tor-0_1_2-patches/ChangeLog
===================================================================
--- tor/branches/tor-0_1_2-patches/ChangeLog 2007-03-16 18:40:47 UTC (rev 9849)
+++ tor/branches/tor-0_1_2-patches/ChangeLog 2007-03-17 03:24:22 UTC (rev 9850)
@@ -5,7 +5,11 @@
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:
- Correct the control spec to match how the code actually responds
Modified: tor/branches/tor-0_1_2-patches/src/or/control.c
===================================================================
--- tor/branches/tor-0_1_2-patches/src/or/control.c 2007-03-16 18:40:47 UTC (rev 9849)
+++ tor/branches/tor-0_1_2-patches/src/or/control.c 2007-03-17 03:24:22 UTC (rev 9850)
@@ -2192,6 +2192,8 @@
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);