
Hi Mikhail,
On Mon, 9 Sept 2024 at 16:27, Mikhail Kshevetskiy mikhail.kshevetskiy@iopsys.eu wrote:
This patch adds HTTP/1.1 compatible web-server that can be used by other. Server supports GET, POST, and HEAD requests. On client request it will call user specified GET/POST callback. Then results will be transmitted to client.
The following restrictions exist on the POST request at the moment:
- only multipart/form-data with a single file object
- object will be stored to a memory area specified in image_load_addr variable
Signed-off-by: Mikhail Kshevetskiy mikhail.kshevetskiy@iopsys.eu
include/net.h | 2 +- include/net/httpd.h | 64 ++++ net/Kconfig | 14 + net/Makefile | 1 + net/httpd.c | 692 ++++++++++++++++++++++++++++++++++++++++++++ net/net.c | 6 + 6 files changed, 778 insertions(+), 1 deletion(-) create mode 100644 include/net/httpd.h create mode 100644 net/httpd.c
This looks fine, but please comment struct httpd_priv
Reviewed-by: Simon Glass sjg@chromium.org
Regards, Simon