Skip to content

Feature request: Use sendfile() to serve static file if sendfile() available. #21

Description

@zamronypj

TFileOutput class in unit lwebserver.pp serve static file request by reading file content and write it to socket. For unixes, It should use sendfile() for better performance.

Activity

  1. almindor commented on Dec 4, 2021

    @almindor
    Owner

    Hey, good suggestion. I don't do active development on lNet anymore, but if you'll make a PR I'll be happy to review/apply.

  2. zamronypj commented on Dec 4, 2021

    @zamronypj
    ContributorAuthor

    Sure. I'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions