2 writes to MemoryBufferThreshold
Microsoft.AspNetCore.Http (1)
Internal\MutableFormOptionsMetadata.cs (1)
12MemoryBufferThreshold = MemoryBufferThreshold ?? baseFormOptions.MemoryBufferThreshold,
Microsoft.AspNetCore.Mvc.Core (1)
RequestFormLimitsAttribute.cs (1)
62set => FormOptions.MemoryBufferThreshold = value;
9 references to MemoryBufferThreshold
Microsoft.AspNetCore.Http (4)
Features\FormFeature.cs (2)
201_request.EnableRewind(_options.MemoryBufferThreshold, _options.BufferBodyLengthLimit); 256_options.MemoryBufferThreshold, _options.MultipartBodyLengthLimit);
Features\FormOptions.cs (1)
16/// Default value for <see cref="MemoryBufferThreshold"/>.
Internal\MutableFormOptionsMetadata.cs (1)
12MemoryBufferThreshold = MemoryBufferThreshold ?? baseFormOptions.MemoryBufferThreshold,
Microsoft.AspNetCore.Mvc.Core (1)
RequestFormLimitsAttribute.cs (1)
61get => FormOptions.MemoryBufferThreshold;
Microsoft.AspNetCore.Routing.Tests (4)
EndpointRoutingMiddlewareFormOptionsTest.cs (4)
52Assert.Equal(FormOptions.DefaultMemoryBufferThreshold, formOptions.MemoryBufferThreshold); 87Assert.Equal(FormOptions.DefaultMemoryBufferThreshold, formOptions.MemoryBufferThreshold); 125Assert.Equal(FormOptions.DefaultMemoryBufferThreshold, formOptions.MemoryBufferThreshold); 160Assert.Equal(FormOptions.DefaultMemoryBufferThreshold, formOptions.MemoryBufferThreshold);