Disable run-time changes to DisableIOCP: They do not work

This commit is contained in:
Nick Mathewson 2011-08-19 17:07:54 -04:00
parent df96aed14f
commit dd6a9a923d

View File

@ -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;
}