-
Notifications
You must be signed in to change notification settings - Fork 39
Chunked encoding when formatters write out the response #61
Comments
What does this have to do with formatters specifically? |
As part of the PR aspnet/Mvc#1074 , we explicitly avoid flushing to prevent chunked encoding...but this works only for Helios.. line of interest: https://github.com/aspnet/Mvc/blob/6adf8faff124ead324824b94b2e037daa5d4d3da/src/Microsoft.AspNet.Mvc.Core/Formatters/DelegatingStream.cs#L128 |
What's about kestel? And apache and ngix? I'm pretty sure that if you want consistent behavior across servers the solution needs to be at a higher layer. Also, isn't this a more general question about buffering? |
Right, this is in general related to buffering at hosts... I haven't tested with those hosts yet... From: David Fowlermailto:[email protected] What's about kestel? And apache and ngix? I'm pretty sure that if you want consistent behavior across servers the solution needs to be at a higher layer. Also, isn't this a more general question about buffering? — |
oops..by "buffering at hosts", i didn't really mean host-specific but as you mentioned something higher would keep it consistent across all hosts... |
@kichalla, please move this bug to https://github.com/aspnet/Hosting. |
I know that this is a known thing for a while now...but adding this bug however to keep track of this...
also the behavior is different from Helios in this matter...
When formatters write out the response on Helios, they are not sent out as chunked encoded, but they are in case of weblistener...
The text was updated successfully, but these errors were encountered: