Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

synadm support for Synapse over a Unix socket #151

@JacksonChen666

Description

@JacksonChen666

Synapse supports listening over a Unix socket. The library synadm uses to make HTTP requests is requests (python) (pretty much the requests part of synadm), which doesn't appear to support Unix sockets (https://stackoverflow.com/questions/26964595/whats-the-correct-way-to-use-a-unix-domain-socket-in-requests-framework/#27268999), so synadm doesn't support Synapse installs which listen over a Unix socket.

Some things to consider when implementing: The configurator (ask for http or unix, or try to interpret via some unix:// thing instead (handling URIs doesn't seem fun)), how synadm deals with library switeroo (and adding a dependency (plus distributions packaging synadm (although that might be a problem for distributions and not necessarily us)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    core featureFeature request, has priority over regular features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions