We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e72c55 commit 312beaeCopy full SHA for 312beae
1 file changed
src/FsHttp/Helper.fs
@@ -94,7 +94,7 @@ module Stream =
94
95
let copyToCallbackAsync (target: Stream) callback (source: Stream) =
96
async {
97
- let buffer = Array.create 81920 (byte 0)
+ let buffer = Array.create 81920 (byte 0) // 80KB matches .NET's Stream.CopyToAsync default buffer size
98
let logTimeSpan = TimeSpan.FromSeconds 1.5
99
let mutable continueLooping = true
100
let mutable overallBytesCount = 0
0 commit comments