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

Issue 1416093010: Remove global list of SRTP sessions. (Closed)

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

Description

Remove global list of SRTP sessions. Instead save a reference to the SrtpSession inside the srtp_ctx_t. BUG=webrtc:5133 Committed: https://crrev.com/9cafd972779ed7b25886ab276e0ede7b7a8b76a1 Cr-Commit-Position: refs/heads/master@{#10591}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added ThreadChecker #

Patch Set 3 : Added comment #

Total comments: 2

Patch Set 4 : No need to detach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -25 lines) Patch
M talk/session/media/srtpfilter.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M talk/session/media/srtpfilter.cc View 1 2 3 12 chunks +17 lines, -23 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
juberti
lgtm with comment https://codereview.webrtc.org/1416093010/diff/1/talk/session/media/srtpfilter.cc File talk/session/media/srtpfilter.cc (right): https://codereview.webrtc.org/1416093010/diff/1/talk/session/media/srtpfilter.cc#newcode782 talk/session/media/srtpfilter.cc:782: SrtpSession* session = static_cast<SrtpSession*>(ev->session->user_data); Do we ...
5 years, 1 month ago (2015-11-10 01:25:59 UTC) #2
joachim
Thanks, also added ThreadChecker to ensure methods are being called from correct thread. https://codereview.webrtc.org/1416093010/diff/1/talk/session/media/srtpfilter.cc File ...
5 years, 1 month ago (2015-11-10 16:59:57 UTC) #3
juberti
https://codereview.webrtc.org/1416093010/diff/40001/talk/session/media/srtpfilter.cc File talk/session/media/srtpfilter.cc (right): https://codereview.webrtc.org/1416093010/diff/40001/talk/session/media/srtpfilter.cc#newcode493 talk/session/media/srtpfilter.cc:493: thread_checker_.DetachFromThread(); Remind me - is this called on a ...
5 years, 1 month ago (2015-11-10 17:20:36 UTC) #4
joachim
https://codereview.webrtc.org/1416093010/diff/40001/talk/session/media/srtpfilter.cc File talk/session/media/srtpfilter.cc (right): https://codereview.webrtc.org/1416093010/diff/40001/talk/session/media/srtpfilter.cc#newcode493 talk/session/media/srtpfilter.cc:493: thread_checker_.DetachFromThread(); On 2015/11/10 17:20:35, juberti wrote: > Remind me ...
5 years, 1 month ago (2015-11-10 17:30:26 UTC) #5
juberti
lgtm
5 years, 1 month ago (2015-11-10 17:51:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416093010/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416093010/60001
5 years, 1 month ago (2015-11-10 19:55:51 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1667)
5 years, 1 month ago (2015-11-10 20:00:59 UTC) #10
joachim
On 2015/11/10 20:00:59, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 1 month ago (2015-11-10 20:07:34 UTC) #11
juberti1
lgtm
5 years, 1 month ago (2015-11-10 21:04:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416093010/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416093010/60001
5 years, 1 month ago (2015-11-10 21:22:04 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years, 1 month ago (2015-11-10 21:56:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416093010/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416093010/60001
5 years, 1 month ago (2015-11-10 22:08:17 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-10 22:48:44 UTC) #20
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/9cafd972779ed7b25886ab276e0ede7b7a8b76a1 Cr-Commit-Position: refs/heads/master@{#10591}
5 years, 1 month ago (2015-11-10 22:48:52 UTC) #21
phoglund
5 years, 1 month ago (2015-11-13 14:54:54 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.webrtc.org/1442863003/ by phoglund@webrtc.org.

The reason for reverting is: Unfortunately this breaks an internal downstream
project since we have an ancient libsrtp. Reverting until we can figure out how
to update our libsrtp..

Powered by Google App Engine
This is Rietveld 408576698