Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support lwan web server #25

Merged
merged 1 commit into from Jun 14, 2022
Merged

Support lwan web server #25

merged 1 commit into from Jun 14, 2022

Conversation

yaohwang99
Copy link
Contributor

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.

@jserv jserv requested a review from eecheng87 June 11, 2022 10:01
wrapper/lwan-preload.c Outdated Show resolved Hide resolved
configs/lwan.conf Outdated Show resolved Hide resolved
@eecheng87
Copy link
Owner

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

@eecheng87
Copy link
Owner

@yaohwang99 , please also updates README.

@jserv jserv changed the title Support LWAN web server Support lwan web server Jun 11, 2022
Copy link
Collaborator

@jserv jserv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Append "Close #20" at the end of git commit message(s). Once this pull request is merged, issue #20 would be closed automatically.

The changes include:
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.
Add demo and update README.md.

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.

Close eecheng87#20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants