Repository navigation
Expose usrsctp's cwnd-based max burst as a setting - #7
Merged
onebeastchris merged 1 commit intoNov 27, 2026
Merged
onebeastchris merged 1 commit into
onebeastchris merged 1 commit into
Conversation
onebeastchris
requested changes
Nov 25, 2026
SctpSettings.Builder.cwndBasedMaxBurst(boolean) chooses whether max burst shrinks cwnd to what is in flight plus maxBurst MTUs whenever the sender is application-limited, as usrsctp does by default, or only limits each burst. Unset, usrsctp's default holds. Syncs jni/libdatachannel to opencollab-incubator/libdatachannel@0b158812, which adds the setting (opencollab-incubator#5).
electronicboy
force-pushed
the
shane/sctp-cwnd-based-max-burst
branch
from
November 25, 2026 12:45
c5810d8 to
b3b9f45
Compare
onebeastchris
merged commit Nov 27, 2026
3075809
into
opencollab-incubator:main
16 of 17 checks passed
onebeastchris
added a commit
to CloudburstMC/Network
that referenced
this pull request
Nov 27, 2026
This brings in upstream improvements, mainly: usrsctp changes: - opencollab-incubator/usrsctp#1 (Restart T3-rtx on a new cumulative ack in the express SACK path) libdatachannel: - opencollab-incubator/libdatachannel#4 (Report the bytes in the SCTP association's own queues) - opencollab-incubator/libdatachannel#5 (Make usrsctp's cwnd-based max burst a setting) - opencollab-incubator/libdatachannel#6 (Pull in usrsctp changes) libdatachannel-java: - opencollab-incubator/libdatachannel-java#6 (Expose the bytes in the SCTP association's own queues and the send buffer that bounds them) - opencollab-incubator/libdatachannel-java#7 (Expose usrsctp's cwnd-based max burst as a setting) - opencollab-incubator/libdatachannel-java#8 (Sync jni/libdatachannel to latest fork update) - opencollab-incubator/libdatachannel-java#9 (fix: windows handles leak (x86_64) due to libstdc++ issue)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exposes opencollab-incubator/libdatachannel#5's (merged)
cwndBasedMaxBurstsetting onSctpSettings:SctpSettings.Builder.cwndBasedMaxBurst(boolean).maxBurstMTUs whenever the sender is application-limited.LibDataChannel.setSctpSettingsNativeandjni/src/util.cpppass it through asrtcSctpSettings.cwndBasedMaxBurst: 1 on, -1 off, 0 unset.NetherNetNativein CloudburstMC/Network sets max burst indirectly, through libdatachannel's default of 10. With this setting, a NetherNet server can stop the clamp from pinning cwnd at about 10 packets going into every chunk or pack burst. The reasoning and test results are in #5.libdatachannel
Syncs
jni/libdatachannelto opencollab-incubator/libdatachannel@0b158812, which has opencollab-incubator/libdatachannel#5 (this setting) and opencollab-incubator/libdatachannel#4 (the send-queue stats). It's rebased ontomain, and the temporary commit that fetched the submodule fromelectronicboy/libdatachannelis gone. #6 syncs to the same commit, so the two merge in either order.Testing
:compileJavapasses on this branch, and this repo's native build matrix runs on the PR.LibDataChannel.setSctpSettings.