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

Issue 1518613002: Support for server session cache. (Closed)

Created:
5 years ago by ryanchung
Modified:
4 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@client_certs
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support for server session cache. Allows SSL server sockets created through a SSLServerSocketContext to share a single session cache. OpenSSL only. BUG=568650 Committed: https://crrev.com/eb9e3bc7bfc291ad600943b24304946328bcf4f0 Cr-Commit-Position: refs/heads/master@{#379751}

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase only #

Total comments: 38

Patch Set 5 : Addresses Reviewer's Comments #

Patch Set 6 : Addresses Reviewer's Comments (ignore patch 5) #

Patch Set 7 : Cleaned up some unnecessary change #

Patch Set 8 : Rebased #

Patch Set 9 : Updated remoting, fixed ssl_server_socket_nss compile errors #

Patch Set 10 : Updated remoting #

Patch Set 11 : Rebased #

Patch Set 12 : Some cleanup #

Patch Set 13 : Rebased #

Patch Set 14 : Rebased to head #

Total comments: 39

Patch Set 15 : Addresses Reviewer's Comments #

Patch Set 16 : Added a missing period. #

Total comments: 2

Patch Set 17 : Fixed nit #

Total comments: 7

Patch Set 18 : Remoting - move context to P2PStreamSocketAdapter #

Total comments: 2

Patch Set 19 : Remoting: Moved server_context_ above socket_ #

Patch Set 20 : Remoting: Fixed initialization ordering of socket_ and server_context_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+802 lines, -450 lines) Patch
M net/socket/ssl_server_socket.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +18 lines, -8 lines 0 comments Download
M net/socket/ssl_server_socket_nss.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -117 lines 0 comments Download
M net/socket/ssl_server_socket_nss.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +173 lines, -26 lines 0 comments Download
M net/socket/ssl_server_socket_openssl.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +9 lines, -118 lines 0 comments Download
M net/socket/ssl_server_socket_openssl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +229 lines, -105 lines 0 comments Download
M net/socket/ssl_server_socket_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 19 chunks +317 lines, -49 lines 0 comments Download
M net/ssl/ssl_server_config.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M net/test/embedded_test_server/embedded_test_server.h View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download
M net/test/embedded_test_server/embedded_test_server.cc View 1 2 3 4 2 chunks +24 lines, -18 lines 0 comments Download
M remoting/protocol/ssl_hmac_channel_authenticator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
M remoting/protocol/ssl_hmac_channel_authenticator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 chunks +16 lines, -8 lines 0 comments Download

Messages

