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

TLS client panic! #195

Description

@mcjing

TLS client paniced, i had try the greeter demo, the client paniced with a unimpl error.

https://github.com/stepancheg/grpc-rust/blob/master/grpc/src/client/mod.rs:104

let (host, port) = match self.client_type {
    ClientBuilderType::Tcp { host, port } => {
        match self.tls {
            Tls::Explict(_) => {
                todo!()
            }
            Tls::Implicit(x) => {
                builder.set_tls_dyn(host, x)?;
            }
            Tls::None => {}
        }
        builder.set_addr((host, port))?;
        (host, Some(port))
    }
    ClientBuilderType::Unix { socket } => {
        builder.set_unix_addr(socket)?;
        (socket, None)
    }
};

Metadata

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