Merge pull request #3296 from dotnet/brecon/preview9
Add AspNetCore Preview9 Known issues
This commit is contained in:
commit
ac038d53b5
|
@ -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<IHttpMaxRequestBodySizeFeature>()?.MaxRequestBodySize = null;
|
||||
}
|
||||
return next(context);
|
||||
});
|
||||
```
|
||||
|
||||
### Preview 8
|
||||
|
||||
- **Starting a client or bi-directional streaming gRPC call with an already canceled `CallOptions.CancellationToken` will hang**
|
||||
|
|
Loading…
Reference in a new issue