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

Issue 1351673003: Replace readable with receiving where receiving means receiving anything (stun ping, response or da… (Closed)

Created:
5 years, 3 months ago by honghaiz3
Modified:
5 years, 3 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace readable with receiving where receiving means receiving anything (stun ping, response or data packet). If a connection does not receive for 30 seconds, it will be deleted. BUG= Committed: https://crrev.com/ae16f8547d3b447f62f6660f13688585c6c3de15 Cr-Commit-Position: refs/heads/master@{#10001}

Patch Set 1 : #

Patch Set 2 : One line comment change in the dtlstransportchannel.cc #

Total comments: 26

Patch Set 3 : #

Total comments: 4

Patch Set 4 : Resync, rebase, and address comments. #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : resynced to head (no transport-refactoring) #

Patch Set 7 : Removed a comment in transport.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -267 lines) Patch
M talk/app/webrtc/statscollector.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M talk/app/webrtc/statstypes.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M talk/app/webrtc/statstypes.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.cc View 1 2 3 4 5 4 chunks +1 line, -20 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.h View 1 2 3 4 5 1 chunk +5 lines, -4 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 3 4 5 14 chunks +20 lines, -44 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 2 3 4 5 16 chunks +29 lines, -31 lines 0 comments Download
M webrtc/p2p/base/port.h View 1 2 3 4 8 chunks +17 lines, -15 lines 0 comments Download
M webrtc/p2p/base/port.cc View 1 2 3 4 15 chunks +38 lines, -61 lines 0 comments Download
M webrtc/p2p/base/port_unittest.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M webrtc/p2p/base/transport.h View 1 2 3 4 5 8 chunks +8 lines, -21 lines 0 comments Download
M webrtc/p2p/base/transport.cc View 1 2 3 4 5 6 5 chunks +0 lines, -22 lines 0 comments Download
M webrtc/p2p/base/transportchannel.h View 1 2 3 4 5 4 chunks +4 lines, -9 lines 0 comments Download
M webrtc/p2p/base/transportchannel.cc View 1 2 3 4 5 1 chunk +3 lines, -11 lines 0 comments Download
M webrtc/p2p/base/transportchannelproxy.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/transportchannelproxy.cc View 1 2 3 4 5 3 chunks +11 lines, -11 lines 0 comments Download
M webrtc/p2p/base/turnport_unittest.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 31 (15 generated)
honghaiz3
This is a breakup CL from https://codereview.webrtc.org/1311433009/
5 years, 3 months ago (2015-09-17 19:48:50 UTC) #6
pthatcher1
Mostly nits https://codereview.webrtc.org/1351673003/diff/100001/webrtc/p2p/base/dtlstransportchannel_unittest.cc File webrtc/p2p/base/dtlstransportchannel_unittest.cc (right): https://codereview.webrtc.org/1351673003/diff/100001/webrtc/p2p/base/dtlstransportchannel_unittest.cc#newcode202 webrtc/p2p/base/dtlstransportchannel_unittest.cc:202: bool writable() const { return transport_->any_channels_writable(); } ...
5 years, 3 months ago (2015-09-17 21:45:12 UTC) #7
honghaiz3
https://codereview.webrtc.org/1351673003/diff/100001/webrtc/p2p/base/dtlstransportchannel_unittest.cc File webrtc/p2p/base/dtlstransportchannel_unittest.cc (right): https://codereview.webrtc.org/1351673003/diff/100001/webrtc/p2p/base/dtlstransportchannel_unittest.cc#newcode202 webrtc/p2p/base/dtlstransportchannel_unittest.cc:202: bool writable() const { return transport_->any_channels_writable(); } On 2015/09/17 ...
5 years, 3 months ago (2015-09-18 02:35:47 UTC) #12
pthatcher1
https://codereview.webrtc.org/1351673003/diff/100001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1351673003/diff/100001/webrtc/p2p/base/p2ptransportchannel.cc#newcode852 webrtc/p2p/base/p2ptransportchannel.cc:852: if (connection->pruned() && !connection->receiving()) { On 2015/09/18 02:35:46, honghaiz3 ...
5 years, 3 months ago (2015-09-18 17:54:42 UTC) #13
pthatcher1
https://codereview.webrtc.org/1351673003/diff/200001/webrtc/p2p/base/dtlstransportchannel_unittest.cc File webrtc/p2p/base/dtlstransportchannel_unittest.cc (right): https://codereview.webrtc.org/1351673003/diff/200001/webrtc/p2p/base/dtlstransportchannel_unittest.cc#newcode202 webrtc/p2p/base/dtlstransportchannel_unittest.cc:202: bool writable() const { return transport_->any_channels_writable(); } Shouldn't this ...
5 years, 3 months ago (2015-09-18 17:56:55 UTC) #14
pthatcher1
https://codereview.webrtc.org/1351673003/diff/200001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (left): https://codereview.webrtc.org/1351673003/diff/200001/webrtc/p2p/base/p2ptransportchannel.cc#oldcode1150 webrtc/p2p/base/p2ptransportchannel.cc:1150: if (best_connection_ && best_connection_->recv_total_bytes() > 0) { What changed ...
5 years, 3 months ago (2015-09-18 18:00:04 UTC) #15
pthatcher1
On 2015/09/18 18:00:04, pthatcher1 wrote: > https://codereview.webrtc.org/1351673003/diff/200001/webrtc/p2p/base/p2ptransportchannel.cc > File webrtc/p2p/base/p2ptransportchannel.cc (left): > > https://codereview.webrtc.org/1351673003/diff/200001/webrtc/p2p/base/p2ptransportchannel.cc#oldcode1150 > ...
5 years, 3 months ago (2015-09-18 19:19:18 UTC) #16
honghaiz3
Resynced and rebased and addressed the comments. PTAL. https://codereview.webrtc.org/1351673003/diff/100001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1351673003/diff/100001/webrtc/p2p/base/p2ptransportchannel.cc#newcode852 webrtc/p2p/base/p2ptransportchannel.cc:852: if ...
5 years, 3 months ago (2015-09-18 21:39:30 UTC) #20
pthatcher1
https://codereview.webrtc.org/1351673003/diff/270001/webrtc/p2p/base/port.cc File webrtc/p2p/base/port.cc (right): https://codereview.webrtc.org/1351673003/diff/270001/webrtc/p2p/base/port.cc#newcode916 webrtc/p2p/base/port.cc:916: set_write_state(STATE_WRITE_INIT); Interesting. This basically means "ping every connection for ...
5 years, 3 months ago (2015-09-18 21:51:33 UTC) #21
honghaiz3
https://codereview.webrtc.org/1351673003/diff/270001/webrtc/p2p/base/port.cc File webrtc/p2p/base/port.cc (right): https://codereview.webrtc.org/1351673003/diff/270001/webrtc/p2p/base/port.cc#newcode916 webrtc/p2p/base/port.cc:916: set_write_state(STATE_WRITE_INIT); On 2015/09/18 21:51:33, pthatcher1 wrote: > Interesting. This ...
5 years, 3 months ago (2015-09-18 22:03:02 UTC) #23
pthatcher1
lgtm
5 years, 3 months ago (2015-09-18 22:44:02 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351673003/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351673003/340001
5 years, 3 months ago (2015-09-21 13:53:13 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:340001)
5 years, 3 months ago (2015-09-21 13:54:19 UTC) #28
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/ae16f8547d3b447f62f6660f13688585c6c3de15 Cr-Commit-Position: refs/heads/master@{#10001}
5 years, 3 months ago (2015-09-21 13:54:29 UTC) #29
tommi
A revert of this CL (patchset #7 id:340001) has been created in https://codereview.webrtc.org/1356103002/ by tommi@webrtc.org. ...
5 years, 3 months ago (2015-09-21 14:20:16 UTC) #30
tommi
5 years, 3 months ago (2015-09-21 14:22:34 UTC) #31
Message was sent while issue was closed.
On 2015/09/21 14:20:16, tommi (webrtc) wrote:
> A revert of this CL (patchset #7 id:340001) has been created in
> https://codereview.webrtc.org/1356103002/ by mailto:tommi@webrtc.org.
> 
> The reason for reverting is: Broke the Windows build:
> 
> [226/365] LINK_EMBED cc_perftests.exe
> FAILED: ninja -t msvc -e environment.x86 -- E:\b\build\goma/gomacc
> "E:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64_x86\cl.exe" /nologo
> /showIncludes /FC
>
@obj\remoting\protocol\remoting_unittests.channel_socket_adapter_unittest.obj.rsp
> /c ..\..\remoting\protocol\channel_socket_adapter_unittest.cc
>
/Foobj\remoting\protocol\remoting_unittests.channel_socket_adapter_unittest.obj
> /Fdobj\remoting\remoting_unittests.cc.pdb 
>
e:\b\build\slave\win\build\src\remoting\protocol\channel_socket_adapter_unittest.cc(36)
> : error C3861: 'set_readable': identifier not found
> ninja: build stopped: subcommand failed..

Same issue on other bots now (e.g. Mac)

Powered by Google App Engine
This is Rietveld 408576698