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

Issue 18346010: net: support ALPN. (Closed)

Created:
7 years, 5 months ago by agl
Modified:
7 years, 4 months ago
Reviewers:
wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : ... #

Patch Set 3 : Update patch file. #

Total comments: 2

Patch Set 4 : Remove the new error. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -19 lines) Patch
M net/socket/ssl_client_socket_nss.cc View 1 chunk +1 line, -0 lines 1 comment Download
A net/third_party/nss/patches/alpn.patch View 1 2 3 1 chunk +231 lines, -0 lines 0 comments Download
M net/third_party/nss/patches/applypatches.sh View 1 chunk +2 lines, -0 lines 0 comments Download
M net/third_party/nss/ssl/ssl.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M net/third_party/nss/ssl/ssl3con.c View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M net/third_party/nss/ssl/ssl3ext.c View 1 2 3 6 chunks +103 lines, -16 lines 0 comments Download
M net/third_party/nss/ssl/sslt.h View 1 chunk +2 lines, -1 line 1 comment Download

Messages

Total messages: 10 (0 generated)
agl
7 years, 5 months ago (2013-07-01 22:19:56 UTC) #1
wtc
Added rsleevi as a second reviewer.
7 years, 5 months ago (2013-07-01 23:07:13 UTC) #2
Ryan Sleevi
This LGTM. It took me a bit to realize that ss->ssl3.nextProto contains the *negotiated* protocol, ...
7 years, 5 months ago (2013-07-02 00:41:42 UTC) #3
agl
Have also added a new error to catch the case where a server tries to ...
7 years, 5 months ago (2013-07-02 17:43:01 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/18346010/diff/10001/net/third_party/nss/ssl/ssl3ext.c File net/third_party/nss/ssl/ssl3ext.c (right): https://codereview.chromium.org/18346010/diff/10001/net/third_party/nss/ssl/ssl3ext.c#newcode662 net/third_party/nss/ssl/ssl3ext.c:662: return SECFailure; This won't actually abort the connection - ...
7 years, 5 months ago (2013-07-02 18:36:48 UTC) #5
agl
https://codereview.chromium.org/18346010/diff/10001/net/third_party/nss/ssl/ssl3ext.c File net/third_party/nss/ssl/ssl3ext.c (right): https://codereview.chromium.org/18346010/diff/10001/net/third_party/nss/ssl/ssl3ext.c#newcode662 net/third_party/nss/ssl/ssl3ext.c:662: return SECFailure; On 2013/07/02 18:36:48, Ryan Sleevi wrote: > ...
7 years, 5 months ago (2013-07-02 18:42:22 UTC) #6
Ryan Sleevi
LGTM https://codereview.chromium.org/18346010/diff/22001/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (right): https://codereview.chromium.org/18346010/diff/22001/net/socket/ssl_client_socket_nss.cc#newcode2501 net/socket/ssl_client_socket_nss.cc:2501: case SSL_NEXT_PROTO_SELECTED: This will affect the histograms for ...
7 years, 5 months ago (2013-07-02 19:13:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/18346010/22001
7 years, 5 months ago (2013-07-02 21:14:33 UTC) #8
commit-bot: I haz the power
Change committed as 209878
7 years, 5 months ago (2013-07-03 04:06:25 UTC) #9
wtc
7 years, 4 months ago (2013-08-01 19:35:24 UTC) #10
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/18346010/diff/22001/net/third_party/ns...
File net/third_party/nss/ssl/sslt.h (right):

https://chromiumcodereview.appspot.com/18346010/diff/22001/net/third_party/ns...
net/third_party/nss/ssl/sslt.h:199: ssl_application_layer_protocol   = 16,

The enum for ALPN should also end in _xtn like the other enums.
This requires abbreviation to keep the enum name short, for example,
ssl_app_layer_proto_nego_xtn.

Powered by Google App Engine
This is Rietveld 408576698