Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
80f2d6a7
Commit
80f2d6a7
authored
Dec 04, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HTTP tunnel protocol
This implements IETF RFC7639, i.e. the ALPN HTTP header field.
parent
3b35c87a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
modules/access/http/tunnel.c
modules/access/http/tunnel.c
+1
-0
No files found.
modules/access/http/tunnel.c
View file @
80f2d6a7
...
...
@@ -60,6 +60,7 @@ static struct vlc_http_msg *vlc_http_tunnel_open(struct vlc_http_conn *conn,
if
(
unlikely
(
req
==
NULL
))
return
NULL
;
vlc_http_msg_add_header
(
req
,
"ALPN"
,
"h2, http%%2F1.1"
);
vlc_http_msg_add_agent
(
req
,
PACKAGE_NAME
"/"
PACKAGE_VERSION
);
struct
vlc_http_stream
*
stream
=
vlc_http_stream_open
(
conn
,
req
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment