|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
RFC 9000 3.2: closed client stream indexes (id / 4) of one stream type – every index below floor, plus the 1024 just above it in bm (bit k = index floor + k). More...
#include <srvloop.h>
Data Fields | |
| u64 | floor |
| every index below this is closed | |
| u64 | bm [16] |
| the 1024 indexes from floor up | |
RFC 9000 3.2: closed client stream indexes (id / 4) of one stream type – every index below floor, plus the 1024 just above it in bm (bit k = index floor + k).
A late duplicate of a closed stream is discarded, not re-admitted. Ceiling: a mark past the window slides it up 64 indexes at a time, so indexes left behind count as closed even if a long-lived stream among them is still open – harmless, since a live stream's slot is always found before this set is consulted.