From 5ae683e3f2ba050c0bbd778fcb4d125b2cbde90a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 29 Jan 2023 00:59:27 +0100 Subject: [PATCH] readme --- README.md | 25 +++++++++++++++++++++++++ spritehttpd/src/port/httpd-freertos.c | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f57978d..c97adce 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,28 @@ This project is a continuation of Sprite-TM's ESP8266 / ESP32 http server (https The server implements some of the more basic parts of HTTP/1.1 with Websockets and includes a templating system and a compressed ROM filesystem called `espfs`. + +## Status + +Currently cleaning the library and debugging it with the POSIX port and a demo project in the demo folder. + +**Verified:** + +- EspFs with a new fancy command-line tool +- New simpler Makefile +- serving static files +- templating engine + +**To test:** + +- websockets +- auth CGI +- CORS header support + +**Planned:** + +- port httpclient from the old library +- cookie helpers +- session CGI +- try to make it work with mbedtls +- avoid frequent allocations, reuse structs, maybe make more things static? diff --git a/spritehttpd/src/port/httpd-freertos.c b/spritehttpd/src/port/httpd-freertos.c index f08373b..2a100b4 100644 --- a/spritehttpd/src/port/httpd-freertos.c +++ b/spritehttpd/src/port/httpd-freertos.c @@ -43,10 +43,10 @@ void httpdPlatStart(struct httpd_options *opts) void* httpdPlatMalloc(size_t len) { - return malloc(len); + return malloc(len); // TODO } void httpdPlatFree(void *ptr) { - free(ptr); + free(ptr);// TODO }