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

Issue 590513002: Add histogram to track NPN/ALPN. (Closed)

Created:
6 years, 3 months ago by Bence
Modified:
6 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add histogram to track NPN/ALPN. Add histogram to track * which TLS extension (NPN or ALPN) is used for protocol negotiation, * in case of NPN, is there overlap or do we fall back, * which protocol is selected. This CL is draft, I still do not know how to call set_protocol_negotiation() in NSS. I would love to do that in SSLClientSocketNSS::Core::HandshakeSucceeded(), but that might not be the on the same thread. Committed: https://crrev.com/0d28ea5f8316e357734b8d7c8ac2d9a2d02c30b0 Cr-Commit-Position: refs/heads/master@{#299303}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase. #

Patch Set 3 : Record extension in NSS. #

Patch Set 4 : Rename protocol_negotation for clarity. #

Total comments: 8

Patch Set 5 : Rebase. #

Patch Set 6 : Re: second round of comments. #

Total comments: 3

Patch Set 7 : Shorten enum descriptions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -4 lines) Patch
M net/socket/next_proto.h View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket.h View 1 2 3 4 5 4 chunks +15 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket.cc View 1 2 3 4 5 4 chunks +34 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 6 chunks +25 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_pool.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Bence
David, please help me to integrate this into NSS. I do not know how to ...
6 years, 3 months ago (2014-09-19 17:39:54 UTC) #2
davidben
On 2014/09/19 17:39:54, Bence wrote: > David, please help me to integrate this into NSS. ...
6 years, 3 months ago (2014-09-19 20:58:38 UTC) #3
davidben
https://codereview.chromium.org/590513002/diff/1/net/socket/ssl_client_socket.h File net/socket/ssl_client_socket.h (right): https://codereview.chromium.org/590513002/diff/1/net/socket/ssl_client_socket.h#newcode93 net/socket/ssl_client_socket.h:93: PN_NPN_NO_OVERLAP = 1000, It seems strange to have this ...
6 years, 3 months ago (2014-09-19 21:09:17 UTC) #4
Bence
David, PTAL. https://codereview.chromium.org/590513002/diff/1/net/socket/ssl_client_socket.h File net/socket/ssl_client_socket.h (right): https://codereview.chromium.org/590513002/diff/1/net/socket/ssl_client_socket.h#newcode93 net/socket/ssl_client_socket.h:93: PN_NPN_NO_OVERLAP = 1000, On 2014/09/19 21:09:17, David ...
6 years, 2 months ago (2014-10-03 10:50:22 UTC) #6
davidben
lgtm with a handful of comments. You'll need to get a histogram OWNERS for the ...
6 years, 2 months ago (2014-10-03 17:55:08 UTC) #7
Bence
jar: PTAL at histograms.xml. Also please let us know if there is an easier way ...
6 years, 2 months ago (2014-10-10 15:26:11 UTC) #9
jar (doing other things)
histograms.xml and generation call LGTM. Note: I have not reviewed any other code, or validated ...
6 years, 2 months ago (2014-10-11 01:13:59 UTC) #10
Bence
Thank you both. https://codereview.chromium.org/590513002/diff/140001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/590513002/diff/140001/tools/metrics/histograms/histograms.xml#newcode52359 tools/metrics/histograms/histograms.xml:52359: + <int value="1200" label="NPN, no overlap, ...
6 years, 2 months ago (2014-10-13 14:54:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/590513002/300001
6 years, 2 months ago (2014-10-13 14:54:43 UTC) #13
commit-bot: I haz the power
Committed patchset #7 (id:300001)
6 years, 2 months ago (2014-10-13 15:15:56 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-10-13 15:16:25 UTC) #15
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0d28ea5f8316e357734b8d7c8ac2d9a2d02c30b0
Cr-Commit-Position: refs/heads/master@{#299303}

Powered by Google App Engine
This is Rietveld 408576698