pub struct DigestDetail {
pub connection_reused: bool,
pub connection_time: u64,
pub tcp_established: u64,
pub tls_established: u64,
pub tcp_connect: Option<u64>,
pub tls_handshake: Option<u64>,
pub connect_offload_wait: Option<u64>,
pub tls_version: Option<Cow<'static, str>>,
pub tls_cipher: Option<Cow<'static, str>>,
}Expand description
Helper struct to store connection timing and TLS details
Fields§
§connection_reused: boolA guess at reuse: the connection was established more than 100 ms before this request. It is only a guess - a slow client or a long TLS handshake trips it on a brand-new connection - so the proxy takes the exact keepalive signal pingora gives it for HTTP/1 and applies this only to HTTP/2, where streams share one connection with no signal.
connection_time: u64Age of the connection in milliseconds, wall clock.
tcp_established: u64Timestamp when TCP connection was established
tls_established: u64Timestamp when TLS handshake completed
tcp_connect: Option<u64>TCP connect time in milliseconds, measured by pingora on a monotonic
clock. Only a connection this side opened has one; an accepted
connection reports None.
tls_handshake: Option<u64>TLS handshake time in milliseconds, measured by pingora on a monotonic
clock around the handshake itself; None without TLS or when it was
not measured.
connect_offload_wait: Option<u64>Time the connect spent queued for an offload thread, in milliseconds.
None unless the connect was offloaded.
tls_version: Option<Cow<'static, str>>TLS protocol version if using HTTPS
tls_cipher: Option<Cow<'static, str>>TLS cipher suite in use if using HTTPS