3 writes to _maxSize
Microsoft.AspNetCore.Server.HttpSys (3)
RequestProcessing\RequestStream.cs (3)
28
_maxSize
= _requestContext.Server.Options.MaxRequestBodySize;
57
_maxSize
= value;
90
_maxSize
= null;
7 references to _maxSize
Microsoft.AspNetCore.Server.HttpSys (7)
RequestProcessing\RequestStream.cs (7)
46
get =>
_maxSize
;
324
if (contentLength.HasValue &&
_maxSize
.HasValue && contentLength.Value >
_maxSize
.Value)
327
$"The request's Content-Length {contentLength.Value} is larger than the request body size limit {
_maxSize
.Value}.",
343
if (
_maxSize
.HasValue && _totalRead >
_maxSize
.Value)
346
$"The total number of bytes read {_totalRead} has exceeded the request body size limit {
_maxSize
.Value}.",