Skip to main content

Module flow

Module flow 

Source
Expand description

Flow-Control — RFC 9113 §5.2 + §6.9.

Spec §5.2: pro Stream UND Connection gibt es ein Flow-Window. Sender darf nicht mehr als min(stream_window, conn_window) an DATA-Bytes senden, bevor WINDOW_UPDATE empfangen wurde.

Structs§

FlowControl
Flow-Control-Window mit signed-i64 (Spec §6.9: kann transient negativ werden, wenn Settings das Window verkleinern).

Constants§

INITIAL_WINDOW_SIZE
Initiale Window-Size laut Spec §6.5.2 (SETTINGS_INITIAL_WINDOW_SIZE).

Functions§

decode_window_update
Decoded ein WINDOW_UPDATE-Frame-Payload (4 Bytes).
encode_window_update
Encoded ein WINDOW_UPDATE-Frame-Payload (4 Bytes, R-Bit + 31-bit Increment). Spec §6.9.