fix(download): disable keepalive for chunk posts

This commit is contained in:
localhost 2026-11-07 08:42:37 +01:00
parent 1a65b1c190
commit 88713d9290
1 changed files with 1 additions and 0 deletions

View File

@ -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) {