grpc-rust
grpc-rust copied to clipboard
TLS client panic!
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)
}
};