Skip to content

Consider never returning EOF #1

@bddap

Description

@bddap

https://noiseprotocol.org/noise.html#application-responsibilities states Session termination needs to be handled by the application. An eof on the stream should not be interpreted as some other error.

Option 1: Encstream implements In eof signaling.

Option 2: Encstream delegates eof signaling to the user.

Option 1 is likely nicer for the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions