Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test usrsctp with usrsctp_get_timeout() #1351

Draft
wants to merge 1 commit into
base: v3
Choose a base branch
from
Draft

Commits on Mar 5, 2024

  1. Test usrsctp with usrsctp_get_timeout()

    ### Details
    
    - Related task: #1011. Note that usrsctp author never cared about the existing PR so we are on our own.
    - So I've forked usrctp, added the `usrsctp_get_timeout()` feature and released version 0.9.6.0: versatica/usrsctp#1
    - And I've made `usrsctp.wrap` point to it.
    
    ### Notes
    
    - It would be great to have a way to pass `sctp_debug=true` when building usrsctp Meson subproject so it defines `SCTP_DEBUG` (needed in `DepUsrSCTP.cpp` to show SCTP debug). An manual alternative is to edit `meson.build` of usrsctp and add it unconditionally.
    - I'm calling `HandleUsrSctpTimers()` everytime the timer fires (of course), also in `onSendSctpData` callback and also when SCTP data is received (in `SctpAssociation::ProcessSctpData()`. Not sure if correct.
    ibc committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    58384dc View commit details
    Browse the repository at this point in the history