Merge branch 'main' into main

This commit is contained in:
ZEREX 2025-01-31 12:50:19 +01:00 committed by GitHub
commit eb927f492c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,8 @@ async function* readChunks(streamInfo, size) {
Range: `bytes=${read}-${read + CHUNK_SIZE}` Range: `bytes=${read}-${read + CHUNK_SIZE}`
}, },
dispatcher: streamInfo.dispatcher, dispatcher: streamInfo.dispatcher,
signal: streamInfo.controller.signal signal: streamInfo.controller.signal,
maxRedirections: 4
}); });
if (chunk.statusCode === 403 && chunksSinceTransplant >= 3 && streamInfo.transplant) { if (chunk.statusCode === 403 && chunksSinceTransplant >= 3 && streamInfo.transplant) {