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

Issue 2300983003: Fix P2PSocketHostUdp to handle dropped packets properly. (Closed)

Created:
4 years, 3 months ago by Sergey Ulanov
Modified:
4 years, 3 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix P2PSocketHostUdp to handle dropped packets properly. P2PSocketHostUdp may drop outgoing packets to throttle unauthenticated outgoing STUN requests. Previously it wasn't sending OnSendComplete message for these packets, which causes crash in the renderer. Also fixed another potential crashed in the same class. BUG=630984 Committed: https://crrev.com/8da820dbc74943aefc6607b10eb2804547b57926 Cr-Commit-Position: refs/heads/master@{#416316}

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments #

Patch Set 3 : update unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -22 lines) Patch
M content/browser/renderer_host/p2p/socket_host_udp.cc View 1 4 chunks +31 lines, -20 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_udp_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
Sergey Ulanov
Sending this to you because you made some changes in this directory fairly recently.
4 years, 3 months ago (2016-09-02 00:36:19 UTC) #3
pthatcher2
lgtm https://codereview.chromium.org/2300983003/diff/1/content/browser/renderer_host/p2p/socket_host_udp.cc File content/browser/renderer_host/p2p/socket_host_udp.cc (right): https://codereview.chromium.org/2300983003/diff/1/content/browser/renderer_host/p2p/socket_host_udp.cc#newcode303 content/browser/renderer_host/p2p/socket_host_udp.cc:303: send_time))); We should leave a comment about how ...
4 years, 3 months ago (2016-09-02 05:21:19 UTC) #5
Guido Urdaneta
lgtm
4 years, 3 months ago (2016-09-02 09:23:15 UTC) #6
Sergey Ulanov
https://codereview.chromium.org/2300983003/diff/1/content/browser/renderer_host/p2p/socket_host_udp.cc File content/browser/renderer_host/p2p/socket_host_udp.cc (right): https://codereview.chromium.org/2300983003/diff/1/content/browser/renderer_host/p2p/socket_host_udp.cc#newcode303 content/browser/renderer_host/p2p/socket_host_udp.cc:303: send_time))); On 2016/09/02 05:21:19, pthatcher2 wrote: > We should ...
4 years, 3 months ago (2016-09-02 17:00:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2300983003/20001
4 years, 3 months ago (2016-09-02 17:11:09 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/218535)
4 years, 3 months ago (2016-09-02 17:28:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2300983003/40001
4 years, 3 months ago (2016-09-02 17:48:22 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-02 19:10:38 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 19:13:40 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8da820dbc74943aefc6607b10eb2804547b57926
Cr-Commit-Position: refs/heads/master@{#416316}

Powered by Google App Engine
This is Rietveld 408576698