This repository was archived by the owner on Dec 18, 2022. It is now read-only.
File tree 3 files changed +20
-0
lines changed
universal/src/main/java/com/msopentech/thali/toronionproxy
3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,11 @@ public boolean hasDebugLogs() {
128
128
return false ;
129
129
}
130
130
131
+ @ Override
132
+ public boolean hasDormantCanceledByStartup () {
133
+ return false ;
134
+ }
135
+
131
136
@ Override
132
137
public boolean hasIsolationAddressFlagForTunnel () {
133
138
return false ;
Original file line number Diff line number Diff line change @@ -190,6 +190,19 @@ public TorConfigBuilder dontUseBridges() {
190
190
return this ;
191
191
}
192
192
193
+ public TorConfigBuilder dormantCanceledByStartup () {
194
+ buffer .append ("DormantCanceledByStartup 1\n " );
195
+ return this ;
196
+ }
197
+
198
+ @ SettingsConfig
199
+ public TorConfigBuilder dormantCanceledByStartupFromSettings () {
200
+ if (settings .hasDormantCanceledByStartup ()) {
201
+ dormantCanceledByStartup ();
202
+ }
203
+ return this ;
204
+ }
205
+
193
206
public TorConfigBuilder entryNodes (String entryNodes ) {
194
207
if (!isNullOrEmpty (entryNodes ))
195
208
buffer .append ("EntryNodes " ).append (entryNodes ).append ('\n' );
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ public interface TorSettings {
54
54
55
55
boolean hasDebugLogs ();
56
56
57
+ boolean hasDormantCanceledByStartup ();
58
+
57
59
boolean hasIsolationAddressFlagForTunnel ();
58
60
59
61
boolean hasOpenProxyOnAllInterfaces ();
You can’t perform that action at this time.
0 commit comments