Skip to content

perf(bt): append validated torrent output mappings in place - #34

Merged
agalwood merged 1 commit into
mainfrom
fix/2536_index_output_scaling_20261120
Nov 20, 2026
Merged

agalwood merged 1 commit into
mainfrom
fix/2536_index_output_scaling_20261120

Conversation

@agalwood

Copy link
Copy Markdown
Member

Fix the repeated copying of the accumulated index-out option when adding a multi-file torrent. Each mapping passes the existing index/path validator. A child option copies an inherited value on first use, then appends subsequent entries in place.

The regression test sends 26,730 mappings through IndexOutOptionHandler and checks order, the unchanged parent and re-inheritance after removeLocal. The locally built engine and CppUnit suite passed. The local full manual build separately reported a Russian manpage generation error with Sphinx 9.1.

Refs agalwood/Motrix#2536.

@agalwood
agalwood merged commit 83add2f into main Nov 20, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant