Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
The current behavior is when you read from offset == file_length, it will throw error:
"AsyncPreadSome: trying to begin a read past the EOF"
But read with offset at EOF should just return 0 bytes. The above error should only be thrown when offset > file_length.