wip: implemented crypto reloader, as separated object from proxy itself
This commit is contained in:
parent
3c6e4e5757
commit
5576389acb
13 changed files with 468 additions and 56 deletions
|
|
@ -9,12 +9,15 @@ pub enum RpxyError {
|
|||
#[error("IO error: {0}")]
|
||||
Io(#[from] std::io::Error),
|
||||
|
||||
#[error("Certificate reload error: {0}")]
|
||||
CertificateReloadError(#[from] hot_reload::ReloaderError<crate::crypto::ServerCryptoBase>),
|
||||
|
||||
// backend errors
|
||||
#[error("Invalid reverse proxy setting")]
|
||||
InvalidReverseProxyConfig,
|
||||
#[error("Invalid upstream option setting")]
|
||||
InvalidUpstreamOptionSetting,
|
||||
#[error("Failed to build backend app")]
|
||||
#[error("Failed to build backend app: {0}")]
|
||||
FailedToBuildBackendApp(#[from] crate::backend::BackendAppBuilderError),
|
||||
|
||||
#[error("Unsupported upstream option")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue