ALPN and HTTP/2 client

Michael McMahon michael.x.mcmahon at oracle.com
Mon Apr 18 20:09:20 UTC 2016


Hi,

ALPN is set in the HttpConnection class.

Checking the exact ciphers selected is not implemented
yet. That will come later. I am currently updating the implementation to 
get rid of the
two threads per connection limitation and will have a new webrev then.
So I will address other review comments after that.

We don't have a plan to make the implementation pluggable by ServiceLoader.
I can add it to the list of API issues we can look at after the first 
integration though.

Michael

On 18/04/16 14:55, Simone Bordet wrote:
> Hi,
>
> I am missing where the ALPN negotiation is performed in the new HTTP/2
> client code, can you direct me at where this is done ?
>
> The HTTP/2 spec requires to close the connection with
> INADEQUATE_SECURITY if the cipher does not meet the HTTP/2
> requirements, but I don't see this code ?
>
> SSLEngine.getApplicationProtocol() seems only to be used for debugging ?
>
> Thanks !
>



More information about the net-dev mailing list