diff options
-rw-r--r-- | .bleep | 2 | ||||
-rw-r--r-- | pingora-core/src/protocols/tls/rustls/stream.rs | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1 +1 @@ -ab4b4c023bc3b26dfe253cf43ce410ccd76a6b27 +4cba0f37f5682058c05904a3c5a395919a8ac498 diff --git a/pingora-core/src/protocols/tls/rustls/stream.rs b/pingora-core/src/protocols/tls/rustls/stream.rs index a2c6811..7361bdb 100644 --- a/pingora-core/src/protocols/tls/rustls/stream.rs +++ b/pingora-core/src/protocols/tls/rustls/stream.rs @@ -21,7 +21,7 @@ use std::time::{Duration, SystemTime}; use crate::listeners::tls::Acceptor; use crate::protocols::raw_connect::ProxyDigest; -use crate::protocols::{tls::SslDigest, Peek, TimingDigest}; +use crate::protocols::{tls::SslDigest, Peek, TimingDigest, UniqueIDType}; use crate::protocols::{ GetProxyDigest, GetSocketDigest, GetTimingDigest, SocketDigest, Ssl, UniqueID, ALPN, }; @@ -216,7 +216,7 @@ impl<T> UniqueID for TlsStream<T> where T: UniqueID, { - fn id(&self) -> i32 { + fn id(&self) -> UniqueIDType { self.tls.stream.as_ref().unwrap().get_ref().0.id() } } |