Open jkotalik opened 5 years ago
If the SendFile feature isn't implemented, it falls back to Streams today. We would like this to first fall back to pipes first if present. This isn't much of a problem for HttpSys because it implements the SendFile feature already.
For reference: https://github.com/dotnet/aspnetcore/blob/cd61ed769ab5fadcd7164fd395178442f1079b8d/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.FeatureCollection.cs#L333-L336
If the SendFile feature isn't implemented, it falls back to Streams today. We would like this to first fall back to pipes first if present. This isn't much of a problem for HttpSys because it implements the SendFile feature already.