forked from irungentoo/toxcore
-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a file transfer bug introduced in commit 2073d02
This fixes a bug where file transfers would break when the sendto() system call failed with errno 11 (usually indicating a full packet buffer). The max loops constant has also been greatly reduced, as it was excessively CPU intensive, and most connections would not benefit from such a high value. In the future it will be set dynamically.
- Loading branch information
Showing
1 changed file
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters