This commit is the first try to support LWAN web server.
The changes includes:
Add patches for lwan.
Add script to CMakelist.txt to link library.
Add lwan-preload.c wrapper for lwan.
Add send() system call to wrapper.c.
When there is only one connection from the browser,
only send() will be called.
When there are multiple connections, send() will be called
once and then sendfile() will be called.
This commit is the first try to support LWAN web server. The changes includes: Add patches for lwan. Add script to CMakelist.txt to link library. Add lwan-preload.c wrapper for lwan. Add send() system call to wrapper.c.
When there is only one connection from the browser, only send() will be called. When there are multiple connections, send() will be called once and then sendfile() will be called.