diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-08-19 17:07:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-08-19 17:07:54 -0400 |
commit | dd6a9a923d8bda5363c50d5ea7fd8ea403e895cd (patch) | |
tree | a2f116a0fceba309a0dca4022c7a7cb8acb4632e /src | |
parent | df96aed14f67c9ffc2c4908add7079a0424d7cbb (diff) | |
download | tor-dd6a9a923d8bda5363c50d5ea7fd8ea403e895cd.tar tor-dd6a9a923d8bda5363c50d5ea7fd8ea403e895cd.tar.gz |
Disable run-time changes to DisableIOCP: They do not work
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 716d83ab0..dbc355d72 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; } |