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

Issue 1371623003: Delete a connection only if it has timed out on writing and not receiving for 10 seconds. (Closed)

Created:
5 years, 2 months ago by honghaiz3
Modified:
5 years, 2 months ago
Reviewers:
pthatcher1
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

Delete a connection only if it has timed out on writing and not receiving for 10 seconds. BUG=webrtc:5034, webrtc:4937 R=pthatcher@webrtc.org Committed: https://crrev.com/2b342bf99c9578247940929c02a41ef9ccec6d6e Cr-Commit-Position: refs/heads/master@{#10119}

Patch Set 1 : #

Patch Set 2 : A minor change in GetStats #

Total comments: 35

Patch Set 3 : Address comments #

Total comments: 2

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Addressed comments, fixed Connection Prune method, and added a test #

Patch Set 6 : Rename a test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -56 lines) Patch
M webrtc/p2p/base/p2ptransportchannel.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 3 7 chunks +23 lines, -21 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 2 3 4 5 5 chunks +105 lines, -14 lines 0 comments Download
M webrtc/p2p/base/port.h View 1 2 3 4 chunks +11 lines, -8 lines 0 comments Download
M webrtc/p2p/base/port.cc View 1 2 3 4 8 chunks +29 lines, -12 lines 0 comments Download

Messages

Total messages: 36 (16 generated)
honghaiz3
5 years, 2 months ago (2015-09-28 19:26:18 UTC) #5
pthatcher1
https://codereview.webrtc.org/1371623003/diff/80001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1371623003/diff/80001/webrtc/p2p/base/p2ptransportchannel.cc#newcode289 webrtc/p2p/base/p2ptransportchannel.cc:289: // Currently a channel is considered ICE completed once ...
5 years, 2 months ago (2015-09-28 23:07:28 UTC) #6
honghaiz3
Thanks! PTAL. https://codereview.webrtc.org/1371623003/diff/80001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1371623003/diff/80001/webrtc/p2p/base/p2ptransportchannel.cc#newcode289 webrtc/p2p/base/p2ptransportchannel.cc:289: // Currently a channel is considered ICE ...
5 years, 2 months ago (2015-09-29 18:47:50 UTC) #7
pthatcher1
https://codereview.webrtc.org/1371623003/diff/80001/webrtc/p2p/base/p2ptransportchannel_unittest.cc File webrtc/p2p/base/p2ptransportchannel_unittest.cc (right): https://codereview.webrtc.org/1371623003/diff/80001/webrtc/p2p/base/p2ptransportchannel_unittest.cc#newcode2092 webrtc/p2p/base/p2ptransportchannel_unittest.cc:2092: EXPECT_EQ(cricket::TransportChannelState::STATE_FAILED, ch.GetState()); On 2015/09/29 18:47:49, honghaiz3 wrote: > On ...
5 years, 2 months ago (2015-09-29 19:51:32 UTC) #8
honghaiz3
PTAL. https://codereview.webrtc.org/1371623003/diff/80001/webrtc/p2p/base/p2ptransportchannel_unittest.cc File webrtc/p2p/base/p2ptransportchannel_unittest.cc (right): https://codereview.webrtc.org/1371623003/diff/80001/webrtc/p2p/base/p2ptransportchannel_unittest.cc#newcode2092 webrtc/p2p/base/p2ptransportchannel_unittest.cc:2092: EXPECT_EQ(cricket::TransportChannelState::STATE_FAILED, ch.GetState()); On 2015/09/29 19:51:32, pthatcher1 wrote: > ...
5 years, 2 months ago (2015-09-29 20:40:42 UTC) #9
pthatcher1
https://codereview.webrtc.org/1371623003/diff/110001/webrtc/p2p/base/port.cc File webrtc/p2p/base/port.cc (right): https://codereview.webrtc.org/1371623003/diff/110001/webrtc/p2p/base/port.cc#newcode1256 webrtc/p2p/base/port.cc:1256: Destroy(); Don't we still need the call to set_state(STATE_FAILED)?
5 years, 2 months ago (2015-09-29 22:56:53 UTC) #10
pthatcher1
lgtm, assuming you fix the STATE_FAILED thing
5 years, 2 months ago (2015-09-29 22:57:04 UTC) #11
honghaiz3
https://codereview.webrtc.org/1371623003/diff/110001/webrtc/p2p/base/port.cc File webrtc/p2p/base/port.cc (right): https://codereview.webrtc.org/1371623003/diff/110001/webrtc/p2p/base/port.cc#newcode1256 webrtc/p2p/base/port.cc:1256: Destroy(); On 2015/09/29 22:56:52, pthatcher1 wrote: > Don't we ...
5 years, 2 months ago (2015-09-29 23:22:40 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371623003/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371623003/130001
5 years, 2 months ago (2015-09-29 23:23:02 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_compile_dbg/builds/205)
5 years, 2 months ago (2015-09-29 23:27:47 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371623003/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371623003/150001
5 years, 2 months ago (2015-09-30 01:51:13 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_x64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/9696)
5 years, 2 months ago (2015-09-30 02:04:36 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371623003/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371623003/170001
5 years, 2 months ago (2015-09-30 03:01:39 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-30 03:55:02 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371623003/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371623003/190001
5 years, 2 months ago (2015-09-30 04:19:13 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-30 05:26:47 UTC) #31
honghaiz3
Made a change to the Connection Prune method in order to fix a CQ test ...
5 years, 2 months ago (2015-09-30 15:23:38 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371623003/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371623003/210001
5 years, 2 months ago (2015-09-30 15:34:11 UTC) #34
honghaiz3
Committed patchset #6 (id:210001) manually as 2b342bf99c9578247940929c02a41ef9ccec6d6e (presubmit successful).
5 years, 2 months ago (2015-09-30 16:52:54 UTC) #35
commit-bot: I haz the power
5 years, 2 months ago (2015-09-30 16:52:56 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2b342bf99c9578247940929c02a41ef9ccec6d6e
Cr-Commit-Position: refs/heads/master@{#10119}

Powered by Google App Engine
This is Rietveld 408576698