commit | 6f2ef74b423ca81c70cdd231b12f55fc18836fb2 | [log] [tgz] |
---|---|---|
author | Joachim Bauch <jbauch@webrtc.org> | Thu May 21 15:52:01 2015 |
committer | Joachim Bauch <jbauch@webrtc.org> | Thu May 21 15:51:41 2015 |
tree | 93f49fb13e8bb8f44a9ce3d5dfb176f9537d2262 | |
parent | a3ba0c7f5a347ec310ffa95efdf078950134abd5 [diff] |
Keep track of DTLS packet sizes to prevent partial reads. The current use of rtc::FifoBuffer can lead to reading across DTLS packet boundaries which could cause packets to not being processed correctly. This CL introduces the new class rtc::BufferQueue and changes the StreamInterfaceChannel to use it instead of the rtc::FifoBuffer. BUG=chromium:447431 R=juberti@google.com Review URL: https://webrtc-codereview.appspot.com/52509004 Cr-Commit-Position: refs/heads/master@{#9254}