Skip to content

Channel::from_shared doesn't support unix URIs #2546

@bouk

Description

@bouk

Bug Report

If I do Channel::from_shared("unix:///tmp/test") I get a invalid URI unix:///tmp/test. Reason invalid format. This is because the URI is parsed by http::uri::Uri which doesn't support that protocol.

Endpoint::from_shared works fine though since this PR: #2218

I can switch to Endpoint::from_shared but this behavior is a bit unexpected.

Version

0.14.2

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