DescriptionImplement ALPN in tlslite.
* Update SSLClientSocketFalseStartTests to use ALPN.
* Add SSLClientSocketTest test cases for ALPN.
* Implement ALPN in tlslite.
* Plumb ALPN through SpawnedTestServer.
* Configure server ALPN for URLRequest tests so that
connection does not fail.
Note that the ALPN implementation introduced by this CL does not conform to the
RFC: if there is no overlap between client and server supported protocols, ALPN
is ignored, whereas the specification prescribes an Alert to be sent. This by
the way matches BoringSSL's implementation. Also, it is simpler for tests: most
net_unittests against tlslite do not worry about the actual protocol negotiated,
and this way there is no need to configure the server ALPN list.
BUG=547867
Committed: https://crrev.com/b784c2f5e0e4041f2ccb4949c3a8b4c45a30b16c
Cr-Commit-Position: refs/heads/master@{#410127}
Patch Set 1 #Patch Set 2 : Rebase. #Patch Set 3 : Configure server ALPN for URLRequestTests. #Patch Set 4 : One small fix. #Patch Set 5 : Remove no_application_protocol alert. #Patch Set 6 : Rebase. #
Total comments: 16
Patch Set 7 : Re: #20. #Patch Set 8 : Rebase; update alpn.patch. #
Total comments: 14
Patch Set 9 : Re: #26. #Patch Set 10 : Update alpn.patch. #Patch Set 11 : Fix typo in comment. #Patch Set 12 : Update alpn.patch. #
Total comments: 2
Patch Set 13 : Moving nextProtos back to where it was. #Messages
Total messages: 38 (26 generated)
|