After upgrade has been accepted by the server: - Reads to HttpRequest.Body always return 0 - Writes to HttpResponse.Body always throw - The only valid way to communicate is to use the stream returned by IHttpUpgradeFeature.UpgradeAsync() Also, Kestrel returns HTTP 400 if requests attempt to send a request body along with Connection: Upgrade |
||
|---|---|---|
| .. | ||
| Microsoft.AspNetCore.Server.Kestrel.Core.Tests | ||
| Microsoft.AspNetCore.Server.Kestrel.FunctionalTests | ||
| Microsoft.AspNetCore.Server.Kestrel.Performance | ||
| Microsoft.AspNetCore.Server.Kestrel.Tests | ||
| Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Tests | ||
| shared | ||