mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Add support to per-torrent DHT, PEx, LSD options in WebUI #16921
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#16921
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @virgilinojuca on GitHub (May 31, 2025).
Suggestion
Since #13885, one can have DHT, PEx and LSD enabled globally, but disabled for individual torrents. However, this feature is not supported in webUI yet. The “Torrent Options” dialog is not available in webUI, so there is no way to disable any of the aforementioned features from there. And, even if you do it form elsewhere (the main Qt interface, or even reloading the program with manually edited
.fastresumefiles), the webUI will still show DHT, PEx and/or LSD as “Working” (even though it actually isn't), instead of “Disabled for this torrent” that is shown in the main Qt interface. My suggestion is that the “Torrent Options” dialog is added to the webUI as well.Use case
I think this would be useful especially for headless installations. I, for example, run my main qBittorrent instance in a Docker container in my NAS, so I usually control it via webUI only.
In that installation, to disable DHT/PEx/LSD per-torrent, I currently have to stop my docker container, manually edit the fastresume files (changing
disable_dht,disable_lsd, and/ordisable_pexto1), and then restart the container. It does work under the hood, but is not reflected in the webUI.Extra info/examples/attachments
Even though my main installation is an unofficial Docker image, I also tested it on Windows 11 (Pro x64 24H2) with an official qBittorrent 5.1.0 (Qt: 6.9.0, libtorrent 1.2.20.0), and the behaviour is the same.
@HanabishiRecca commented on GitHub (Jun 1, 2025):
I think that should be accounted first. WebUI showing blatant wrong info could be even considered a bug.