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 @@ -197,6 +197,19 @@ public TorConfigBuilder dontUseBridges() {
197
197
return this ;
198
198
}
199
199
200
+ public TorConfigBuilder dormantCanceledByStartup () {
201
+ buffer .append ("DormantCanceledByStartup 1\n " );
202
+ return this ;
203
+ }
204
+
205
+ @ SettingsConfig
206
+ public TorConfigBuilder dormantCanceledByStartupFromSettings () {
207
+ if (settings .hasDormantCanceledByStartup ()) {
208
+ dormantCanceledByStartup ();
209
+ }
210
+ return this ;
211
+ }
212
+
200
213
public TorConfigBuilder entryNodes (String entryNodes ) {
201
214
if (!isNullOrEmpty (entryNodes ))
202
215
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