73 writes to Timeout
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
462client.Timeout = Timeout.InfiniteTimeSpan;
Aspire.Playground.Tests (2)
AppHostTests.cs (1)
128.ConfigureHttpClient(client => client.Timeout = Timeout.InfiniteTimeSpan)
Infrastructure\DistributedApplicationExtensions.cs (1)
247applyMigrationsHttpClient.Timeout = TimeSpan.FromSeconds(240);
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
462client.Timeout = Timeout.InfiniteTimeSpan;
IIS.FunctionalTests (10)
Http2TrailersResetTests.cs (2)
508var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(200) }; 517using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(200) };
Http3Tests.cs (1)
181return new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(200) };
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
134Timeout = TimeSpan.FromSeconds(200),
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (3)
360using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(200) }; 374using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(200) }; 394using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(200) };
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
48Timeout = TimeSpan.FromSeconds(200),
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketTests.cs (2)
42using var client = new HttpClient() { Timeout = TimeSpan.FromSeconds(200) }; 56using var client = new HttpClient() { Timeout = TimeSpan.FromSeconds(200) };
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
48Timeout = TimeSpan.FromSeconds(200),
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
1379Timeout = TimeSpan.FromSeconds(200),
IIS.Microbenchmarks (1)
PlaintextBenchmark.cs (1)
31Timeout = TimeSpan.FromSeconds(200),
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
48Timeout = TimeSpan.FromSeconds(200),
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
1379Timeout = TimeSpan.FromSeconds(200),
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
48Timeout = TimeSpan.FromSeconds(200),
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
1379Timeout = TimeSpan.FromSeconds(200),
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
48Timeout = TimeSpan.FromSeconds(200),
IIS.Tests (1)
Utilities\TestServer.cs (1)
119Timeout = TimeSpan.FromSeconds(200),
IISExpress.FunctionalTests (8)
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
134Timeout = TimeSpan.FromSeconds(200),
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (3)
360using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(200) }; 374using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(200) }; 394using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(200) };
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
48Timeout = TimeSpan.FromSeconds(200),
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketTests.cs (2)
42using var client = new HttpClient() { Timeout = TimeSpan.FromSeconds(200) }; 56using var client = new HttpClient() { Timeout = TimeSpan.FromSeconds(200) };
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
1379Timeout = TimeSpan.FromSeconds(200),
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerPostConfigureOptions.cs (1)
56options.Backchannel.Timeout = options.BackchannelTimeout;
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthPostConfigureOptions.cs (1)
40options.Backchannel.Timeout = options.BackchannelTimeout;
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectPostConfigureOptions.cs (1)
72options.Backchannel.Timeout = options.BackchannelTimeout;
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterPostConfigureOptions.cs (1)
49options.Backchannel.Timeout = options.BackchannelTimeout;
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationPostConfigureOptions.cs (1)
67options.Backchannel.Timeout = options.BackchannelTimeout;
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
TargetPickerUi.cs (1)
423using var httpClient = new HttpClient { Timeout = TimeSpan.FromSeconds(5) };
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
634httpClient.Timeout = HttpClientTimeout;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (8)
Listener\AuthenticationOnExistingQueueTests.cs (1)
223using HttpClient client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(5) };
Listener\RequestBodyTests.cs (1)
204client.Timeout = TimeSpan.FromSeconds(10);
Listener\ResponseBodyTests.cs (1)
508using (HttpClient client = new HttpClient() { Timeout = Utilities.DefaultTimeout })
ResponseCachingTests.cs (2)
471using (var client = new HttpClient() { Timeout = TimeSpan.FromSeconds(10) }) 486using (var client = new HttpClient() { Timeout = TimeSpan.FromSeconds(10) })
ResponseSendFileTests.cs (1)
681using (HttpClient client = new HttpClient() { Timeout = Utilities.DefaultTimeout })
ServerTests.cs (2)
639using (HttpClient client = new HttpClient() { Timeout = Utilities.DefaultTimeout }) 647using (HttpClient client = new HttpClient() { Timeout = Utilities.DefaultTimeout })
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Common\DeploymentResult.cs (1)
68Timeout = TimeSpan.FromSeconds(200),
Deployers\NginxDeployer.cs (1)
80httpClient.Timeout = TimeSpan.FromSeconds(200);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeploymentResult.cs (1)
42Timeout = TimeSpan.FromSeconds(200),
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
50Timeout = requestTimeout
Microsoft.AspNetCore.TestHost (1)
TestServer.cs (1)
180Timeout = TimeSpan.FromSeconds(200),
Microsoft.Build.Tasks.Core (1)
DownloadFile.cs (1)
150using (var client = new HttpClient(HttpMessageHandler ?? new HttpClientHandler(), disposeHandler: true) { Timeout = TimeSpan.FromMilliseconds(Timeout) })
Microsoft.DotNet.Arcade.Sdk (1)
src\DownloadFile.cs (1)
128httpClient.Timeout = TimeSpan.FromSeconds(TimeoutInSeconds);
Microsoft.DotNet.Build.Tasks.Feed (1)
src\common\AzureStorageUtils.cs (1)
57Timeout = TimeSpan.FromSeconds(300)
Microsoft.Extensions.Http.Resilience (2)
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (1)
144_ = builder.ConfigureHttpClient(client => client.Timeout = Timeout.InfiniteTimeSpan);
Resilience\ResilienceHttpClientBuilderExtensions.StandardResilience.cs (1)
91_ = builder.ConfigureHttpClient(client => client.Timeout = Timeout.InfiniteTimeSpan);
Microsoft.Extensions.Http.Resilience.PerformanceTests (4)
HttpClientFactory.cs (4)
41.AddHttpClient(StandardClient, client => client.Timeout = Timeout.InfiniteTimeSpan) 47.AddHttpClient(EmptyClient, client => client.Timeout = Timeout.InfiniteTimeSpan) 50.AddHttpClient(SingleHandlerClient, client => client.Timeout = Timeout.InfiniteTimeSpan) 67var clientBuilder = services.AddHttpClient(clientType.ToString(), client => client.Timeout = Timeout.InfiniteTimeSpan);
Microsoft.ML.Tokenizers.Data.Tests (1)
test\Microsoft.ML.Tokenizers.Tests\Utils.cs (1)
17using (var client = new HttpClient() { Timeout = TimeSpan.FromMinutes(5) })
Microsoft.ML.Tokenizers.Tests (2)
LlamaTests.cs (1)
21private static readonly HttpClient _httpClient = new HttpClient() { Timeout = TimeSpan.FromMinutes(5) };
Utils.cs (1)
17using (var client = new HttpClient() { Timeout = TimeSpan.FromMinutes(5) })
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1674client.Timeout = parameters.Timeout;
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
49Timeout = TimeSpan.FromMinutes(2)
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
49Timeout = TimeSpan.FromMinutes(2)
src\Shared\E2ETesting\SauceConnectServer.cs (1)
150Timeout = TimeSpan.FromSeconds(1),
Templates.Blazor.WebAssembly.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
49Timeout = TimeSpan.FromMinutes(2)
src\Shared\E2ETesting\SauceConnectServer.cs (1)
150Timeout = TimeSpan.FromSeconds(1),
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
49Timeout = TimeSpan.FromMinutes(2)
src\Shared\E2ETesting\SauceConnectServer.cs (1)
150Timeout = TimeSpan.FromSeconds(1),
Templates.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
49Timeout = TimeSpan.FromMinutes(2)
src\Shared\E2ETesting\SauceConnectServer.cs (1)
150Timeout = TimeSpan.FromSeconds(1),
6 references to Timeout
Microsoft.Extensions.Http.Polly (2)
PolicyHttpMessageHandler.cs (2)
57/// <see cref="HttpClient.Timeout"/>. When combining Retry and Timeout, <see cref="HttpClient.Timeout"/> will act as a
Microsoft.Extensions.Http.Resilience.Tests (2)
Hedging\StandardHedgingTests.cs (1)
273client.Timeout.Should().Be(Timeout.InfiniteTimeSpan);
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (1)
268client.Timeout.Should().Be(Timeout.InfiniteTimeSpan);
System.Net.Http.Json (2)
System\Net\Http\Json\HttpClientJsonExtensions.cs (2)
46TimeSpan timeout = client.Timeout; 97string message = SR.Format(SR.net_http_request_timedout, client.Timeout.TotalSeconds);