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

Issue 10532061: Select the first protocol from the next protocol list of SSLConfig if If we didn't find a protocol. (Closed)

Created:
8 years, 6 months ago by Johnny(Jianning) Ding
Modified:
8 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, joth
Visibility:
Public.

Description

Select the first protocol from the next protocol list of SSLConfig if If we didn't find a protocol. It's possible that there is no overlap between the server advertised protocols and SSL client advertised protocols. And Server even can give a empty protocol list in NPN extension in a ServerHello message. In this case, the SSL client should pick up the first protocol from the next protocol list of SSLConfig. BUG=131769 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142098

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -20 lines) Patch
M net/socket/ssl_client_socket_openssl.cc View 1 2 chunks +19 lines, -20 lines 3 comments Download

Messages

Total messages: 12 (0 generated)
Johnny(Jianning) Ding
8 years, 6 months ago (2012-06-08 09:51:25 UTC) #1
agl
LGTM http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode855 net/socket/ssl_client_socket_openssl.cc:855: // It's expected that a client will have ...
8 years, 6 months ago (2012-06-08 14:23:14 UTC) #2
Ryan Sleevi
lgtm http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode859 net/socket/ssl_client_socket_openssl.cc:859: *outlen = 8; nit: I think I preferred ...
8 years, 6 months ago (2012-06-08 18:16:29 UTC) #3
wtc
Patch set 1 LGTM. I don't know how to solve the problem that rsleevi pointed ...
8 years, 6 months ago (2012-06-08 21:33:35 UTC) #4
Johnny(Jianning) Ding
Waiting for comments from kristianm and agl for next step. http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode341 ...
8 years, 6 months ago (2012-06-11 13:27:19 UTC) #5
agl
http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode341 net/socket/ssl_client_socket_openssl.cc:341: NULL); On 2012/06/11 13:27:19, Johnny(Jianning) Ding wrote: > @kristianm, ...
8 years, 6 months ago (2012-06-11 16:02:02 UTC) #6
joth
On 11 June 2012 09:02, <agl@chromium.org> wrote: > > http://codereview.chromium.**org/10532061/diff/1/net/** > socket/ssl_client_socket_**openssl.cc<http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc> > File net/socket/ssl_client_socket_**openssl.cc ...
8 years, 6 months ago (2012-06-11 18:08:30 UTC) #7
wtc
http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode855 net/socket/ssl_client_socket_openssl.cc:855: // It's expected that a client will have a ...
8 years, 6 months ago (2012-06-12 17:50:29 UTC) #8
Johnny(Jianning) Ding
http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): http://codereview.chromium.org/10532061/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode855 net/socket/ssl_client_socket_openssl.cc:855: // It's expected that a client will have a ...
8 years, 6 months ago (2012-06-13 09:31:20 UTC) #9
agl
LGTM
8 years, 6 months ago (2012-06-13 14:37:47 UTC) #10
wtc
Patch set 2 LGTM. agl: I have a question for you. jnd: I suggest a ...
8 years, 6 months ago (2012-06-13 18:01:52 UTC) #11
Johnny(Jianning) Ding
8 years, 6 months ago (2012-06-14 04:50:13 UTC) #12
http://codereview.chromium.org/10532061/diff/7001/net/socket/ssl_client_socke...
File net/socket/ssl_client_socket_openssl.cc (right):

http://codereview.chromium.org/10532061/diff/7001/net/socket/ssl_client_socke...
net/socket/ssl_client_socket_openssl.cc:875: // We found a match.
On 2012/06/13 18:01:52, wtc wrote:
> 
> Nit: it's better to move this comment into the if statement.
> (That's the original location of this comment.)

Done. It was to address Ryan's comment, it said "this comment appears
after/inside the condition (as
opposed to say, 885/886, which happen outside/before)"

Powered by Google App Engine
This is Rietveld 408576698