- µTorrent is now also spoofed correctly

This commit is contained in:
Christophe Dumez
2009-12-11 12:22:41 +00:00
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.0.1
- BUGFIX: µTorrent user-agent is now spoofed correctly
* Thu Dec 10 2009 - Christophe Dumez <chris@qbittorrent.org> - v2.0.0
- FEATURE: Added program option to disable splash screen
- FEATURE: Dropped dependency on libcurl and libzzip

View File

@@ -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;

View File

@@ -3,7 +3,7 @@ LANG_PATH = lang
ICONS_PATH = Icons
# Set the following variable to 1 to enable debug
DEBUG_MODE = 0
DEBUG_MODE = 1
# Global
TEMPLATE = app