[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r2014: Remove a hack to work around old Tors that would close a con (in trunk: . src/control)
Author: edmanm
Date: 2007-10-12 15:43:19 -0400 (Fri, 12 Oct 2007)
New Revision: 2014
Modified:
trunk/
trunk/src/control/torcontrol.cpp
Log:
r2089@lysithea: edmanm | 2007-10-12 15:41:48 -0400
Remove a hack to work around old Tors that would close a control connection
without sending a response after receiving a signal asking Tor to shut down.
This was fixed in Tor 0.1.2.1-alpha. The hack meant that we wouldn't get a
good error message if the signal failed.
Property changes on: trunk
___________________________________________________________________
svk:merge ticket from /local/vidalia/trunk [r2089] on dc66be73-d13e-47ba-a267-8dc7cda68c65
Modified: trunk/src/control/torcontrol.cpp
===================================================================
--- trunk/src/control/torcontrol.cpp 2007-10-12 19:43:07 UTC (rev 2013)
+++ trunk/src/control/torcontrol.cpp 2007-10-12 19:43:19 UTC (rev 2014)
@@ -393,9 +393,6 @@
{
ControlCommand cmd("SIGNAL");
cmd.addArgument(TorSignal::toString(sig));
- if (sig == TorSignal::Shutdown || sig == TorSignal::Halt) {
- return _controlConn->send(cmd, errmsg);
- }
return send(cmd, errmsg);
}