tonic icon indicating copy to clipboard operation
tonic copied to clipboard

Calling ClientTlsConfig::with_enabled_roots deletes any previous config

Open Hodkinson opened this issue 1 year ago • 0 comments

The self parameter should be used to keep hold of any previous config.

https://github.com/hyperium/tonic/blob/2464f080e0c562f477bef2c9892b6c87df6273ad/tonic/src/transport/channel/tls.rs#L106

Hodkinson avatar Sep 07 '24 09:09 Hodkinson