mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-10 16:43:14 +00:00
use port instead of unix socket for internal tor control to avoid bug where unix socket path is too long
This commit is contained in:
@@ -86,6 +86,10 @@ public class Tor {
|
||||
dormantCanceledByStartup.set(TorConfig.Option.AorTorF.getTrue());
|
||||
builder.put(dormantCanceledByStartup);
|
||||
|
||||
TorConfig.Setting.Ports.Control controlPort = new TorConfig.Setting.Ports.Control();
|
||||
controlPort.set(TorConfig.Option.AorDorPort.Auto.INSTANCE);
|
||||
builder.put(controlPort);
|
||||
|
||||
return builder.build();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user