From: Nick Mathewson Date: Fri, 19 Aug 2011 21:07:54 +0000 (-0400) Subject: Disable run-time changes to DisableIOCP: They do not work X-Git-Tag: tor-0.2.3.3-alpha~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd6a9a923d8bda5363c50d5ea7fd8ea403e895cd;p=thirdparty%2Ftor.git Disable run-time changes to DisableIOCP: They do not work --- diff --git a/src/or/config.c b/src/or/config.c index 716d83ab0d..dbc355d728 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3966,6 +3966,12 @@ options_transition_allowed(const or_options_t *old, return -1; } + if (old->DisableIOCP != new_val->DisableIOCP) { + *msg = tor_strdup("While Tor is running, changing DisableIOCP " + "is not allowed."); + return -1; + } + return 0; }