Skip to content

Passing -math.huge to socket:read doesn't work #89

Open
@daurnimator

Description

@daurnimator

I expected passing -math.huge to :read would behave like "*a", but without waiting until EOF. (infact, passing math.huge should be equivalent to "*a").

Instead, the code for the LSO_LIMIT case assigns the double HUGE_VAL to a size_t...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions