commit | ad5465b443cc5fda563dca4b40e52580e14cb621 | [log] [tgz] |
---|---|---|
author | Jeroen de Borst <jeroendb@webrtc.org> | Mon Oct 01 22:02:12 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 02 18:23:12 2018 |
tree | 9c8ebeec52c7bc35d4c176254e6fb1a4cc52f5ef | |
parent | 5fb245498ccd2c7c6be3db2492f0996d25b6cb20 [diff] |
Deliver partial SCTP messages when the SID is (unexpectedly) changed. We're receiving SCTP messages one chunk at a time. The sender is supposed to set the MSG_EOR bit on the last chunk of a message. A crash (RTC_CHECK) happened when the sender started a new message without indicating the end of the previous message. This is likely due to an SCTP implementation that doesn't (correctly) support the MSG_EOR bit. This change, rather than calling RTC_CHECK, delivers partial messages when SID is (unexpectedly) changed, which is what happened before we paid attention to the MSG_EOR bit ourselves. TBR=pthatcher@webrtc.org Bug: chromium:884926 Change-Id: I18c773bb60ae724b735a83933eedd030f6360a3c Reviewed-on: https://webrtc-review.googlesource.com/c/103023 Commit-Queue: Jeroen de Borst <jeroendb@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Reviewed-by: Qingsi Wang <qingsi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24935}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.