diff options
author | Yuchen Wu <[email protected]> | 2024-10-11 17:06:46 -0700 |
---|---|---|
committer | Yuchen Wu <[email protected]> | 2024-10-12 09:34:06 -0700 |
commit | b939776792cfc1aff3b83d5cdee2ae5562805f7b (patch) | |
tree | ab7812cbbf4b1cd23854e15e297711068dbcf546 /pingora-error | |
parent | 9921fe422274ced5ef14eb582d63529859fed441 (diff) | |
download | pingora-b939776792cfc1aff3b83d5cdee2ae5562805f7b.tar.gz pingora-b939776792cfc1aff3b83d5cdee2ae5562805f7b.zip |
Refactor openssl code one more time before rustls integration
Co-authored-by: Harald Gutmann <[email protected]>
Diffstat (limited to 'pingora-error')
-rw-r--r-- | pingora-error/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pingora-error/src/lib.rs b/pingora-error/src/lib.rs index d856763..935b252 100644 --- a/pingora-error/src/lib.rs +++ b/pingora-error/src/lib.rs @@ -105,6 +105,7 @@ pub enum ErrorType { ConnectTimedout, ConnectRefused, ConnectNoRoute, + TLSWantX509Lookup, TLSHandshakeFailure, TLSHandshakeTimedout, InvalidCert, @@ -164,6 +165,7 @@ impl ErrorType { ErrorType::ConnectRefused => "ConnectRefused", ErrorType::ConnectNoRoute => "ConnectNoRoute", ErrorType::ConnectProxyFailure => "ConnectProxyFailure", + ErrorType::TLSWantX509Lookup => "TLSWantX509Lookup", ErrorType::TLSHandshakeFailure => "TLSHandshakeFailure", ErrorType::TLSHandshakeTimedout => "TLSHandshakeTimedout", ErrorType::InvalidCert => "InvalidCert", |