increase static stream buffer size

pull/702/head
Luke Pulverenti 11 years ago
parent 1d9c163f5f
commit e4dfbb6f55

@ -64,9 +64,9 @@ namespace MediaBrowser.Api.Playback
{ {
using (_msg) using (_msg)
{ {
using (var input = await _msg.Content.ReadAsStreamAsync().ConfigureAwait(false)) using (var remoteStream = await _msg.Content.ReadAsStreamAsync().ConfigureAwait(false))
{ {
await input.CopyToAsync(responseStream).ConfigureAwait(false); await remoteStream.CopyToAsync(responseStream, 8192000).ConfigureAwait(false);
} }
} }
} }

Loading…
Cancel
Save