Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c7a2b2bd
Commit
c7a2b2bd
authored
Dec 18, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
https: minor revector
parent
0c73679a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
modules/access/http/h2frame.c
modules/access/http/h2frame.c
+7
-6
No files found.
modules/access/http/h2frame.c
View file @
c7a2b2bd
...
@@ -541,6 +541,9 @@ static int vlc_h2_parse_headers_end(struct vlc_h2_parser *p)
...
@@ -541,6 +541,9 @@ static int vlc_h2_parse_headers_end(struct vlc_h2_parser *p)
{
{
p
->
cbs
->
stream_headers
(
s
,
val
,
headers
);
p
->
cbs
->
stream_headers
(
s
,
val
,
headers
);
val
=
0
;
val
=
0
;
if
(
p
->
headers
.
eos
)
p
->
cbs
->
stream_end
(
s
);
}
}
else
else
{
{
...
@@ -549,15 +552,13 @@ static int vlc_h2_parse_headers_end(struct vlc_h2_parser *p)
...
@@ -549,15 +552,13 @@ static int vlc_h2_parse_headers_end(struct vlc_h2_parser *p)
free
(
headers
[
i
][
0
]);
free
(
headers
[
i
][
0
]);
free
(
headers
[
i
][
1
]);
free
(
headers
[
i
][
1
]);
}
}
/* NOTE: The specification implies that the error should also be sent
/* NOTE: The specification implies that the error should be sent for
* for non-last header/continuation frames, but this does not make much
* the first header frame. But we actually want to receive the whole
* sense. */
* fragmented headers block, to preserve the HPACK decoder state.
* So we send the error at the last header frame instead. */
val
=
vlc_h2_stream_error
(
p
,
p
->
headers
.
sid
,
VLC_H2_REFUSED_STREAM
);
val
=
vlc_h2_stream_error
(
p
,
p
->
headers
.
sid
,
VLC_H2_REFUSED_STREAM
);
}
}
if
(
p
->
headers
.
eos
&&
s
!=
NULL
)
p
->
cbs
->
stream_end
(
s
);
p
->
parser
=
vlc_h2_parse_generic
;
p
->
parser
=
vlc_h2_parse_generic
;
p
->
headers
.
sid
=
0
;
p
->
headers
.
sid
=
0
;
return
val
;
return
val
;
...
...
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