-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
✔️ Resolution: Won't FixResolved because we decided not to change the behavior reported in this issue.Resolved because we decided not to change the behavior reported in this issue.Status: Resolvedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-kestrel
Description
Is your feature request related to a problem? Please describe.
I was expecting PhysicalFile to use the sendfile system call in linux but all it does is stream the file using this fallback:
This fallback uses much more CPU and memory to serve files than using the sendfile system call.
Describe the solution you'd like
I'd like an option to enable sendfile responses, either in setup or for each response.
Metadata
Metadata
Assignees
Labels
✔️ Resolution: Won't FixResolved because we decided not to change the behavior reported in this issue.Resolved because we decided not to change the behavior reported in this issue.Status: Resolvedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-kestrel