Don't kill ffmpeg for HTTP 416
This commit is contained in:
parent
3cac6d2d10
commit
a405c2c5fa
|
@ -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…
Reference in a new issue