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

Issue 338093012: Fix SSLClientSocketOpenSSL error-handling for Channel ID. (Closed)

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

Description

Fix SSLClientSocketOpenSSL error-handling for Channel ID. The old logic did not propogate asynchronous errors forward and potentially may trigger two GetOrCreateDomainBoundCert calls in parallel if DoHandshake were called while a Channel ID request were in flight. Add a test to ensure this case behaves as expected. BUG=386276 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278947

Patch Set 1 #

Patch Set 2 : Add error code. #

Total comments: 17

Patch Set 3 : wtc comments #

Total comments: 4

Patch Set 4 : wtc comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -65 lines) Patch
M net/base/net_error_list.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 4 chunks +4 lines, -6 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 8 chunks +69 lines, -54 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 2 4 chunks +59 lines, -2 lines 0 comments Download
M net/ssl/server_bound_cert_service.cc View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
davidben
asvitkine for histograms.xml. I made this add new states to SSL_do_handshake since it looks like ...
6 years, 6 months ago (2014-06-19 17:56:20 UTC) #1
Alexei Svitkine (slow)
histograms lgtm
6 years, 6 months ago (2014-06-19 18:28:35 UTC) #2
wtc
Patch set 2 LGTM. https://codereview.chromium.org/338093012/diff/20001/net/base/net_error_list.h File net/base/net_error_list.h (right): https://codereview.chromium.org/338093012/diff/20001/net/base/net_error_list.h#newcode736 net/base/net_error_list.h:736: NET_ERROR(CHANNEL_ID_IMPORT_FAILED, -715) Should we change ...
6 years, 6 months ago (2014-06-19 22:00:11 UTC) #3
davidben
https://codereview.chromium.org/338093012/diff/20001/net/base/net_error_list.h File net/base/net_error_list.h (right): https://codereview.chromium.org/338093012/diff/20001/net/base/net_error_list.h#newcode736 net/base/net_error_list.h:736: NET_ERROR(CHANNEL_ID_IMPORT_FAILED, -715) On 2014/06/19 22:00:11, wtc wrote: > > ...
6 years, 6 months ago (2014-06-19 22:36:38 UTC) #4
wtc
Patch set 3 LGTM. Thanks. https://codereview.chromium.org/338093012/diff/20001/net/base/net_error_list.h File net/base/net_error_list.h (right): https://codereview.chromium.org/338093012/diff/20001/net/base/net_error_list.h#newcode736 net/base/net_error_list.h:736: NET_ERROR(CHANNEL_ID_IMPORT_FAILED, -715) OK, let's ...
6 years, 6 months ago (2014-06-20 00:21:55 UTC) #5
davidben
https://codereview.chromium.org/338093012/diff/40001/net/ssl/server_bound_cert_service.cc File net/ssl/server_bound_cert_service.cc (right): https://codereview.chromium.org/338093012/diff/40001/net/ssl/server_bound_cert_service.cc#newcode429 net/ssl/server_bound_cert_service.cc:429: if (err == ERR_FILE_NOT_FOUND) { On 2014/06/20 00:21:54, wtc ...
6 years, 6 months ago (2014-06-20 20:05:57 UTC) #6
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 6 months ago (2014-06-20 22:59:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/338093012/60001
6 years, 6 months ago (2014-06-20 23:00:05 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-21 06:13:50 UTC) #9
Message was sent while issue was closed.
Change committed as 278947

Powered by Google App Engine
This is Rietveld 408576698