Bounded WEB HTTP conveyor with replay-safe streaming downlink added

Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
Alexey
2026-10-03 16:02:18 +03:00
parent c4555e25f3
commit 823c6cbc7f
39 changed files with 2186 additions and 237 deletions
+5
View File
@@ -337,6 +337,11 @@ impl Drop for WebSocketBudgetLease {
}
impl WebProcessRuntime {
/// Reserves a parked future uplink without consuming the head request's capacity.
pub(crate) fn try_conveyor_waiter(&self) -> Option<OwnedSemaphorePermit> {
Arc::clone(&self.conveyor_waiters).try_acquire_owned().ok()
}
/// Reserves one body reader and its declared bounded body allocation.
pub(crate) fn try_body_budget(
&self,