libuv-webserver icon indicating copy to clipboard operation
libuv-webserver copied to clipboard

Pure C (or C++) webserver (and experimental http client) based on libuv and http-parser

libuv-webserver

Pure C (or C++) webserver based on libuv and http-parser

Based on http://vimeo.com/24713213

See also https://github.com/mafintosh/turbo-net

Warning

This is not a real server and never will be - purely experimental.

If you are interested in more robust server on top of libuv see Haywire.

Build

make

TODO

  • leverage threadpool
  • sysctl -w net.inet.tcp.msl=1000 on OS X
  • SO_REUSEPORT http://lwn.net/Articles/542629/