From 26487dc455bf65f5232509aae5313bca092c5b6a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 4 Oct 2015 23:24:24 -0400 Subject: rework people --- .../HttpClientManager/HttpClientManager.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs') diff --git a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs index 48d674432..86aae959d 100644 --- a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs +++ b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs @@ -818,7 +818,10 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager { if ((int) statusCode == 429) { - client.LastTimeout = DateTime.UtcNow; + throw new HttpException(response.StatusDescription) + { + IsTimedOut = true + }; } if (statusCode == HttpStatusCode.RequestEntityTooLarge) -- cgit v1.2.3