aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-proxy/src/subrequest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pingora-proxy/src/subrequest.rs')
-rw-r--r--pingora-proxy/src/subrequest.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/pingora-proxy/src/subrequest.rs b/pingora-proxy/src/subrequest.rs
index e75dcc6..f9367b7 100644
--- a/pingora-proxy/src/subrequest.rs
+++ b/pingora-proxy/src/subrequest.rs
@@ -19,6 +19,7 @@ use pingora_cache::lock::WritePermit;
use pingora_core::protocols::raw_connect::ProxyDigest;
use pingora_core::protocols::{
GetProxyDigest, GetSocketDigest, GetTimingDigest, SocketDigest, Ssl, TimingDigest, UniqueID,
+ UniqueIDType,
};
use std::io::Cursor;
use std::sync::Arc;
@@ -68,7 +69,7 @@ impl AsyncWrite for DummyIO {
}
impl UniqueID for DummyIO {
- fn id(&self) -> i32 {
+ fn id(&self) -> UniqueIDType {
0 // placeholder
}
}