master
Ondřej Hruška 2 years ago
parent a0b603c703
commit 5ae683e3f2
  1. 25
      README.md
  2. 4
      spritehttpd/src/port/httpd-freertos.c

@ -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 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`. 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?

@ -43,10 +43,10 @@ void httpdPlatStart(struct httpd_options *opts)
void* httpdPlatMalloc(size_t len) void* httpdPlatMalloc(size_t len)
{ {
return malloc(len); return malloc(len); // TODO
} }
void httpdPlatFree(void *ptr) void httpdPlatFree(void *ptr)
{ {
free(ptr); free(ptr);// TODO
} }

Loading…
Cancel
Save