Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Issue 1649493006: Stop processing any incoming packets when turn port is disconnected. (Closed)

Created:
4 years, 10 months ago by honghaiz3
Modified:
4 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Stop processing any incoming packets when turn port is disconnected. If it still handle packets, when a ping arrives, it will pass the packet to p2ptransportchannel, eventually causing an ASSERT error there (when p2ptransportchannel tries to create a connection from the ping request from unknown address). BUG= Committed: https://crrev.com/9dfed79f3fb307e4bc3bd5a2da059de7940ec081 Cr-Commit-Position: refs/heads/master@{#11430}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -2 lines) Patch
M webrtc/p2p/base/turnport.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/p2p/base/turnport.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/p2p/base/turnport_unittest.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
honghaiz3
4 years, 10 months ago (2016-01-29 01:32:23 UTC) #4
pthatcher1
lgtm
4 years, 10 months ago (2016-01-29 17:38:40 UTC) #5
Taylor Brandstetter
lgtm, with just a comment and a nit https://codereview.chromium.org/1649493006/diff/20001/webrtc/p2p/base/turnport.h File webrtc/p2p/base/turnport.h (right): https://codereview.chromium.org/1649493006/diff/20001/webrtc/p2p/base/turnport.h#newcode156 webrtc/p2p/base/turnport.h:156: void ...
4 years, 10 months ago (2016-01-29 18:43:22 UTC) #6
honghaiz3
Thanks! https://codereview.webrtc.org/1649493006/diff/20001/webrtc/p2p/base/turnport.h File webrtc/p2p/base/turnport.h (right): https://codereview.webrtc.org/1649493006/diff/20001/webrtc/p2p/base/turnport.h#newcode156 webrtc/p2p/base/turnport.h:156: void Close(); On 2016/01/29 18:43:22, Taylor Brandstetter wrote: ...
4 years, 10 months ago (2016-01-29 19:40:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1649493006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1649493006/40001
4 years, 10 months ago (2016-01-29 19:40:39 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 10 months ago (2016-01-29 21:22:34 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 21:22:45 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9dfed79f3fb307e4bc3bd5a2da059de7940ec081
Cr-Commit-Position: refs/heads/master@{#11430}

Powered by Google App Engine
This is Rietveld 408576698