2 writes to _length
Microsoft.AspNetCore.StaticFiles (2)
StaticFileContext.cs (2)
65
_length
= 0;
120
_length
= _fileInfo.Length;
6 references to _length
Microsoft.AspNetCore.StaticFiles (6)
StaticFileContext.cs (6)
126
long etagHash = _lastModified.ToFileTime() ^
_length
;
237
(var isRangeRequest, var range) = RangeHelper.ParseRange(_context, RequestHeaders,
_length
, _logger);
269
_response.ContentLength =
_length
;
356
await _context.Response.SendFileAsync(_fileInfo, 0,
_length
, _context.RequestAborted);
373
ResponseHeaders.ContentRange = new ContentRangeHeaderValue(
_length
);
404
return new ContentRangeHeaderValue(start, end,
_length
);