diff options
Diffstat (limited to 'pingora-proxy/src/subrequest.rs')
-rw-r--r-- | pingora-proxy/src/subrequest.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pingora-proxy/src/subrequest.rs b/pingora-proxy/src/subrequest.rs index f9367b7..68e2876 100644 --- a/pingora-proxy/src/subrequest.rs +++ b/pingora-proxy/src/subrequest.rs @@ -18,8 +18,8 @@ use core::task::{Context, Poll}; use pingora_cache::lock::WritePermit; use pingora_core::protocols::raw_connect::ProxyDigest; use pingora_core::protocols::{ - GetProxyDigest, GetSocketDigest, GetTimingDigest, SocketDigest, Ssl, TimingDigest, UniqueID, - UniqueIDType, + GetProxyDigest, GetSocketDigest, GetTimingDigest, Peek, SocketDigest, Ssl, TimingDigest, + UniqueID, UniqueIDType, }; use std::io::Cursor; use std::sync::Arc; @@ -94,6 +94,8 @@ impl GetSocketDigest for DummyIO { } } +impl Peek for DummyIO {} + #[async_trait] impl pingora_core::protocols::Shutdown for DummyIO { async fn shutdown(&mut self) -> () {} |