Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 640 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 640 Bytes

libuv-webserver

A lightweight webserver based on libuv and http-parser

Programming Live Video

Good http serve on libuv

Build & Run

  • ./start_build.sh
  • cd build
  • make
  • ./libuv_webserver
  • curl http://127.0.0.1:8000/

Stress test

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

TODO

  • split code into tcp and http part
  • http part will transform between structs and http-parser output
  • check memory leaks on libuv part.
  • build a http response part for easy responses.