Skip to content

more flexible EOF symbol #10

@horpto

Description

@horpto

Some clients send \n symbol as EOF instead of \r\n pair (for example nc on linux). Due to this client sends data to the server but it doesn't respond to the client although saves data in this._remainder.

I suggests to allow for programmer specify which symbol(s) use as EOF and set it by default as \r\n. Also sometime services need assume 'soft EOF' i.e. or \r\n or \n or (maybe for macos users of service) \r.

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