An hello-world webserver in C using libuv and http-parser based on Ryan Dahl's tutorial and updated to make it work with the most recent libuv API.
Build it
git submodule update --init
make
Run it
./webserver
curl http://127.0.0.1:8000/
Stress-test it
ab -n 5000 -c 500 http://127.0.0.1:8000/
I have this insane idea of writing a lightweight c++ web framework on top of libuv. But. I can't do it by myself.
Anyone crazy enough to join me? Drop me a tweet / email.