DescriptionFix 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
Committed: https://crrev.com/4cc9f98e4c10741a28cd0c715e6c130cb30dbd0f
Cr-Commit-Position: refs/heads/master@{#11751}
Patch Set 1 #Patch Set 2 : improve comments. #
Messages
Total messages: 17 (10 generated)
|