mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
[WebRTC] Port some upstream sctp fixes
- add SCTP auth token boundary check. - turn off SCTP auth and address reconfiguration.
This commit is contained in:
parent
2442d307b5
commit
9ec0ef7614
2 changed files with 22 additions and 7 deletions
|
|
@ -354,6 +354,13 @@ DataChannelConnection::Init(unsigned short aPort, uint16_t aNumStreams, bool aUs
|
|||
usrsctp_sysctl_set_sctp_blackhole(2);
|
||||
// ECN is currently not supported by the Firefox code
|
||||
usrsctp_sysctl_set_sctp_ecn_enable(0);
|
||||
|
||||
// Disabling authentication and dynamic address reconfiguration as neither
|
||||
// of them are used for data channel and only result in additional code
|
||||
// paths being used.
|
||||
usrsctp_sysctl_set_sctp_asconf_enable(0);
|
||||
usrsctp_sysctl_set_sctp_auth_enable(0);
|
||||
|
||||
sctp_initialized = true;
|
||||
|
||||
RefPtr<DataChannelShutdown> shutdown = new DataChannelShutdown();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue