commit | 5b4667bc57d3ce2230e556ba38dcdc9342bdf819 | [log] [tgz] |
---|---|---|
author | sergeyu <sergeyu@chromium.org> | Fri Mar 17 19:12:48 2017 |
committer | Commit bot <commit-bot@chromium.org> | Fri Mar 17 19:12:48 2017 |
tree | 2d3fb1fe7ec3359984cd9fd3d7ba9905a28e07c5 | |
parent | af737fca2a12ce091d13c99cfec05d159af0748c [diff] |
Update ICE protocol to handle closed channel An ICE/PseudoTcp channel may be closed by the peer. Read() may returns 0 in that case. MessageReader wasn't expecting 0 and was DCHECK'ing in that case. Also update StreamMessagePipeAdapter to handle this case as closed MessagePipe. BUG=700167 Review-Url: https://codereview.chromium.org/2757723002 Cr-Commit-Position: refs/heads/master@{#457842}