Commit 1f4ef747 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

httpd: advertise HTTP/1.1 support over TLS

parent 19e7f0ed
......@@ -2047,8 +2047,12 @@ static void httpdLoop(httpd_host_t *host)
vlc_tls_t *p_tls;
if (host->p_tls)
p_tls = vlc_tls_SessionCreate(host->p_tls, fd, NULL, NULL);
if (host->p_tls != NULL)
{
const char *alpn[] = { "http/1.1", NULL };
p_tls = vlc_tls_SessionCreate(host->p_tls, fd, NULL, alpn);
}
else
p_tls = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment