Hacker News new | ask | show | jobs
by datenwolf 4341 days ago
I responded on Reddit with a link to my litheweb (the sources still say picoweb throughout it. I yet have to rename-refactor it).

https://github.com/datenwolf/litheweb

Lithweb is developed network API agnostic and requires no dynamic memory allocation (malloc/free). Its main target are microcontrollers and it has a memory footprint of as little as 0.5kiB. To make it work you'll have to provide an implementation of the ioops functions.

GET variable support has the scaffolding up, but URL parameter parsing not yet implemented.

However POST request support it fully implemented, including MIME Multipart reconstuction.

See the test/bsdsocket.c for an example on how to implement ioops and for a file upload example.

So far the repositry does not contain the tag nesting functions, but I have those, too.

Security issues? Probably some but so far not identified yet. However when I tried fuzzing it, the fuzzer got crashed by litheweb %) (litheweb was not impressed).