only first stream would retry now
This commit is contained in:
parent
c427ff9326
commit
047d5a666a
@ -180,7 +180,7 @@ export class Stream {
|
||||
"range" : `bytes=${this.bytes_count}-${end >= this.content_length ? '' : end}`
|
||||
}
|
||||
})
|
||||
if(Number(stream.statusCode) >= 400){
|
||||
if(Number(stream.statusCode) >= 400 && this.bytes_count === 0){
|
||||
this.cleanup()
|
||||
await this.retry()
|
||||
this.loop()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user