aboutsummaryrefslogtreecommitdiffstats
path: root/docs/research/013-authored-pointer-input.md
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 10:46:30 +0100
committereunhhu <[email protected]>2026-09-26 10:46:30 +0100
commitd58e1d29cc3cbd5f1c9b271c0b7e25b9962fad4f (patch)
tree47608cd54f1f38a534eb3313c765818b837e5704 /docs/research/013-authored-pointer-input.md
parent2827b23a1ec319d6a70eadccfa45cb5b7d8c83cc (diff)
downloadpure-d58e1d29cc3cbd5f1c9b271c0b7e25b9962fad4f.tar.gz
pure-d58e1d29cc3cbd5f1c9b271c0b7e25b9962fad4f.zip
Charge lent answers to the payload budget
A read answered with extents of the store mapping was charged nothing, so clients that stopped reading could keep any number of old file versions mapped. The runtime core now takes resources a host sends in pieces: body.data is NULL, body.size is charged like any other resource, the outcome has no body to read and cannot be forwarded. pure-serve hands the mapping reference over as such a resource, so a lent answer holds its bytes of budget until it is in the socket and its ticket releases the mapping; past the budget a read gets 503 payload_budget, as a copied one would. The async core grows 52 bytes (5,776 of its 6,144).
Diffstat (limited to 'docs/research/013-authored-pointer-input.md')
0 files changed, 0 insertions, 0 deletions