Put a receipt's segments on the wire together, like a message's

This commit is contained in:
2026-09-01 17:03:33 +02:00
parent 8becbc0ab6
commit 1e7e113bd7
7 changed files with 56 additions and 23 deletions
+2 -1
View File
@@ -354,7 +354,8 @@ Grouped by what each one constrains.
half: waiting forever is safe for the peer, whose every request is bounded by `responseTimeout`,
and unsafe for the application, which nothing bounds — `close()` is what you reach for when the
application is stuck, so it may not block on the application coming unstuck. That half falls back
to `responseTimeout`, the same answer the link gate's hold already takes.
to `responseTimeout`, the same answer the link gate's hold already takes — and to that option's
default where it is 0 as well, since neither option is an answer about the application.
- **A reconnect keeps the delivery-receipt merges; everything else the link held is dropped.**
`onDeliverSm()` answers each receipt before the group it belongs to is complete, and `teardown()`