mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
possible timeout fix
This commit is contained in:
parent
3cd8d64784
commit
07b7ab9a0b
@ -160,8 +160,8 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager
|
|||||||
|
|
||||||
options.CancellationToken.ThrowIfCancellationRequested();
|
options.CancellationToken.ThrowIfCancellationRequested();
|
||||||
|
|
||||||
using (var message = GetHttpRequestMessage(options))
|
var message = GetHttpRequestMessage(options);
|
||||||
{
|
|
||||||
//if (options.EnableResponseCache && cachedInfo != null)
|
//if (options.EnableResponseCache && cachedInfo != null)
|
||||||
//{
|
//{
|
||||||
// if (!string.IsNullOrEmpty(cachedInfo.Etag))
|
// if (!string.IsNullOrEmpty(cachedInfo.Etag))
|
||||||
@ -246,7 +246,6 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Performs a GET request and returns the resulting stream
|
/// Performs a GET request and returns the resulting stream
|
||||||
|
Loading…
x
Reference in New Issue
Block a user