wip: refactoring the cache logic
This commit is contained in:
parent
6030bebac5
commit
f5197d0869
6 changed files with 261 additions and 22 deletions
|
|
@ -84,6 +84,15 @@ pub enum RpxyError {
|
|||
#[error("Failed to fetch from upstream: {0}")]
|
||||
FailedToFetchFromUpstream(String),
|
||||
|
||||
// Cache errors,
|
||||
#[cfg(feature = "cache")]
|
||||
#[error("Invalid null request and/or response")]
|
||||
NullRequestOrResponse,
|
||||
|
||||
#[cfg(feature = "cache")]
|
||||
#[error("Failed to write byte buffer")]
|
||||
FailedToWriteByteBufferForCache,
|
||||
|
||||
// Upstream connection setting errors
|
||||
#[error("Unsupported upstream option")]
|
||||
UnsupportedUpstreamOption,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue