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