Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Read never returns io.EOF / io.UnexpectedEOF #35

Open
@simonferquel

Description

Expected behavior

client.Read should have the same semantic as an io.Reader when reaching the end of a file.
RRead does not contain an error code, but if its count is 0, we should assume we reached the end of file and return either (0, io.EOF) or (0, io.UnexpectedEOF)

Current behavior

Reading from the EOF, returns (0, nil)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions