This commit is contained in:
Mateusz Gruszczyński committed 2026-11-20 19:51:27 +01:00
1 parent 15425fb803
commit 0fc9c0d239
21 files changed
+395 -36

No files matched your search

+7
View File
@@ -190,6 +190,13 @@ impl Candidate {
}
}
/// A response body still owns an active cache fill. The proxy uses this
/// marker to finish filling a cacheable HEAD miss without sending a body.
#[derive(Clone, Copy)]
pub(crate) struct PendingFill {
pub max_body_bytes: usize,
}
struct FillBody {
inner: Body,
candidate: Option<Candidate>,