Commit graph

13 commits

Author SHA1 Message Date
Jo-Philipp Wich
0f6e1663ca lucihttp: update to latest Git HEAD
9b5b683 multipart-parser: properly handle parts with trailing CR

Fixes: #6282
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-03-15 01:07:09 +01:00
Jo-Philipp Wich
2b0539ef9d lucihttp: update to latest Git HEAD
6e68a10 utils: also compare attribute name length in lh_header_attribute()
7b721af testcases: adjust urldecode tests

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-07-08 15:26:23 +02:00
Jo-Philipp Wich
e870775d39 lucihttp: update to latest Git HEAD
cc85183 ucode: add ucode library binding

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-02-21 14:51:01 +01:00
Jo-Philipp Wich
d1fc11d852 lucihttp: update to latest Git HEAD
Fixes compilation under 32bit systems by using the proper printf format
specifier for size_t values.

Also fixes compilation with Ninja by appending instead of
overwriting CMAKE_OPTIONS.

Fixes: #5116
Suggested-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-11 08:32:03 +02:00
Jo-Philipp Wich
66c8ebfeff lucihttp: update to latest Git HEAD
a34a17d src: allow overriding buffer size from cli in multipart tester
730a46f lib: fix potentially lost bytes in boundary parsing across buffer limits
8734af2 lib: add buffer tracing to multipart parser
913051b src: add file dump option to multipart test utility
c419539 src: allow specifying custom buffer sizes in multipart testcases
f6e0564 lib: fix handling of empty multipart fields

Fixes: #2816
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-05 08:27:47 +02:00
Jo-Philipp Wich
15608fd2e5 lucihttp: update to latest Git HEAD
f6e0564 lib: fix handling of empty multipart fields
91c01c3 lib: fix multipart state transition in boundary parsing

Fixes: #2737
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-05 16:15:40 +02:00
Jo-Philipp Wich
c8e9578586 lucihttp: update to latest Git HEAD
1afbdcc build: add soversion to library

Also adjust ABI_VERSION and install recipe accordingly.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-01-24 12:24:51 +01:00
Jo-Philipp Wich
27b7e43180 lucihttp: update to latest HEAD
6ddea4c utils: fix crash with zero length input string in lh_header_attribute()
cb119de lib: add support for setting the maximum allowed data size

Fixes #1784.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-18 16:34:28 +02:00
Jo-Philipp Wich
5ef51b2abe lucihttp: update to latest HEAD
ccc685e lua: expose LH_URLDECODE_PLUS flag in Lua library

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-22 11:59:47 +02:00
Jo-Philipp Wich
efcca75678 lucihttp: update to latest HEAD
c7c9c66 src: extend multipart parser test program
5071efb testcases: add multipart parsing edge cases
689e3d0 lib: multipart-parser: fix various edge cases

Fixes #1754.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-20 11:30:09 +02:00
Jo-Philipp Wich
06b85427f5 lucihttp: update to latest HEAD
8617997 lib: cast size_t values in printf() to prevent compielr warnings

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-18 16:38:49 +02:00
Jo-Philipp Wich
3f0abd936d lucihttp: update to latest HEAD
b7470d1 lua: back out early when instantiating parser with bad boundary
e1b1b1f testcases: remove stray .swp file
b46a6ca utils: introduce new LH_URLDECODE_PLUS flag

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-18 16:21:27 +02:00
Jo-Philipp Wich
084499a4c0 contrib: package liblucihttp
Package liblucihttp, a utility library providing HTTP parsing and data
decoding helpers.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-17 11:31:37 +02:00