mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
add logging when connection limits file transfer speed
This commit is contained in:
parent
286cc44f54
commit
fd73f3eeb6
|
@ -1476,6 +1476,7 @@ static bool do_all_filetransfers(Messenger *m, int32_t friendnumber, void *userd
|
|||
|
||||
if (max_speed_reached(m->net_crypto, friend_connection_crypt_connection_id(
|
||||
m->fr_c, friendcon->friendcon_id))) {
|
||||
LOGGER_TRACE(m->log, "Maximum connection speed reached");
|
||||
// connection doesn't support any more data
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user