Skip to content

Sendfile support #19

@samcode206

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)

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