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