Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Issue 9294001: Adds support for the credentials frame. (Closed)

Created:
8 years, 11 months ago by Ryan Hamilton
Modified:
8 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, eroman, darin-cc_chromium.org, mmenke
Visibility:
Public.

Description

Adds support for the credentials frame. Need to allow spdy sessions to see if the underlying socket is required OBCs. If so, and if pooling a connection, then we need to generate a CREDENTIALS frame for this origin. Need to add support for the RST_FRAME status code of INVALID CREDENTIALS Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120923

Patch Set 1 #

Total comments: 37

Patch Set 2 : address feedback from wtc #

Total comments: 58

Patch Set 3 : address feedback from wtc #

Patch Set 4 : sync #

Patch Set 5 : fix win and openssl SSLClientSocket implementations #

Patch Set 6 : fix mac SSLClientSocket implementations #

Patch Set 7 : fix win/mac/openssl SSLClientSocket implementations, again #

Total comments: 15

Patch Set 8 : More fixes #

Patch Set 9 : No changes #

Total comments: 2

Patch Set 10 : Disable SpdyHttpStreamTest.SendCredentials when using openssl, since openssl does not support OBC #

Patch Set 11 : Disable SpdyHttpStreamTest.SendCredentials when using openssl, since openssl does not support OBC #

Unified diffs Side-by-side diffs Delta from patch set Stats (+891 lines, -18 lines) Patch
M net/base/net_log_event_type_list.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M net/socket/socket_test_util.h View 1 2 3 4 5 6 4 chunks +10 lines, -0 lines 0 comments Download
M net/socket/socket_test_util.cc View 1 2 3 3 chunks +25 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket.h View 1 2 3 3 chunks +14 lines, -4 lines 0 comments Download
M net/socket/ssl_client_socket.cc View 1 2 3 2 chunks +10 lines, -5 lines 0 comments Download
M net/socket/ssl_client_socket_mac.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_mac.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_nss.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_win.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_win.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A net/spdy/spdy_credential_state.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +56 lines, -0 lines 0 comments Download
A net/spdy/spdy_credential_state.cc View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A net/spdy/spdy_credential_state_unittest.cc View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
M net/spdy/spdy_http_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +172 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 3 4 5 6 7 6 chunks +38 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 5 6 7 7 chunks +127 lines, -1 line 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 2 3 1 chunk +141 lines, -0 lines 0 comments Download
M net/spdy/spdy_stream.h View 1 2 3 4 chunks +17 lines, -0 lines 0 comments Download
M net/spdy/spdy_stream.cc View 1 2 3 4 chunks +73 lines, -2 lines 0 comments Download
M net/spdy/spdy_test_util.h View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M net/spdy/spdy_test_util.cc View 1 2 3 1 chunk +11 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Ryan Hamilton
8 years, 11 months ago (2012-01-26 22:23:26 UTC) #1
wtc
Review comments on Patch Set 1: I only had time to review ssl_client_socket.*, ssl_client_socket_nss.*, and ...
8 years, 11 months ago (2012-01-28 00:41:20 UTC) #2
Ryan Hamilton
http://codereview.chromium.org/9294001/diff/1/net/socket/ssl_client_socket.cc File net/socket/ssl_client_socket.cc (right): http://codereview.chromium.org/9294001/diff/1/net/socket/ssl_client_socket.cc#newcode15 net/socket/ssl_client_socket.cc:15: was_origin_bound_cert_sent_(false) { On 2012/01/28 00:41:20, wtc wrote: > > ...
8 years, 10 months ago (2012-01-30 20:00:20 UTC) #3
wtc
http://codereview.chromium.org/9294001/diff/1/net/spdy/spdy_credential_state.cc File net/spdy/spdy_credential_state.cc (right): http://codereview.chromium.org/9294001/diff/1/net/spdy/spdy_credential_state.cc#newcode46 net/spdy/spdy_credential_state.cc:46: if (slots_[i].Equals(origin)) { The STL technique I had in ...
8 years, 10 months ago (2012-01-31 19:21:25 UTC) #4
wtc
Patch Set 2 LGTM. There are a lot of minor style issues. Most of my ...
8 years, 10 months ago (2012-01-31 22:13:19 UTC) #5
Ryan Hamilton
http://codereview.chromium.org/9294001/diff/10001/net/base/net_log_event_type_list.h File net/base/net_log_event_type_list.h (right): http://codereview.chromium.org/9294001/diff/10001/net/base/net_log_event_type_list.h#newcode983 net/base/net_log_event_type_list.h:983: // Sending of a SPDY CREDENTIAL frame (which send ...
8 years, 10 months ago (2012-02-06 19:12:25 UTC) #6
wtc
rch: let me respond to your comments first, and then I'll review the new patch ...
8 years, 10 months ago (2012-02-06 22:48:55 UTC) #7
wtc
Patch Set 7 LGTM. In net/spdy/spdy_session.{h,cc} you added 'const' to some input parameters, but you ...
8 years, 10 months ago (2012-02-07 01:58:47 UTC) #8
Ryan Hamilton
http://codereview.chromium.org/9294001/diff/25001/net/socket/ssl_client_socket_openssl.h File net/socket/ssl_client_socket_openssl.h (right): http://codereview.chromium.org/9294001/diff/25001/net/socket/ssl_client_socket_openssl.h#newcode27 net/socket/ssl_client_socket_openssl.h:27: class OriginBoundCertService; On 2012/02/07 01:58:47, wtc wrote: > > ...
8 years, 10 months ago (2012-02-07 17:28:38 UTC) #9
wtc
http://codereview.chromium.org/9294001/diff/25001/net/spdy/spdy_credential_state.cc File net/spdy/spdy_credential_state.cc (right): http://codereview.chromium.org/9294001/diff/25001/net/spdy/spdy_credential_state.cc#newcode15 net/spdy/spdy_credential_state.cc:15: : slots_(num_slots), My proposed change requires we be able ...
8 years, 10 months ago (2012-02-07 22:10:37 UTC) #10
wtc
Patch Set 9 LGTM. http://codereview.chromium.org/9294001/diff/33029/net/spdy/spdy_credential_state.cc File net/spdy/spdy_credential_state.cc (right): http://codereview.chromium.org/9294001/diff/33029/net/spdy/spdy_credential_state.cc#newcode40 net/spdy/spdy_credential_state.cc:40: for (size_t i = 0; ...
8 years, 10 months ago (2012-02-07 22:21:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9294001/44003
8 years, 10 months ago (2012-02-08 00:35:43 UTC) #12
commit-bot: I haz the power
8 years, 10 months ago (2012-02-08 02:45:40 UTC) #13
Change committed as 120923

Powered by Google App Engine
This is Rietveld 408576698