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

TLS client panic! #195

Open
mcjing opened this issue Apr 22, 2022 · 0 comments
Open

TLS client panic! #195

mcjing opened this issue Apr 22, 2022 · 0 comments

Comments

@mcjing
Copy link

mcjing commented Apr 22, 2022

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)
    }
};
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant