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

Issue 1440193002: Fix DTLS packet boundary handling in SSLStreamAdapterTests. (Closed)

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

Description

Fix DTLS packet boundary handling in SSLStreamAdapterTests. The tests were not honoring packet boundaries, thus causing failures in tests with dropped/broken packets. This CL fixes this and also re-enables the tests. R=torbjorng@webrtc.org,pthatcher@webrtc.org,tommi@webrtc.org,juberti@webrtc.org BUG=webrtc:5005, webrtc:5188 Committed: https://crrev.com/e488a0dbe4114ce51feeaf663ad4e2a6bd4b9a2b Cr-Commit-Position: refs/heads/master@{#10709}

Patch Set 1 #

Total comments: 23

Patch Set 2 : First changes based on feedback from tommi #

Total comments: 26

Patch Set 3 : Feedback from torbjorng + BufferQueue now implements StreamInterface #

Patch Set 4 : Small cleanup #

Total comments: 5

Patch Set 5 : No longer inherit BufferQueue from StreamInterface #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -77 lines) Patch
M webrtc/base/bufferqueue.h View 1 2 3 4 1 chunk +12 lines, -5 lines 0 comments Download
M webrtc/base/bufferqueue.cc View 1 2 3 4 3 chunks +9 lines, -5 lines 0 comments Download
M webrtc/base/sslstreamadapter_unittest.cc View 1 2 3 4 17 chunks +161 lines, -67 lines 2 comments Download

Messages

Total messages: 26 (5 generated)
joachim
Ptal
5 years, 1 month ago (2015-11-13 02:41:36 UTC) #1
tommi
Great work :) I think it would be good if we could use rtc::Bind for ...
5 years, 1 month ago (2015-11-13 08:38:13 UTC) #2
joachim
Thanks for your feedback, updated the tests. Regarding the comments on the BufferQueue: I want ...
5 years, 1 month ago (2015-11-13 09:08:28 UTC) #3
torbjorng (webrtc)
Great stuff! I have some comments, but nothing major; this looks very good. There are ...
5 years, 1 month ago (2015-11-16 14:05:04 UTC) #6
joachim
Ok, this got larger than I wanted it to be ;-) Anyways, BufferQueue now implements ...
5 years, 1 month ago (2015-11-16 21:30:16 UTC) #7
joachim
On 2015/11/16 21:30:16, joachim wrote: > Ok, this got larger than I wanted it to ...
5 years, 1 month ago (2015-11-18 08:23:40 UTC) #8
tommi
https://codereview.webrtc.org/1440193002/diff/60001/webrtc/base/bufferqueue.h File webrtc/base/bufferqueue.h (right): https://codereview.webrtc.org/1440193002/diff/60001/webrtc/base/bufferqueue.h#newcode26 webrtc/base/bufferqueue.h:26: class BufferQueue : public StreamInterface { I'm not sure ...
5 years, 1 month ago (2015-11-18 10:10:45 UTC) #9
joachim
https://codereview.webrtc.org/1440193002/diff/60001/webrtc/base/bufferqueue.h File webrtc/base/bufferqueue.h (right): https://codereview.webrtc.org/1440193002/diff/60001/webrtc/base/bufferqueue.h#newcode26 webrtc/base/bufferqueue.h:26: class BufferQueue : public StreamInterface { On 2015/11/18 10:10:45, ...
5 years, 1 month ago (2015-11-18 10:33:58 UTC) #10
joachim
https://codereview.webrtc.org/1440193002/diff/60001/webrtc/base/bufferqueue.h File webrtc/base/bufferqueue.h (right): https://codereview.webrtc.org/1440193002/diff/60001/webrtc/base/bufferqueue.h#newcode26 webrtc/base/bufferqueue.h:26: class BufferQueue : public StreamInterface { On 2015/11/18 10:33:58, ...
5 years, 1 month ago (2015-11-18 11:26:06 UTC) #11
tommi
https://codereview.webrtc.org/1440193002/diff/60001/webrtc/base/bufferqueue.h File webrtc/base/bufferqueue.h (right): https://codereview.webrtc.org/1440193002/diff/60001/webrtc/base/bufferqueue.h#newcode26 webrtc/base/bufferqueue.h:26: class BufferQueue : public StreamInterface { On 2015/11/18 11:26:06, ...
5 years, 1 month ago (2015-11-18 12:20:04 UTC) #12
joachim
https://codereview.webrtc.org/1440193002/diff/60001/webrtc/base/bufferqueue.h File webrtc/base/bufferqueue.h (right): https://codereview.webrtc.org/1440193002/diff/60001/webrtc/base/bufferqueue.h#newcode26 webrtc/base/bufferqueue.h:26: class BufferQueue : public StreamInterface { On 2015/11/18 12:20:04, ...
5 years, 1 month ago (2015-11-18 13:57:01 UTC) #13
tommi
thanks. lgtm.
5 years, 1 month ago (2015-11-19 11:10:20 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440193002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440193002/80001
5 years, 1 month ago (2015-11-19 11:18:12 UTC) #16
torbjorng (webrtc)
lgtm Two minor comments. Since this now is in the CQ, I can fix these ...
5 years, 1 month ago (2015-11-19 12:51:10 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-19 13:04:54 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440193002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440193002/80001
5 years, 1 month ago (2015-11-19 13:17:03 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-19 13:18:04 UTC) #22
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/e488a0dbe4114ce51feeaf663ad4e2a6bd4b9a2b Cr-Commit-Position: refs/heads/master@{#10709}
5 years, 1 month ago (2015-11-19 13:18:16 UTC) #23
tommi
On 2015/11/19 13:18:16, commit-bot: I haz the power wrote: > Patchset 5 (id:??) landed as ...
5 years, 1 month ago (2015-11-19 13:46:14 UTC) #24
joachim
On 2015/11/19 13:46:14, tommi (webrtc) wrote: > On 2015/11/19 13:18:16, commit-bot: I haz the power ...
5 years, 1 month ago (2015-11-19 13:47:27 UTC) #25
tommi
5 years, 1 month ago (2015-11-19 13:48:25 UTC) #26
Message was sent while issue was closed.
On 2015/11/19 13:47:27, joachim wrote:
> On 2015/11/19 13:46:14, tommi (webrtc) wrote:
> > On 2015/11/19 13:18:16, commit-bot: I haz the power wrote:
> > > Patchset 5 (id:??) landed as
> > > https://crrev.com/e488a0dbe4114ce51feeaf663ad4e2a6bd4b9a2b
> > > Cr-Commit-Position: refs/heads/master@{#10709}
> > 
> > fyi - the general rule is to wait for all reviewers to give approval.
> 
> Sorry, will wait for that in the future.

no biggie - thanks for the fix :)

Powered by Google App Engine
This is Rietveld 408576698