Skip to main content

DEFAULT_CLIENT_RANGES

Constant DEFAULT_CLIENT_RANGES 

Source
pub const DEFAULT_CLIENT_RANGES: u32 = queue::DEFAULT_RANGES_WINDOW; // 4u32
Expand description

The ranges of one session a client holds in flight unless told otherwise: the lane’s default P (queue::DEFAULT_RANGES_WINDOW).

It applies only to a source that verifies what it re-derives (UploadSource::verifies_rederived): bytes in memory, and an original that checks every re-derived STREAM chunk against the tag its bundle recorded. A parallel schedule re-sends ranges far more often (a refused overlap, a lost answer, a cut), so any other source is sent one range at a time, whatever this window, and a source changed mid-upload never puts two ciphertexts under one nonce on the wire. UploadClient::with_ranges_window narrows or widens it per client.