ensureControlPort
If TorOption.ControlPort or TorOption.__ControlPort have not been defined, TorOption.__ControlPort is added. This will always prefer configuring the option as a Unix Socket, if available for the host and runtime environment.
This can be overridden by defining TorOption.ControlPort or TorOption.__ControlPort.
e.g.
TorOption.__ControlPort.configure {
// argument is already set to `auto`
}
Content copied to clipboard