Skip to content

add set_reuse_port to tcp and framed_tcpΒ #176

Open
@aseuler

Description

please add the config option that we can open the tcp and framed_tcp port reuse feature, thanks.

`rust
tcp.rs/ LocalResource::listen_with
socket.set_reuse_port(true)?;
socket.set_nodelay(true)?;

framed_tcp.rs/ LocalResource::listen_with
socket.set_reuse_port(true)?;
socket.set_nodelay(true)?;
socket.bind(&addr.into())?;

`

BR

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