Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/2828688ced9328b0b4bc688e1146cbf3b4ac11d5 You should set ROOT_URL correctly, otherwise the web may not work correctly.

better source stream disposal for static files

pull/702/head
LukePulverenti 12 years ago
parent ca5acb6edc
commit 2828688ced

@ -40,9 +40,12 @@ namespace MediaBrowser.Server.Implementations.HttpServer
/// </summary>
/// <param name="responseStream">The response stream.</param>
/// <returns>Task.</returns>
private Task WriteToAsync(Stream responseStream)
private async Task WriteToAsync(Stream responseStream)
{
return SourceStream.CopyToAsync(responseStream);
using (var src = SourceStream)
{
await src.CopyToAsync(responseStream).ConfigureAwait(false);
}
}
}
}

Loading…
Cancel
Save