/libuv-webserver

simple webserver in libuv

Primary LanguageC

libuv hello world webserver

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
git submodule foreach 'git pull origin master'
make

Run it

./webserver &
curl localhost:8000

Stress-test it

ab -n 5000 -c 500 http://127.0.0.1:8000/