aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-error
diff options
context:
space:
mode:
authorYuchen Wu <[email protected]>2024-10-11 17:06:46 -0700
committerYuchen Wu <[email protected]>2024-10-12 09:34:06 -0700
commitb939776792cfc1aff3b83d5cdee2ae5562805f7b (patch)
treeab7812cbbf4b1cd23854e15e297711068dbcf546 /pingora-error
parent9921fe422274ced5ef14eb582d63529859fed441 (diff)
downloadpingora-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.rs2
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",