aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-proxy/src/subrequest.rs
diff options
context:
space:
mode:
authorYuchen Wu <[email protected]>2024-09-26 16:40:31 -0700
committerYuchen Wu <[email protected]>2024-10-11 15:40:59 -0700
commit4aadba12727afe6178f3b9fc2a3cad2223ac7b2e (patch)
tree48c28248062b02a9803a38887253edfe4679a764 /pingora-proxy/src/subrequest.rs
parent289687928a0bea04df31f76db783548b62cd8af6 (diff)
downloadpingora-4aadba12727afe6178f3b9fc2a3cad2223ac7b2e.tar.gz
pingora-4aadba12727afe6178f3b9fc2a3cad2223ac7b2e.zip
Windows support
Co-authored-by: Fredrik Enestad <[email protected]>
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
}
}