From a405c2c5fab08dd6385e44082e3a97ce9e4e6ac5 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Tue, 11 Aug 2015 18:25:14 -0700 Subject: [PATCH] Don't kill ffmpeg for HTTP 416 --- lib/ffmpeg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ffmpeg.js b/lib/ffmpeg.js index 37cf49df..9a090cf0 100644 --- a/lib/ffmpeg.js +++ b/lib/ffmpeg.js @@ -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");