Skip to content

Sendfile support #19

Description

@samcode206

It wouldn't be too much trouble to expose a ws_conn_sendfile function that takes a file descriptor, size, and an opcode, write the header then call sendfile on the provided fd. can be useful for sending static data and we don't have to waste event loop time copying in userspace.

sendfile (2)

Activity

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