Skip to content

[Feature Request] Please support SO_REUSEPORT, just as ss-libev does. #2043

@MichaelSuen-thePointer

Description

@MichaelSuen-thePointer

I was trying to migrate from ss-libev to ss-rust. Due to some compatibility issues, I cannot run a single sslocal instance with multiple server in configuration files. Instead, I need to run two sslocal instances, each configured as a server, listening on the same port. I will use SO_REUSEPORT to achieve load balancing by listening on the same port.

我正在尝试从ss-libev转向ss-rust。因为一些兼容性原因,目前我无法使用运行一个sslocal实例 + 配置文件填写多个server的模式。而是需要运行两个sslocal实例,各使用一个server配置,通过监听相同的端口,利用SO_REUSEPORT实现监听同一端口进行负载均衡。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions