commit | 4cc9f98e4c10741a28cd0c715e6c130cb30dbd0f | [log] [tgz] |
---|---|---|
author | guoweis <guoweis@webrtc.org> | Wed Feb 24 11:10:06 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Feb 24 19:10:09 2016 +0000 |
tree | 6fd96a000677078977f80f8875225363ae6c97b3 | |
parent | 615fabb661e0a8a3a76e0d135ba37876a7887d7a [diff] |
Fix bug 574524: DtlsTransportChannel crashes after SSL closes remotely When remote side closes, opensslstreamadapter could return SR_EOS which will not trigger upper layer to clean up what's left in the StreamInterfaceChannel. The result of this is when there are more packets coming in, the Write on the StreamInterfaceChannel will overflow the buffer. The fix here is that when receiving the remote side close signal, we also close the underneath StreamInterfaceChannel which will clean up the queue to prevent overflow. BUG=574524 TBR=pthatcher@webrtc.org Review URL: https://codereview.webrtc.org/1566023002 Cr-Commit-Position: refs/heads/master@{#11751}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.