Skip to content
This repository was archived by the owner on Dec 18, 2022. It is now read-only.

Commit ec860f3

Browse files
committed
update documentation
1 parent 400c047 commit ec860f3

File tree

1 file changed

+4
-2
lines changed
  • topl-core-base/src/main/java/io/matthewnelson/topl_core_base

1 file changed

+4
-2
lines changed

topl-core-base/src/main/java/io/matthewnelson/topl_core_base/TorSettings.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,14 @@ abstract class TorSettings: BaseConsts() {
176176
abstract val exitNodes: String?
177177

178178
/**
179+
* Could be "auto" or a specific port, such as "8288".
180+
*
179181
* TorBrowser and Orbot use "8218" by default. It may be wise to pick something
180182
* that won't conflict if you're using this setting.
181183
*
182184
* Docs: https://2019.www.torproject.org/docs/tor-manual.html.en#HTTPTunnelPort
183185
*
184-
* See [DEFAULT__HTTP_TUNNEL_PORT]
186+
* See [DEFAULT__HTTP_TUNNEL_PORT] ("0", to disable it)
185187
*
186188
* TODO: Change to List<String> and update TorSettingsBuilder method for
187189
* multi-port support.
@@ -262,7 +264,7 @@ abstract class TorSettings: BaseConsts() {
262264
abstract val relayPort: Int?
263265

264266
/**
265-
* Could be "auto" or a specified port, such as "9051".
267+
* Could be "auto" or a specific port, such as "9051".
266268
*
267269
* TorBrowser uses "9150", and Orbot uses "9050" by default. It may be wise
268270
* to pick something that won't conflict.

0 commit comments

Comments
 (0)