mirror of
https://github.com/openwrt/luci.git
synced 2025-12-26 19:56:20 +04:00
22f687d0b13b91c94de304eb66021a00c847e698
The setfilehandler() functions used for mime and url encoded message bodies all operate with a signature of fh(meta, chunk, eof), but for unhandled encodings, the callback was directly assigned to the sink function, which has a signature of snk(chunk). Insert a wrapper to properly generate the EOF flag, and include a stub "meta" block providing a virtual "name" and also the original client provided Content-Type header, to possibly help with taking alternative actions in the file handler. The sink function created for raw content decoding also used the wrong signature for the sink function. Signed-off-by: Karl Palsson <karlp@remake.is>
OpenWrt luci feed
Description
This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.
Usage
This feed is enabled by default. To install all its package definitions, run:
./scripts/feeds update luci
./scripts/feeds install -a -p luci
License
See LICENSE file.
Package Guidelines
See CONTRIBUTING.md file.
Description
Languages
JavaScript
59.2%
C
18.4%
Lua
11.2%
CSS
3.8%
HTML
2.3%
Other
5%