Add concurrent Snowball extraction + options (#15836)

This commit is contained in:
Klaus Post authored and GitHub committed 2022-10-18 13:50:21 -07:00
1 parent 9fff315555
commit bd3dfad8b9
4 files changed
+131 -13

No files matched your search

+7
View File
@@ -1052,6 +1052,13 @@ var poolBuf8k = sync.Pool{
},
}
var poolBuf128k = sync.Pool{
New: func() interface{} {
b := make([]byte, 128<<10)
return b
},
}
// waitForHTTPStream will wait for responses where
// streamHTTPResponse has been used.
// The returned reader contains the payload and must be closed if no error is returned.