Skip to content
Commit 2eda6df4 authored by Matt Rodgers's avatar Matt Rodgers Committed by Anas Nashif
Browse files

net: lib: http_server: add option to use ALPN



Web browsers don't support HTTP Upgrade mechanism to upgrade to HTTP2.
Instead, HTTP2 is supported only over TLS, and ALPN is used to negotiate
the protocol to be used.

This commit adds the supported HTTP protocols to the ALPN list, so that
web browsers can use HTTP2 with the server.

Signed-off-by: default avatarMatt Rodgers <mrodgers@witekio.com>
parent d4da23e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment