Skip to content

Add backlog for Socket.listen() #115

@forchid

Description

@forchid

In windows, the socket connection is easy to be refused when concurrency more than 10. After changing the code std.posix.listen(self.internal, 0) to std.posix.listen(self.internal, 512) as Rust socket, this problem doesn't hanppen. So I suggest that adding the parameter of backlog for Socket.listen().

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