dotnet / WatsonWebserver

Watson is the fastest, easiest way to build scalable RESTful web servers and services in C#.
MIT License
411 stars 84 forks source link

CRITICAL: Fixes a Watson/Lite crashing issue with Concurrent Streams. #143

Closed GitHubProUser67 closed 6 months ago

GitHubProUser67 commented 6 months ago

Fixes a bug where booth Watson backends can hard crash in a specific scenario.

The scenario in question is a streaming application (not yet available) that uses chunked encoding with FFMpeg, but like described in this issue tracker : https://github.com/dotnet/WatsonWebserver/issues/135 the server can send some 500 Internal Server Error responses in the middle (which client ignore of course, so harmless) in case of a non-standard streaming use.

So we effectively now use chunck encoding if, by mistake, server send one of these 500 Internal Server Error while in a chunked stream session.

jchristn commented 6 months ago

Thank you for this contribution @GitHubProUser67 ! Merging now

jchristn commented 6 months ago

Published NuGet v6.1.9, thank you again!