cgi-io: use dynamic memory for post decoding, support proc files

Allocate dynamic buffer memory for decoding post data and allow post
requsts up to 128KB compared to the previos 1KB limit.

Also support downloading /proc and /sys files by falling back to
chunked transfer encoding when the file size cannot be determined.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 39087eba18)
This commit is contained in:
Jo-Philipp Wich
2020-02-10 18:19:34 +01:00
parent ce9229d2e0
commit 7f00eebab0
2 changed files with 98 additions and 46 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=cgi-io
PKG_RELEASE:=16
PKG_RELEASE:=17
PKG_LICENSE:=GPL-2.0-or-later