4 implementations of AllowSynchronousIO
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
579bool IHttpBodyControlFeature.AllowSynchronousIO
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
428bool IHttpBodyControlFeature.AllowSynchronousIO { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
192bool IHttpBodyControlFeature.AllowSynchronousIO
Microsoft.AspNetCore.TestHost (1)
HttpContextBuilder.cs (1)
59public bool AllowSynchronousIO { get; set; }
27 writes to AllowSynchronousIO
InMemory.FunctionalTests (4)
Http2\Http2ConnectionTests.cs (1)
4763bodyControlFeature.AllowSynchronousIO = true;
Http2\Http2StreamTests.cs (1)
3486bodyControlFeature.AllowSynchronousIO = true;
RequestTests.cs (1)
1745bodyControlFeature.AllowSynchronousIO = true;
ResponseTests.cs (1)
3450bodyControlFeature.AllowSynchronousIO = true;
Microsoft.AspNetCore.OutputCaching.Tests (1)
TestUtils.cs (1)
74feature.AllowSynchronousIO = true;
Microsoft.AspNetCore.ResponseCaching.Tests (1)
TestUtils.cs (1)
99feature.AllowSynchronousIO = true;
Microsoft.AspNetCore.ResponseCompression.Tests (2)
ResponseCompressionMiddlewareTest.cs (2)
732feature.AllowSynchronousIO = true; 855feature.AllowSynchronousIO = true;
Microsoft.AspNetCore.Rewrite (1)
UrlActions\CustomResponseAction.cs (1)
37feature.AllowSynchronousIO = true;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (16)
RequestBodyLimitTests.cs (5)
25httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 92httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 159httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 235httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 312httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true;
RequestBodyTests.cs (4)
31httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 51httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 127httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 151httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true;
ResponseBodyTests.cs (6)
114httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 143httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 170httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 214httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 288httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true; 322httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true;
ResponseHeaderTests.cs (1)
219httpContext.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true;
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.cs (1)
89((IHttpBodyControlFeature)this).AllowSynchronousIO = _options.AllowSynchronousIO;
Microsoft.AspNetCore.TestHost.Tests (1)
HttpContextBuilderTests.cs (1)
127c.Features.Get<IHttpBodyControlFeature>().AllowSynchronousIO = true;
24 references to AllowSynchronousIO
IIS.Tests (1)
HttpBodyControlFeatureTests.cs (1)
26Assert.False(bodyControl.AllowSynchronousIO);
InMemory.FunctionalTests (8)
RequestTests.cs (4)
1689Assert.False(bodyControlFeature.AllowSynchronousIO); 1740Assert.False(bodyControlFeature.AllowSynchronousIO); 1788Assert.False(bodyControlFeature.AllowSynchronousIO); 1833Assert.True(bodyControlFeature.AllowSynchronousIO);
ResponseTests.cs (4)
3419Assert.False(bodyControlFeature.AllowSynchronousIO); 3449Assert.False(bodyControlFeature.AllowSynchronousIO); 3480Assert.True(bodyControlFeature.AllowSynchronousIO); 3515Assert.False(bodyControlFeature.AllowSynchronousIO);
Microsoft.AspNetCore.Server.IIS (3)
Core\EmptyStream.cs (1)
32if (!_bodyControl.AllowSynchronousIO)
Core\HttpRequestStream.cs (1)
26if (!_bodyControl.AllowSynchronousIO)
Core\HttpResponseStream.cs (1)
35if (!_bodyControl.AllowSynchronousIO)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpRequestStream.cs (1)
54if (!_bodyControl.AllowSynchronousIO)
Internal\Http\HttpResponseStream.cs (2)
51if (!_bodyControl.AllowSynchronousIO) 75if (!_bodyControl.AllowSynchronousIO)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (9)
HttpRequestStreamTests.cs (1)
110mockBodyControl.Setup(m => m.AllowSynchronousIO).Returns(() => allowSynchronousIO);
HttpResponseStreamTests.cs (1)
112mockBodyControl.Setup(m => m.AllowSynchronousIO).Returns(() => allowSynchronousIO);
MessageBodyTests.cs (7)
35mockBodyControl.Setup(m => m.AllowSynchronousIO).Returns(true); 188mockBodyControl.Setup(m => m.AllowSynchronousIO).Returns(true); 217mockBodyControl.Setup(m => m.AllowSynchronousIO).Returns(true); 242mockBodyControl.Setup(m => m.AllowSynchronousIO).Returns(true); 270mockBodyControl.Setup(m => m.AllowSynchronousIO).Returns(true); 421mockBodyControl.Setup(m => m.AllowSynchronousIO).Returns(true); 477mockBodyControl.Setup(m => m.AllowSynchronousIO).Returns(true);