Skip to content

Akagi201/libuv-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A lightweight webserver based on libuv and http-parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published