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)
46get => _maxSize; 324if (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}.", 343if (_maxSize.HasValue && _totalRead > _maxSize.Value) 346$"The total number of bytes read {_totalRead} has exceeded the request body size limit {_maxSize.Value}.",