BoolSetting

The boolean-typed session settings, the port of settings_pack::bool_types (settings_pack.hpp) together with the bool_settings default-value table from settings_pack.cpp.

Each constant is a full 16-bit setting key (bool_type_base | index). The index positions are kept byte-identical to libtorrent, including every deprecated slot (e.g. the old disk-cache flags), because the C++ enum is positional and the defaults table is indexed by that same position. Deprecated slots are not given a named constant here, but they still occupy their index in BoolSettingDefaults.NAMES / BoolSettingDefaults.DEFAULTS.

Properties

Link copied to clipboard
const val ALLOW_I2P_MIXED: Int

Allow i2p torrents to also use non-anonymous peer sources.

Link copied to clipboard
const val ALLOW_IDNA: Int

Allow IDNA (internationalised) hostnames for trackers/web seeds.

Link copied to clipboard

Accept multiple connections from the same IP (not recommended).

Link copied to clipboard

Accept multiple connections from the same peer-id.

Link copied to clipboard

Send the user-agent on every web-seed request, not just the first.

Link copied to clipboard

Include &supportcrypt=1 in HTTP tracker announces.

Link copied to clipboard

Announce to one tracker from every tier (uTorrent behaviour).

Link copied to clipboard

Announce to all trackers in a tier in parallel.

Link copied to clipboard
const val ANONYMOUS_MODE: Int

Hide the client's identity to some degree (generic UA, no IP to private trackers, …).

Link copied to clipboard

Apply the IP filter to trackers as well as peers.

Link copied to clipboard

Prefer seeding torrents when assigning active slots.

Link copied to clipboard
const val AUTO_SEQUENTIAL: Int

Download high-availability torrents sequentially.

Link copied to clipboard
const val BAN_WEB_SEEDS: Int

Ban web seeds that send bad data.

Link copied to clipboard

Close connections where neither end has anything to gain.

Link copied to clipboard

Keep branch_factor outstanding requests to the closest nodes.

Link copied to clipboard

Reject DHT queries from nodes whose IDs aren't derived from their IP.

Link copied to clipboard

Make the first DHT buckets larger (128/64/32/16).

Link copied to clipboard

Ignore DHT traffic from parts of the internet we wouldn't expect.

Link copied to clipboard

Prefer BEP-42-verified node IDs in the DHT routing table.

Link copied to clipboard

Perform privacy-preserving (more expensive) DHT lookups.

Link copied to clipboard
const val DHT_READ_ONLY: Int

Run the DHT in read-only mode (ephemeral/low-power devices).

Link copied to clipboard

Restrict DHT routing-table entries to one per close-CIDR IP.

Link copied to clipboard

Prevent DHT searches from adding very-close-CIDR IPs.

Link copied to clipboard

Assume all downloaded data is correct (testing only).

Link copied to clipboard

Set the no-copy-on-write flag (FS_NOCOW_FL) on downloaded files (Linux).

Link copied to clipboard

Exempt torrents with no payload transfer from the active-seeds/downloads limits.

Link copied to clipboard
const val ENABLE_DHT: Int

Start/stop the DHT node.

Link copied to clipboard

Enable incoming TCP peer connections.

Link copied to clipboard

Enable incoming uTP peer connections.

Link copied to clipboard

Run the internal IP-route-change notifier.

Link copied to clipboard
const val ENABLE_LSD: Int

Start/stop Local Service Discovery.

Link copied to clipboard
const val ENABLE_NATPMP: Int

Start/stop the NAT-PMP port-mapping service.

Link copied to clipboard

Enable outgoing TCP peer connections.

Link copied to clipboard

Enable outgoing uTP peer connections.

Link copied to clipboard

Use SetFileValidData() to pre-allocate disk space (Windows, admin only).

Link copied to clipboard
const val ENABLE_UPNP: Int

Start/stop the UPnP port-mapping service.

Link copied to clipboard

Start an auto-managed, paused torrent on an incoming connection.

Link copied to clipboard

Fall back to an OS-chosen listen port (bind to 0) on failure.

Link copied to clipboard

Pass O_NOATIME when opening files (Linux).

Link copied to clipboard

Refuse to connect to peers on privileged ports (< 1024).

Link copied to clipboard

Skip full file checks when resume data is incomplete/missing.

Link copied to clipboard

Create an affinity for downloading 4 MiB extents of adjacent pieces.

Link copied to clipboard
const val PREFER_RC4: Int

Prefer RC4 when both encryption methods are offered.

Link copied to clipboard

Try UDP trackers before HTTP trackers for the same host.

Link copied to clipboard

Pick partial pieces before rarer pieces.

Link copied to clipboard
const val PROXY_HOSTNAMES: Int

Resolve hostnames through the configured proxy (SOCKS5/HTTP).

Link copied to clipboard

Route peer connections (incl. web seeds) through the proxy.

Link copied to clipboard

Send the target hostname in the HTTP-proxy CONNECT command.

Link copied to clipboard

Route tracker connections through the proxy.

Link copied to clipboard

Drain estimated TCP/IP overhead from the rate limiters.

Link copied to clipboard

Send the number of redundant bytes to the tracker.

Link copied to clipboard

Include redundant bytes in the downloaded figure reported to trackers.

Link copied to clipboard

Report web-seed downloads to the tracker and in stats.

Link copied to clipboard

Have seeding/finished torrents make outgoing connections.

Link copied to clipboard

Send have messages even to peers that already have the piece.

Link copied to clipboard
const val SMOOTH_CONNECTS: Int

Spread connection attempts over time when near the connection limit.

Link copied to clipboard

Include the local endpoint in the SOCKS5 UDP ASSOCIATE command.

Link copied to clipboard
const val SSRF_MITIGATION: Int

Apply SSRF mitigations to tracker and web-seed requests.

Link copied to clipboard

Only request a block twice once every remaining piece has a request.

Link copied to clipboard

Advertise share-mode support to peers.

Link copied to clipboard

Ignore UPnP responses from devices not on our subnet.

Link copied to clipboard

Use the DHT only as a fallback when all trackers fail.

Link copied to clipboard
const val USE_PAROLE_MODE: Int

Restrict peers that fail hash checks to whole-piece downloads (parole).

Link copied to clipboard

Validate HTTPS tracker/web-seed certificates against the system store.