eecheng87 / ESCA

Effective System Call Aggregation
https://eecheng87.github.io/ESCA/
MIT License
38 stars 5 forks source link

Support lwan web server #25

Closed yaohwang99 closed 2 years ago

yaohwang99 commented 2 years ago

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.

eecheng87 commented 2 years ago

Thanks for PR. There is a grammar error in the commit message. Instead "The changes includes", it should be "The changes include".

eecheng87 commented 2 years ago

@yaohwang99 , please also updates README.