Total messages: 40 (13 generated)
ryanchung
5 years ago (2015-12-10 19:44:55 UTC) #4
ryanchung
Ping. Thanks.
5 years ago (2015-12-14 21:28:51 UTC) #5
Ryan Sleevi
David: Could you make sure you're happy with the high-level design, and then I'll do ...
5 years ago (2015-12-17 03:16:27 UTC) #6
davidben
Sorry, I got the dependency arrows in Rietveld flipped and looked at this one before ...
4 years, 11 months ago (2016-01-22 23:57:48 UTC) #7
ryanchung
Thanks. I'll fix these first but will probably need to rebase on to the other ...
4 years, 10 months ago (2016-01-29 23:28:16 UTC) #8
ryanchung
This change has been rebased after client certs landed. It is ready for review. Thanks.
4 years, 10 months ago (2016-02-19 02:34:21 UTC) #9
davidben
This basically looks good. Mostly comments on the tests. Having all the CHECKs is kind ...
4 years, 10 months ago (2016-02-24 21:01:26 UTC) #10
ryanchung
> Having all the CHECKs is kind of annoying, but we don't really want new ...
4 years, 10 months ago (2016-02-25 00:46:40 UTC) #11
davidben
lgtm! https://codereview.chromium.org/1518613002/diff/300001/net/socket/ssl_server_socket_unittest.cc File net/socket/ssl_server_socket_unittest.cc (right): https://codereview.chromium.org/1518613002/diff/300001/net/socket/ssl_server_socket_unittest.cc#newcode507 net/socket/ssl_server_socket_unittest.cc:507: // NSS ports don't support client certificates. Nit: ...
4 years, 9 months ago (2016-03-04 18:48:00 UTC) #12
davidben
On 2016/02/25 00:46:40, ryanchung wrote: > > Having all the CHECKs is kind of annoying, ...
4 years, 9 months ago (2016-03-04 18:49:15 UTC) #13
ryanchung
Thanks! https://codereview.chromium.org/1518613002/diff/300001/net/socket/ssl_server_socket_unittest.cc File net/socket/ssl_server_socket_unittest.cc (right): https://codereview.chromium.org/1518613002/diff/300001/net/socket/ssl_server_socket_unittest.cc#newcode507 net/socket/ssl_server_socket_unittest.cc:507: // NSS ports don't support client certificates. On ...
4 years, 9 months ago (2016-03-04 20:13:01 UTC) #14
ryanchung
+sergeyu Could you please review remoting? Thank you!
4 years, 9 months ago (2016-03-04 20:15:07 UTC) #16
Sergey Ulanov
https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc File remoting/protocol/ssl_hmac_channel_authenticator.cc (right): https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc#newcode231 remoting/protocol/ssl_hmac_channel_authenticator.cc:231: server_context_ = net::CreateSSLServerContext( Does server_context_ need to be a ...
4 years, 9 months ago (2016-03-04 20:37:25 UTC) #17
davidben
https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc File remoting/protocol/ssl_hmac_channel_authenticator.cc (right): https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc#newcode231 remoting/protocol/ssl_hmac_channel_authenticator.cc:231: server_context_ = net::CreateSSLServerContext( On 2016/03/04 20:37:25, Sergey Ulanov wrote: ...
4 years, 9 months ago (2016-03-04 20:56:55 UTC) #18
Sergey Ulanov
https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc File remoting/protocol/ssl_hmac_channel_authenticator.cc (right): https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc#newcode231 remoting/protocol/ssl_hmac_channel_authenticator.cc:231: server_context_ = net::CreateSSLServerContext( On 2016/03/04 20:56:55, davidben wrote: > ...
4 years, 9 months ago (2016-03-04 21:35:31 UTC) #19
davidben
https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc File remoting/protocol/ssl_hmac_channel_authenticator.cc (right): https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc#newcode231 remoting/protocol/ssl_hmac_channel_authenticator.cc:231: server_context_ = net::CreateSSLServerContext( On 2016/03/04 21:35:31, Sergey Ulanov wrote: ...
4 years, 9 months ago (2016-03-04 21:45:53 UTC) #20
davidben
https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc File remoting/protocol/ssl_hmac_channel_authenticator.cc (right): https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc#newcode231 remoting/protocol/ssl_hmac_channel_authenticator.cc:231: server_context_ = net::CreateSSLServerContext( On 2016/03/04 21:45:53, davidben wrote: > ...
4 years, 9 months ago (2016-03-04 21:48:04 UTC) #21
Sergey Ulanov
https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc File remoting/protocol/ssl_hmac_channel_authenticator.cc (right): https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc#newcode231 remoting/protocol/ssl_hmac_channel_authenticator.cc:231: server_context_ = net::CreateSSLServerContext( On 2016/03/04 21:45:53, davidben wrote: > ...
4 years, 9 months ago (2016-03-04 22:34:07 UTC) #22
ryanchung
https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc File remoting/protocol/ssl_hmac_channel_authenticator.cc (right): https://codereview.chromium.org/1518613002/diff/320001/remoting/protocol/ssl_hmac_channel_authenticator.cc#newcode231 remoting/protocol/ssl_hmac_channel_authenticator.cc:231: server_context_ = net::CreateSSLServerContext( On 2016/03/04 22:34:07, Sergey Ulanov wrote: ...
4 years, 9 months ago (2016-03-04 23:31:24 UTC) #23
Sergey Ulanov
lgtm, but please see my comment https://codereview.chromium.org/1518613002/diff/340001/remoting/protocol/ssl_hmac_channel_authenticator.cc File remoting/protocol/ssl_hmac_channel_authenticator.cc (right): https://codereview.chromium.org/1518613002/diff/340001/remoting/protocol/ssl_hmac_channel_authenticator.cc#newcode172 remoting/protocol/ssl_hmac_channel_authenticator.cc:172: scoped_ptr<net::SSLServerContext> server_context_; move ...
4 years, 9 months ago (2016-03-07 22:30:24 UTC) #24
ryanchung
https://codereview.chromium.org/1518613002/diff/340001/remoting/protocol/ssl_hmac_channel_authenticator.cc File remoting/protocol/ssl_hmac_channel_authenticator.cc (right): https://codereview.chromium.org/1518613002/diff/340001/remoting/protocol/ssl_hmac_channel_authenticator.cc#newcode172 remoting/protocol/ssl_hmac_channel_authenticator.cc:172: scoped_ptr<net::SSLServerContext> server_context_; On 2016/03/07 22:30:24, Sergey Ulanov wrote: > ...
4 years, 9 months ago (2016-03-07 22:44:06 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1518613002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1518613002/360001
4 years, 9 months ago (2016-03-07 22:44:27 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/32303) android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, ...
4 years, 9 months ago (2016-03-07 22:48:56 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1518613002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1518613002/360001
4 years, 9 months ago (2016-03-07 23:07:35 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1518613002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1518613002/380001
4 years, 9 months ago (2016-03-08 05:00:12 UTC) #36
commit-bot: I haz the power
Committed patchset #20 (id:380001)
4 years, 9 months ago (2016-03-08 05:08:18 UTC) #38
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 05:09:55 UTC) #40
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/eb9e3bc7bfc291ad600943b24304946328bcf4f0
Cr-Commit-Position: refs/heads/master@{#379751}

Powered by Google App Engine
This is Rietveld 408576698