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

Issue 2382983002: Remove the last of the TLS fallback code. (Closed)

Created:
4 years, 2 months ago by davidben
Modified:
4 years, 2 months ago
Reviewers:
lgarron, felt, mmenke, blundell
CC:
cbentzel+watch_chromium.org, chromium-reviews, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the last of the TLS fallback code. It's gone and TLS 1.3 is not going to force it back. Remove the last of the dead code. Note this has a small behavior change: if we load a cached top-level resource which previously used the fallback and wasn't revalidated since the fallback was removed, the website_settings.cc logic will no longer show a message about this. But that message was only ever shown on Android and only if you went looking for the connection info. (There's some other stale code there like downgrading the connection status on SSLv3, but we may wish to drop the cache entry instead in that case. Though in general we don't really do the full provenance tracking so it's largely a UI thing. Notably revalidations and range requests will clobber one set of flags with another. Will poke at that in a follow-up.) BUG=621780 Committed: https://crrev.com/471d313caec220449197a77ae369787f34fbbc47 Cr-Commit-Position: refs/heads/master@{#423545}

Patch Set 1 #

Total comments: 5

Patch Set 2 : mmenke comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -141 lines) Patch
M chrome/browser/ui/website_settings/website_settings.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M components/error_page/common/localized_error.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M components/pageinfo_strings.grdp View 1 1 chunk +0 lines, -3 lines 0 comments Download
M net/base/net_error_list.h View 2 chunks +2 lines, -6 lines 0 comments Download
M net/socket/ssl_client_socket_impl.cc View 1 4 chunks +0 lines, -30 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 2 chunks +1 line, -58 lines 0 comments Download
M net/ssl/openssl_ssl_util.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M net/ssl/ssl_config.h View 3 chunks +0 lines, -13 lines 0 comments Download
M net/ssl/ssl_config.cc View 3 chunks +0 lines, -4 lines 0 comments Download
M net/ssl/ssl_connection_status_flags.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
davidben
4 years, 2 months ago (2016-09-30 13:13:22 UTC) #6
mmenke
I guess the production code that actually initiates fallback has already been removed? Could you ...
4 years, 2 months ago (2016-10-03 16:01:04 UTC) #7
davidben
https://codereview.chromium.org/2382983002/diff/1/net/socket/ssl_client_socket_impl.cc File net/socket/ssl_client_socket_impl.cc (left): https://codereview.chromium.org/2382983002/diff/1/net/socket/ssl_client_socket_impl.cc#oldcode799 net/socket/ssl_client_socket_impl.cc:799: ssl_info->connection_status |= SSL_CONNECTION_VERSION_FALLBACK; On 2016/10/03 16:01:03, mmenke wrote: > ...
4 years, 2 months ago (2016-10-03 19:09:24 UTC) #12
mmenke
LGTM https://codereview.chromium.org/2382983002/diff/1/net/socket/ssl_client_socket_impl.cc File net/socket/ssl_client_socket_impl.cc (left): https://codereview.chromium.org/2382983002/diff/1/net/socket/ssl_client_socket_impl.cc#oldcode799 net/socket/ssl_client_socket_impl.cc:799: ssl_info->connection_status |= SSL_CONNECTION_VERSION_FALLBACK; On 2016/10/03 19:09:24, davidben wrote: ...
4 years, 2 months ago (2016-10-03 20:12:01 UTC) #14
davidben
+felt for website_settings.cc +blundell for components/pageinfo_strings.grdp
4 years, 2 months ago (2016-10-03 23:39:32 UTC) #17
blundell
//components lgtm
4 years, 2 months ago (2016-10-04 06:03:39 UTC) #18
felt
lgarron, can you pls review the change as it affects website_settings?
4 years, 2 months ago (2016-10-06 01:11:54 UTC) #20
lgarron
website_settings and pageinfo_strings LGTM
4 years, 2 months ago (2016-10-06 05:44:19 UTC) #21
felt
thx lucas. also lgtm
4 years, 2 months ago (2016-10-06 10:08:55 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2382983002/20001
4 years, 2 months ago (2016-10-06 13:39:37 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-06 15:39:59 UTC) #26
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 15:43:41 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/471d313caec220449197a77ae369787f34fbbc47
Cr-Commit-Position: refs/heads/master@{#423545}

Powered by Google App Engine
This is Rietveld 408576698