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
870d437c
Commit
870d437c
authored
Mar 04, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HPACK Header Compression HTTP/2 decompression support
parent
ee625c63
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
877 additions
and
0 deletions
+877
-0
modules/Makefile.am
modules/Makefile.am
+1
-0
modules/access/http/Makefile.am
modules/access/http/Makefile.am
+4
-0
modules/access/http/hpack.c
modules/access/http/hpack.c
+845
-0
modules/access/http/hpack.h
modules/access/http/hpack.h
+27
-0
No files found.
modules/Makefile.am
View file @
870d437c
...
...
@@ -21,6 +21,7 @@ EXTRA_LTLIBRARIES =
include
common.am
include
access/Makefile.am
include
access/http/Makefile.am
include
access/rtp/Makefile.am
include
arm_neon/Makefile.am
include
audio_filter/Makefile.am
...
...
modules/access/http/Makefile.am
0 → 100644
View file @
870d437c
hpack_test_SOURCES
=
access/http/hpack.c access/http/hpack.h
hpack_test_CFLAGS
=
-DDEC_TEST
check_PROGRAMS
+=
hpack_test
TESTS
+=
hpack_test
modules/access/http/hpack.c
0 → 100644
View file @
870d437c
This diff is collapsed.
Click to expand it.
modules/access/http/hpack.h
0 → 100644
View file @
870d437c
/*****************************************************************************
* hpack.h: HPACK Header Compression for HTTP/2
*****************************************************************************
* Copyright (C) 2015 Rémi Denis-Courmont
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
struct
hpack_decoder
;
struct
hpack_decoder
*
hpack_decode_init
(
size_t
header_table_size
);
void
hpack_decode_destroy
(
struct
hpack_decoder
*
);
int
hpack_decode
(
struct
hpack_decoder
*
dec
,
const
uint8_t
*
data
,
size_t
length
,
char
*
headers
[][
2
],
unsigned
max
);
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