Can't apply changes to torrc when Tor haven't finished bootstrapping

Defect reproduction steps:

  1. In torrc file add two lines - ExitNodes 1.1.1.1 and StrictNodes 1, or whatever will make connection to Tor network impossible.

  2. Restart Tor.

  3. Now Tor will constantly try to make a valid circuit and if you try to remove those 2 lines (using Vidalia GUI) it won't affect.

Possible solutions:

In TorrcDialog.cpp there's plenty of tc->isConnected(). Maybe it isn't necessary to be connected to save a torrc file? Also, isConnected() method seems to be indicating a fully established circuit, not only control socket connected to Tor.

Trac:
Username: agnieszkaMD