mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-31 09:38:25 +00:00
update response stream handling
This commit is contained in:
parent
6865bb5353
commit
1714cb8764
7 changed files with 32 additions and 15 deletions
|
|
@ -100,7 +100,12 @@ namespace Emby.Server.Implementations.HttpServer.SocketSharp
|
|||
{
|
||||
var outputStream = response.OutputStream;
|
||||
|
||||
outputStream.Flush();
|
||||
// This is needed with compression
|
||||
//if (!string.IsNullOrWhiteSpace(GetHeader("Content-Encoding")))
|
||||
{
|
||||
outputStream.Flush();
|
||||
}
|
||||
|
||||
outputStream.Dispose();
|
||||
response.Close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue