fix(download): disable keepalive for chunk posts
This commit is contained in:
parent
1a65b1c190
commit
88713d9290
|
|
@ -125,6 +125,7 @@ export async function downloadStream(streamUrl: string, format: any, stream: Wri
|
|||
method: "POST",
|
||||
body: new Uint8Array([0x78, 0]), // protobuf: { 15: 0 } (no idea what it means but this is what YouTube uses),
|
||||
headers: headersToSend,
|
||||
keepalive: false,
|
||||
proxy
|
||||
});
|
||||
if (postResponse.status !== 200) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue