mirror of
https://github.com/TokTok/c-toxcore
synced 2026-10-23 21:43:33 +00:00
add logging when connection limits file transfer speed
This commit is contained in:
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user