1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-27 15:04:36 +00:00

Don't prefer TCP connections over uTP.

This commit is contained in:
sledgehammer999 2013-08-03 15:22:20 +03:00
parent c96eff2c15
commit a052963775

View File

@ -491,10 +491,7 @@ 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.mixed_mode_algorithm = session_settings::peer_proportional;
sessionSettings.connection_speed = 20; //default is 10
#endif
qDebug() << "Settings SessionSettings";