diff --git a/release-notes/3.0/preview/3.0.0-preview-known-issues.md b/release-notes/3.0/preview/3.0.0-preview-known-issues.md index 19587803..1b934a40 100644 --- a/release-notes/3.0/preview/3.0.0-preview-known-issues.md +++ b/release-notes/3.0/preview/3.0.0-preview-known-issues.md @@ -33,6 +33,25 @@ To update the path for every new terminal session, the `export` entry will need ## ASP.NET Core +### Preview 9 + +- **WebSocket connections to IIS In-Process servers will close after the client sends ~30MB** + + WebSocket connections to IIS In-Process servers will close after the client sends ~30MB of data. + + To workaround this issue you can host your app with the [OutOfProcess](https://docs.microsoft.com/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-3.0#out-of-process-hosting-model) hosting model. Or you can change the `MaxRequestBodySize` limit in your app when handling WebSocket requests by adding the following to your middleware pipeline: + + ```csharp + app.Use(next => context => + { + if (context.WebSockets.IsWebSocketRequest) + { + context.Features.Get()?.MaxRequestBodySize = null; + } + return next(context); + }); + ``` + ### Preview 8 - **Starting a client or bi-directional streaming gRPC call with an already canceled `CallOptions.CancellationToken` will hang**