sapling/eden/scm/lib/http-client
Arun Kulshreshtha 5f0a89ca37 http-client: add HttpClientError variant for TLS errors
Summary:
Add a new `HttpClientError::Tls` variant specifically for TLS errors, separating them from other `curl::Error`s from libcurl.

To determine whether a particular `curl::Error` is a TLS error, we check both the error code and the contents of the error message.

Reviewed By: quark-zju

Differential Revision: D26385845

fbshipit-source-id: fd58f86a3a61fcfb845d19e262fdcb132dc7ec9f
2021-02-11 19:29:21 -08:00
..
src http-client: add HttpClientError variant for TLS errors 2021-02-11 19:29:21 -08:00
Cargo.toml http-client: add HttpClientError variant for TLS errors 2021-02-11 19:29:21 -08:00