Handle short reads in stream encoder #88

Open
opened 2021-05-28 16:32:22 +02:00 by lyoshenka · 0 comments
lyoshenka commented 2021-05-28 16:32:22 +02:00 (Migrated from github.com)

In Encoder.Next(), every read creates a blob even if you only read one byte. Instead it should keep reading until it has a full blob's worth of data or hits EOF.

In `Encoder.Next()`, every read creates a blob even if you only read one byte. Instead it should keep reading until it has a full blob's worth of data or hits EOF.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry.go#88
No description provided.