mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Add comment
This commit is contained in:
parent
883d28d03d
commit
eaa5575b23
@ -59,6 +59,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
|
|||||||
requestMessage.Headers.UserAgent.TryParseAdd(info.UserAgent);
|
requestMessage.Headers.UserAgent.TryParseAdd(info.UserAgent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set HttpCompletionOption.ResponseHeadersRead to prevent timeouts on larger files
|
||||||
var response = await _httpClientFactory.CreateClient(NamedClient.Default)
|
var response = await _httpClientFactory.CreateClient(NamedClient.Default)
|
||||||
.SendAsync(requestMessage, HttpCompletionOption.ResponseHeadersRead, cancellationToken)
|
.SendAsync(requestMessage, HttpCompletionOption.ResponseHeadersRead, cancellationToken)
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user