Commit dd6a9a92 authored by Nick Mathewson's avatar Nick Mathewson 🐘
Browse files

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

parent df96aed1
Loading
Loading
Loading
Loading
+6 −0
Changes for src/or/config.c: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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;
}