Skip to content

Add bounded SCTP receive resource controls - #475

Open
xojigsx wants to merge 4 commits into
pion:mainfrom
shintosh:main
Open

Add bounded SCTP receive resource controls#475
xojigsx wants to merge 4 commits into
pion:mainfrom
shintosh:main

Conversation

@xojigsx

@xojigsx xojigsx commented Jul 11, 2026

Copy link
Copy Markdown

Adds configurable negotiated inbound/outbound stream ceilings, an inbound per-message reassembly byte limit, and an association-wide retained payload-chunk limit. Admission is duplicate-safe, limits abort before retaining excess data, and charges return when payload becomes unreachable. Tests cover exact limits, limit-plus-one failures, DATA/I-DATA, duplicate-at-cap behavior, complete-unread accounting, read/Forward-TSN release, stream preallocation, client/server options, full suite, and focused race proof.

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.

2 participants