From f94505243dba8c562f47749b828d66887356d24b Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Mon, 30 Oct 2017 17:28:53 +0900 Subject: [PATCH] Use AllowRetryOnTimeout where to maintain previous functionality --- osu.Game/Online/API/APIRequest.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game/Online/API/APIRequest.cs b/osu.Game/Online/API/APIRequest.cs index b7debb8e41..74dddfc1c5 100644 --- a/osu.Game/Online/API/APIRequest.cs +++ b/osu.Game/Online/API/APIRequest.cs @@ -99,6 +99,7 @@ namespace osu.Game.Online.API throw new TimeoutException(@"API request timeout hit"); WebRequest = CreateWebRequest(); + WebRequest.AllowRetryOnTimeout = false; WebRequest.Headers[@"Authorization"] = $@"Bearer {api.AccessToken}"; if (checkAndProcessFailure())