aws/s2n-tls

[Rust Binding] Making `s2n_tls::connection::Connection` sync safe

x77a1 opened this issue · 2 comments

Problem

We are unable to use s2n_tls::connection::Connection in a multi-threaded tokio runtime in our application since its !Sync.

Solution:

Making s2n_tls::connection::Connection sync safe will solve the problem.

Thanks for the report. We have to fix #4291 before we make the Connection Sync.

We have to fix #4291 before we make the Connection Sync.

While it would be nice to have, I don't think that's true. We should try and decouple the efforts.