Add support for DisableNetwork?
This library currently supports starting Tor offline and then enabling networking at a later point. Sometimes it can be useful to also disable networking. Perhaps you could add an equivalent method?
My initial approach was to tear down Tor when not needed and rebuild it when needed agan, unfortunately something goes haywire in the process after tear-down and I can't rebuild onions post-restart. If I restart my process, everything works again. I've received similar bugreports on my lib too and I tried Tor 0.4.2.7 and it hung the same way.
I can hack this myself currently via proxy.Control.SetConf(control.KeyVals("DisableNetwork", "1")...), it just feels out of scope to do it myself in my app.
(sorry, been away from this project a while)
This library currently supports starting Tor offline and then enabling networking at a later point
At which point? There is an option on SkipEnableNetwork on the DialConf if it's during dial.