mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- uTorrent user agent is now spoofed correctly
This commit is contained in:
parent
d3687fd863
commit
84f00bf3f6
2 changed files with 4 additions and 2 deletions
|
@ -303,9 +303,11 @@ void Bittorrent::configureSession() {
|
|||
// * Session settings
|
||||
session_settings sessionSettings;
|
||||
if(Preferences::isUtorrentSpoofingEnabled()) {
|
||||
sessionSettings.user_agent = "uTorrent/1850";
|
||||
sessionSettings.user_agent = "uTorrent/1850(17414)";
|
||||
qDebug("User agent is: BTWebClient/1850(17414)");
|
||||
} else {
|
||||
sessionSettings.user_agent = "qBittorrent "VERSION;
|
||||
qDebug("User agent is: qBittorrent "VERSION);
|
||||
}
|
||||
sessionSettings.upnp_ignore_nonrouters = true;
|
||||
sessionSettings.use_dht_as_fallback = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue