1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-25 14:04:23 +00:00

Revert "Don't prefer TCP connections over uTP."

This reverts commit a0529637758b6136176c4d735528b9fdb1ec7428.
This commit is contained in:
sledgehammer999 2013-11-20 00:21:48 +02:00
parent 3d9f3eb1b3
commit 8d04b04aae

View File

@ -454,6 +454,9 @@ void QBtSession::configureSession() {
sessionSettings.enable_outgoing_utp = pref.isuTPEnabled();
// uTP rate limiting
sessionSettings.rate_limit_utp = pref.isuTPRateLimited();
if (sessionSettings.rate_limit_utp)
sessionSettings.mixed_mode_algorithm = session_settings::prefer_tcp;
else
sessionSettings.mixed_mode_algorithm = session_settings::peer_proportional;
sessionSettings.connection_speed = 20; //default is 10
qDebug() << "Settings SessionSettings";