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

Issue 493793003: Align SSLClientSocketOpenSSL and SSLClientSocketNSS histograms. (Closed)

Created:
6 years, 4 months ago by davidben
Modified:
6 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Align SSLClientSocketOpenSSL and SSLClientSocketNSS histograms. This makes a handful of small changes to align the two implementations: - Remove Net.SSLv3FallbackToRenegoPatchedServer. It's no longer necessary. In fact, the majority of SSLv3 fallbacks are to servers that /are/ renego patched. - Gather Net.SSLCertVerificationTime* on OpenSSL. - Move histogram calls on OpenSSL out of GetSSLInfo as that is not called once per handshake. Net.RenegotiationExtensionSupported is moved to common code and RecordChannelIDSupport to the handshake success codepath. Net.OCSPResponseStapled is left ungathered as BoringSSL does not yet support OCSP stapling. BUG=405631 Committed: https://crrev.com/09c3d07392bc432e5ef16874b5b3cdc5074b1cb4 Cr-Commit-Position: refs/heads/master@{#291752}

Patch Set 1 #

Total comments: 7

Patch Set 2 : asvitkine comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -29 lines) Patch
M net/socket/ssl_client_socket_nss.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 7 chunks +21 lines, -9 lines 0 comments Download
M net/socket/ssl_client_socket_pool.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
davidben
I can split these up into three separate CLs if you prefer.
6 years, 4 months ago (2014-08-20 19:47:15 UTC) #1
Ryan Sleevi
LGTM, mod one request from Adam below. AGL should comment on the SSL3 fallback experiment, ...
6 years, 4 months ago (2014-08-20 19:58:12 UTC) #2
agl
lgtm https://codereview.chromium.org/493793003/diff/1/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (left): https://codereview.chromium.org/493793003/diff/1/net/socket/ssl_client_socket_nss.cc#oldcode2477 net/socket/ssl_client_socket_nss.cc:2477: peer_supports_renego_ext == PR_TRUE); On 2014/08/20 19:58:12, Ryan Sleevi ...
6 years, 4 months ago (2014-08-22 18:26:33 UTC) #3
davidben
Right, I always forget this one... +asvitkine for histograms.xml.
6 years, 4 months ago (2014-08-22 18:28:51 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/493793003/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/493793003/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode1023 net/socket/ssl_client_socket_openssl.cc:1023: UMA_HISTOGRAM_TIMES("Net.SSLCertVerificationTime", verify_time); Nit: Bad indentation. https://codereview.chromium.org/493793003/diff/1/net/socket/ssl_client_socket_pool.cc File net/socket/ssl_client_socket_pool.cc (right): ...
6 years, 4 months ago (2014-08-22 18:49:14 UTC) #5
davidben
https://codereview.chromium.org/493793003/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/493793003/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode1023 net/socket/ssl_client_socket_openssl.cc:1023: UMA_HISTOGRAM_TIMES("Net.SSLCertVerificationTime", verify_time); On 2014/08/22 18:49:14, Alexei Svitkine wrote: > ...
6 years, 4 months ago (2014-08-22 23:03:20 UTC) #6
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/493793003/diff/1/net/socket/ssl_client_socket_pool.cc File net/socket/ssl_client_socket_pool.cc (right): https://codereview.chromium.org/493793003/diff/1/net/socket/ssl_client_socket_pool.cc#newcode508 net/socket/ssl_client_socket_pool.cc:508: UMA_HISTOGRAM_ENUMERATION("Net.RenegotiationExtensionSupported", 1, 2); On 2014/08/22 23:03:20, David Benjamin ...
6 years, 4 months ago (2014-08-24 15:49:20 UTC) #7
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 4 months ago (2014-08-25 19:36:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/493793003/20001
6 years, 4 months ago (2014-08-25 19:37:28 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (20001) as 75502d79c21e38bb4309fe814bd3614ca08cb36f
6 years, 4 months ago (2014-08-25 20:34:18 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:37:15 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/09c3d07392bc432e5ef16874b5b3cdc5074b1cb4
Cr-Commit-Position: refs/heads/master@{#291752}

Powered by Google App Engine
This is Rietveld 408576698