Closed zhuxiujia closed 3 years ago
There is a PR for this, I just need to actually get to it: https://github.com/http-rs/surf/pull/271
It will only be supported for the h1-client
.
We don't use reqwest
for the hyper-client
. It will not support rustls
because it uses hyper
directly with tls support from hyper-tls
which only uses native-tls. If you would like rustls support with hyper please open an issue at https://github.com/hyperium/hyper-tls/issues
The h1-client-rustls
support has been merged: https://github.com/http-rs/surf/pull/292
Please support
native-tls
andrust-tls
conditional compilationnative-tls
requires the operating system to install Open-SSL.(The Open-SSL version has serious problems on some cloud service operating systems, Upgrading Open-SSL is not supported)rust-tls
No system dependence whatsoeverreqwest
currently supports conditional compilation switching