From 97ea8090adc68866db50682968658298a9647708 Mon Sep 17 00:00:00 2001 From: wendelong <712963@qq.com> Date: Tue, 29 Mar 2022 13:43:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DHLS=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=A8=8B=E5=BA=8F=E5=BC=82=E5=B8=B8=E7=9A=84?= =?UTF-8?q?BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Http/HttpFileManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/HttpFileManager.cpp b/src/Http/HttpFileManager.cpp index 9427df14..0481e5bf 100644 --- a/src/Http/HttpFileManager.cpp +++ b/src/Http/HttpFileManager.cpp @@ -399,7 +399,7 @@ static void accessFile(TcpSession &sender, const Parser &parser, const MediaInfo GET_CONFIG_FUNC(vector, forbidCacheSuffix, Http::kForbidCacheSuffix, [](const string &str) { return split(str, ","); }); - bool is_forbid_cache; + bool is_forbid_cache = false; for (auto &suffix : forbidCacheSuffix) { if (suffix != "" && end_with(file_path, suffix)) { is_forbid_cache = true;