-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoder: instead of using write_all, keep track of partial writes
Non-blocking IO can cause the write_all to partially succeed. To retry in potential future attempts, keep track of how much was written. This has no impact on blocking IO.
- Loading branch information
1 parent
520d146
commit 02dc9d9
Showing
1 changed file
with
16 additions
and
3 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