Skip to content

feat: bound CON response storage - #96

Merged
cvik merged 1 commit into
mainfrom
feat/con-buffers
Oct 13, 2026
Merged

cvik merged 1 commit into
mainfrom
feat/con-buffers

Conversation

@cvik

@cvik cvik commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Replace allocating CON response APIs with caller-owned datagram, option, and bounded Block2 storage. Completed results retain their bytes and metadata until caller reuse; capacity failures are correlated by handle and release client state. Remove result deinit/sentinel flags, add local cancellation, and harden blockwise and separate-response handling.

Synchronize DTLS benchmark workers and use common-wall successful-response throughput. Include matched original-library controls, allocator-separated results, and ownership/benchmark documentation. This intentionally breaks the CON API; raw receive and Observe allocator APIs remain explicit.

Verification: 194/194 Debug and ReleaseSafe tests, Debug/ReleaseFast builds, IPv6 DTLS smoke, and 132 final zero-error benchmark comparisons. Single-worker ReleaseFast DTLS improves 2.2–3.4x with DebugAllocator; matched SMP is approximately unchanged. Four-worker variance and negative cells are retained and qualified in docs/CON_BUFFERS.md.

@cvik
cvik merged commit e64945f into main Oct 13, 2026
1 check passed
@cvik
cvik deleted the feat/con-buffers branch October 13, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant