17 references to UnexpectedEndOfRequestContent
InMemory.FunctionalTests (1)
ChunkedRequestTests.cs (1)
901Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, badReqEx.Reason);
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\Http1Connection.cs (1)
825case RequestRejectionReason.UnexpectedEndOfRequestContent:
Internal\Http\Http1ContentLengthMessageBody.cs (1)
272KestrelBadHttpRequestException.Throw(RequestRejectionReason.UnexpectedEndOfRequestContent);
Internal\Http\Http1MessageBody.cs (1)
240KestrelBadHttpRequestException.Throw(RequestRejectionReason.UnexpectedEndOfRequestContent);
KestrelBadHttpRequestException.cs (1)
43case RequestRejectionReason.UnexpectedEndOfRequestContent:
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (12)
MessageBodyTests.cs (12)
1227Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex0.Reason); 1228Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex1.Reason); 1229Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex2.Reason); 1230Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex3.Reason); 1260Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex0.Reason); 1261Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex1.Reason); 1262Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex2.Reason); 1263Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex3.Reason); 1287Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex0.Reason); 1288Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex1.Reason); 1289Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex2.Reason); 1290Assert.Equal(RequestRejectionReason.UnexpectedEndOfRequestContent, ex3.Reason);