removed await on writer.write
This commit is contained in:
parent
4ce782e6b5
commit
84cf6e9e4c
File diff suppressed because one or more lines are too long
2
index.js
2
index.js
|
@ -444,7 +444,7 @@ async function pipeDecryptedStream(writer, body, length, cipher, fixed_range_sta
|
||||||
chunk = chunk.slice(0, chunk.byteLength - bytes_remove_end)
|
chunk = chunk.slice(0, chunk.byteLength - bytes_remove_end)
|
||||||
}
|
}
|
||||||
|
|
||||||
await writer.write(chunk)
|
writer.write(chunk)
|
||||||
|
|
||||||
if (!end) {
|
if (!end) {
|
||||||
byte_count += 2048
|
byte_count += 2048
|
||||||
|
|
Loading…
Reference in New Issue