mirror of
https://github.com/telemt/telemt.git
synced 2026-10-30 04:20:31 +03:00
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:
@@ -65,6 +65,8 @@ pub(super) async fn handle_down(
|
||||
if !body.is_empty() {
|
||||
return serve_decoy(request, vhost, true, &runtime).await;
|
||||
}
|
||||
// Empty polls must not retain even one byte from a conveyor head's body reserve.
|
||||
drop(_body_budget);
|
||||
let Some(_down_poll) = runtime.try_lane_poll(false) else {
|
||||
return service_unavailable();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user