mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-27 12:31:57 +00:00
avoid buffering http responses
This commit is contained in:
@@ -169,7 +169,8 @@ namespace MediaBrowser.Common.Implementations.Security
|
||||
var options = new HttpRequestOptions()
|
||||
{
|
||||
Url = AppstoreRegUrl,
|
||||
CancellationToken = CancellationToken.None
|
||||
CancellationToken = CancellationToken.None,
|
||||
BufferContent = false
|
||||
};
|
||||
options.RequestHeaders.Add("X-Emby-Token", _appHost.SystemId);
|
||||
options.RequestContent = parameters;
|
||||
@@ -269,7 +270,8 @@ namespace MediaBrowser.Common.Implementations.Security
|
||||
Url = MBValidateUrl,
|
||||
|
||||
// Seeing block length errors
|
||||
EnableHttpCompression = false
|
||||
EnableHttpCompression = false,
|
||||
BufferContent = false
|
||||
};
|
||||
|
||||
options.SetPostData(data);
|
||||
|
||||
Reference in New Issue
Block a user