mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 03:32:06 +00:00
Don't kill ffmpeg for HTTP 416
This commit is contained in:
parent
3cac6d2d10
commit
a405c2c5fa
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ exports.ffprobe = function ffprobe(filename, cb) {
|
|||
|
||||
child.stderr.on("data", function (data) {
|
||||
stderr += data;
|
||||
if (stderr.match(/the tls connection was non-properly terminated|http error 416/i)) {
|
||||
if (stderr.match(/the tls connection was non-properly terminated/i)) {
|
||||
fflog("Killing ffprobe for " + filename + " due to TLS error");
|
||||
childErr = new Error("Remote server closed connection unexpectedly");
|
||||
child.kill("SIGKILL");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue