Expand description
The bytes a streaming connection holds for the client. The streaming protocols have no flow control, so a connection bounds what it buffers for all of its streams together and stops reading the client once that is used up. The data gives its share back once it got taken.
Structsยง
- Budget ๐
- The bytes a connection may hold. Clones share them.
- Held ๐
- Data which counts against a
Budgetuntil it gets dropped. - HeldBuf ๐
- Held data of one
Budgetin a single buffer, which counts against the budget with all of its capacity until it gets dropped. Unlike a queue ofHeld, small data does not take an allocation of its own, which the budget does not count.