Open alex opened 5 years ago
Relevant to #58
LGTM 👍
This doesn't really upgrade to the latest openssl, as adding panic
makes it TLS mode completely non-functional.
I removed tls
feature from the list of default features, this should make it easier to use this crate when the tls
(openssl) feature is not required.
Hmm, unfortunately I don't believe it's possible to emulate the Clone
API with a recent OpenSSL, except perhaps by making it an Rc
(or maybe Arc
or Mutex
+ Arc
). Do you have an opinion on how to proceed?
The version of openssl that was previously used had numerous security issues, and did not support the latest versions of the upstream openssl package.
I wasn't sure what to do about the
impl Clone
on connection, there doesn't appear to be a way to get the current behavior withSslStream
in the latest version ofopenssl
.