-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FluidViewRenderer.RenderViewAsync writes to stream syncronously in some situations #647
Comments
Can you create a PR with the test that FAILS in your branch? thanks |
Maybe related to #601 |
sebastienros
added a commit
that referenced
this issue
May 29, 2024
sebastienros
added a commit
that referenced
this issue
May 29, 2024
sebastienros
added a commit
that referenced
this issue
May 29, 2024
Fixes #647 Co-authored-by: @MoazAlkharfan Co-authored-by: @AlexGirardDev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
I have been running into an issue when trying to use RenderViewAsync to write to an HTTP Response Body output stream.
It seems like RenderViewAsync writes to the stream passed in Syncronously in some situations which causes issues with Kestral unless you set this flag
I have created some unit tests reproducing the bugs in this branch
I was also able to produce this bug in the MVC sample in this branch
Some things i have noticed with this bug:
-I think that the default buffer size in the ASP.NET is bigger than 1024 (probably 4096) because the value needs to be much larger to force this error every time there but it is still possible
The text was updated successfully, but these errors were encountered: