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

Issue 1266033005: Added send-thresholding and fixed text packet dumping.

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

Description

Added send-thresholding and fixed text packet dumping. Also a little squelch for the over-max-MTU log spam we see in there. BUG=https://code.google.com/p/webrtc/issues/detail?id=4468 R=pthatcher@chromium.org, pthatcher@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/d838d2791979bb50f464a61c557d55c6a324621e

Patch Set 1 #

Total comments: 18

Patch Set 2 : Response to pthatcher@ comments. #

Total comments: 12

Patch Set 3 : A bit more cleanup. #

Total comments: 8

Patch Set 4 : Added a test and more pthatcher@ comments. #

Total comments: 19

Patch Set 5 : With a critsec around the vector's use, and the vector static init delayed until first use. #

Patch Set 6 : Took out the vector, moved to usrsctp_getladdrs. No more critsecs. #

Patch Set 7 : (Post rebase on master) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -8 lines) Patch
M talk/media/sctp/sctpdataengine.h View 1 2 3 4 5 4 chunks +8 lines, -2 lines 0 comments Download
M talk/media/sctp/sctpdataengine.cc View 1 2 3 4 5 7 chunks +62 lines, -6 lines 0 comments Download
M talk/media/sctp/sctpdataengine_unittest.cc View 1 2 3 4 4 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
lally1
On 2015/08/03 20:40:03, lally1 wrote: > mailto:lally@webrtc.org changed reviewers: > + mailto:bemasc@webrtc.org, mailto:pthatcher@webrtc.org Maybe this ...
5 years, 4 months ago (2015-08-05 21:03:04 UTC) #2
pthatcher1
I think you have to hit "publish" even if you add reviewers.
5 years, 4 months ago (2015-08-05 21:28:17 UTC) #3
pthatcher1
On 2015/08/05 21:28:17, pthatcher1 wrote: > I think you have to hit "publish" even if ...
5 years, 4 months ago (2015-08-05 21:28:29 UTC) #4
pthatcher1
https://codereview.webrtc.org/1266033005/diff/1/talk/media/sctp/sctpdataengine.cc File talk/media/sctp/sctpdataengine.cc (right): https://codereview.webrtc.org/1266033005/diff/1/talk/media/sctp/sctpdataengine.cc#newcode348 talk/media/sctp/sctpdataengine.cc:348: int SctpDataMediaChannel::SendThresholdCallback(struct socket* sock, I think it would make ...
5 years, 4 months ago (2015-08-05 21:42:56 UTC) #5
lally1
Thanks. I couldn't move the map (now a vector) to SctpDataEngine without adding a pointer ...
5 years, 4 months ago (2015-08-18 20:38:56 UTC) #7
pthatcher1
https://codereview.webrtc.org/1266033005/diff/1/talk/media/sctp/sctpdataengine.cc File talk/media/sctp/sctpdataengine.cc (right): https://codereview.webrtc.org/1266033005/diff/1/talk/media/sctp/sctpdataengine.cc#newcode348 talk/media/sctp/sctpdataengine.cc:348: int SctpDataMediaChannel::SendThresholdCallback(struct socket* sock, The instance pointer to the ...
5 years, 4 months ago (2015-08-18 21:51:53 UTC) #8
lally1
https://codereview.webrtc.org/1266033005/diff/40001/talk/media/sctp/sctpdataengine.cc File talk/media/sctp/sctpdataengine.cc (right): https://codereview.webrtc.org/1266033005/diff/40001/talk/media/sctp/sctpdataengine.cc#newcode113 talk/media/sctp/sctpdataengine.cc:113: static const int kSendBufferSize = 262144; On 2015/08/18 21:51:52, ...
5 years, 4 months ago (2015-08-24 15:46:39 UTC) #12
pthatcher1
Nits left for the code. But could we add a unit test that fires the ...
5 years, 4 months ago (2015-08-24 19:09:31 UTC) #13
lally1
Ok, how's that? https://codereview.webrtc.org/1266033005/diff/120001/talk/media/sctp/sctpdataengine.cc File talk/media/sctp/sctpdataengine.cc (right): https://codereview.webrtc.org/1266033005/diff/120001/talk/media/sctp/sctpdataengine.cc#newcode249 talk/media/sctp/sctpdataengine.cc:249: // Our registrar of sockets to ...
5 years, 4 months ago (2015-08-25 16:01:57 UTC) #15
pthatcher2
lgtm
5 years, 4 months ago (2015-08-25 17:11:13 UTC) #17
lally1
On 2015/08/25 17:11:13, pthatcher2 wrote: > lgtm Could pthatcher1@ lgtm it too? He's an owner.
5 years, 3 months ago (2015-08-26 16:11:41 UTC) #18
pthatcher1
On 2015/08/26 16:11:41, lally1 wrote: > On 2015/08/25 17:11:13, pthatcher2 wrote: > > lgtm > ...
5 years, 3 months ago (2015-08-26 17:11:53 UTC) #19
lally1
Committed patchset #4 (id:160001) manually as d838d2791979bb50f464a61c557d55c6a324621e (presubmit successful).
5 years, 3 months ago (2015-08-26 17:15:33 UTC) #20
Nico
https://codereview.webrtc.org/1266033005/diff/160001/talk/media/sctp/sctpdataengine.h File talk/media/sctp/sctpdataengine.h (right): https://codereview.webrtc.org/1266033005/diff/160001/talk/media/sctp/sctpdataengine.h#newcode105 talk/media/sctp/sctpdataengine.h:105: static std::vector<SctpDataMediaChannel*> channels_; This adds a static initializer, that's ...
5 years, 3 months ago (2015-08-27 03:56:46 UTC) #22
Peter Kasting
On 2015/08/27 03:56:46, Nico wrote: > https://codereview.webrtc.org/1266033005/diff/160001/talk/media/sctp/sctpdataengine.h > File talk/media/sctp/sctpdataengine.h (right): > > https://codereview.webrtc.org/1266033005/diff/160001/talk/media/sctp/sctpdataengine.h#newcode105 > ...
5 years, 3 months ago (2015-08-27 07:31:05 UTC) #23
tommi
A revert of this CL (patchset #4 id:160001) has been created in https://codereview.webrtc.org/1315923003/ by tommi@webrtc.org. ...
5 years, 3 months ago (2015-08-27 11:29:48 UTC) #24
tommi
I had to revert the cl due to the global variable. Also took a quick ...
5 years, 3 months ago (2015-08-27 11:38:02 UTC) #26
pthatcher1
https://codereview.webrtc.org/1266033005/diff/160001/talk/media/sctp/sctpdataengine.h File talk/media/sctp/sctpdataengine.h (right): https://codereview.webrtc.org/1266033005/diff/160001/talk/media/sctp/sctpdataengine.h#newcode105 talk/media/sctp/sctpdataengine.h:105: static std::vector<SctpDataMediaChannel*> channels_; On 2015/08/27 03:56:46, Nico wrote: > ...
5 years, 3 months ago (2015-08-27 16:45:33 UTC) #27
lally1
Hi, if this delayed-init approach isn't OK (and the synchronization that's required), lemme know and ...
5 years, 3 months ago (2015-08-27 17:56:09 UTC) #28
lally1
Ok, all changed. No more statics, no crit-secs. PTAL, thanks.
5 years, 3 months ago (2015-08-27 18:35:03 UTC) #30
pthatcher1
On 2015/08/27 18:35:03, lally1 wrote: > Ok, all changed. No more statics, no crit-secs. PTAL, ...
5 years, 3 months ago (2015-08-27 18:40:23 UTC) #31
lally1
5 years, 3 months ago (2015-08-27 21:11:26 UTC) #32

Powered by Google App Engine
This is Rietveld 408576698