Skip to content

Add --unix option for RPC server #7545

@link2xt

Description

@link2xt

RPC server currently listens on stdin and prints to stdout. To support long-running server for cmsend and similar projects it needs to be able to accept more connections while running.

--unix option should accept a socket path, open it and listen for new connections. tokio::net::UnixListener is supported on all platforms (including Windows). yerpc should be able to handle this with multiple RpcSession objects opened per connection, if there are any problems we should fix it in yerpc as it is part of chatmail.

See also my comment at #7535 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions