From 84b184dd5309096f9df97967af878ecd7cb36da6 Mon Sep 17 00:00:00 2001 From: Winlin Date: Tue, 19 Mar 2024 19:12:41 +0800 Subject: [PATCH] System: Disable feature that obtains versions and check features status. v5.0.209 v6.0.115 (#3990) See https://github.com/ossrs/srs/issues/2424 --------- Co-authored-by: john --- trunk/conf/full.conf | 4 ++-- trunk/doc/CHANGELOG.md | 2 ++ trunk/src/app/srs_app_config.cpp | 4 ++-- trunk/src/core/srs_core_version5.hpp | 2 +- trunk/src/core/srs_core_version6.hpp | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index 1f9da26b20..3cbaf09dfa 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -705,8 +705,8 @@ tcmalloc_release_rate 0.8; # @see https://github.com/ossrs/srs/issues/2424 # @see https://github.com/ossrs/srs/issues/2508 # Overwrite by env SRS_QUERY_LATEST_VERSION -# Default: on -query_latest_version on; +# Default: off +query_latest_version off; # First wait when qlv(query latest version), in seconds. # Only available when qlv is enabled. diff --git a/trunk/doc/CHANGELOG.md b/trunk/doc/CHANGELOG.md index a8b15b585a..8c212c4039 100644 --- a/trunk/doc/CHANGELOG.md +++ b/trunk/doc/CHANGELOG.md @@ -7,6 +7,7 @@ The changelog for SRS. ## SRS 6.0 Changelog +* v6.0, 2024-03-19, Merge [#3990](https://github.com/ossrs/srs/pull/3990): System: Disable feature that obtains versions and check features status. v6.0.115 (#3990) * v6.0, 2024-03-18, Merge [#3973](https://github.com/ossrs/srs/pull/3973): Typo: Fix some typo for #3973 #3976 #3982. v6.0.114 (#3973) * v6.0, 2024-02-06, Merge [#3920](https://github.com/ossrs/srs/pull/3920): WHIP: Fix bug for converting WHIP to RTMP/HLS. v6.0.113 (#3920) * v6.0, 2024-02-05, Merge [#3924](https://github.com/ossrs/srs/pull/3924): Upgrade hls.js and set in low latency mode. v6.0.112 (#3924) @@ -125,6 +126,7 @@ The changelog for SRS. ## SRS 5.0 Changelog +* v5.0, 2024-03-19, Merge [#3990](https://github.com/ossrs/srs/pull/3990): System: Disable feature that obtains versions and check features status. v5.0.209 (#3990) * v5.0, 2024-02-06, Merge [#3920](https://github.com/ossrs/srs/pull/3920): WHIP: Fix bug for converting WHIP to RTMP/HLS. v5.0.208 (#3920) * v5.0, 2024-02-05, Merge [#3925](https://github.com/ossrs/srs/pull/3925): RTC: Fix video and audio track pt_ is not change in player before publisher. v5.0.207 (#3925) * v5.0, 2024-02-05, Merge [#3923](https://github.com/ossrs/srs/pull/3923): Configure: print enabled/disable sanitizer. v5.0.206 (#3923) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index d696f75309..b7efd889d9 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -3131,9 +3131,9 @@ bool SrsConfig::get_asprocess() bool SrsConfig::whether_query_latest_version() { - SRS_OVERWRITE_BY_ENV_BOOL2("srs.query_latest_version"); // SRS_QUERY_LATEST_VERSION + SRS_OVERWRITE_BY_ENV_BOOL("srs.query_latest_version"); // SRS_QUERY_LATEST_VERSION - static bool DEFAULT = true; + static bool DEFAULT = false; SrsConfDirective* conf = root->get("query_latest_version"); if (!conf) { diff --git a/trunk/src/core/srs_core_version5.hpp b/trunk/src/core/srs_core_version5.hpp index 1e9a74079e..957b7e7bc7 100644 --- a/trunk/src/core/srs_core_version5.hpp +++ b/trunk/src/core/srs_core_version5.hpp @@ -9,6 +9,6 @@ #define VERSION_MAJOR 5 #define VERSION_MINOR 0 -#define VERSION_REVISION 208 +#define VERSION_REVISION 209 #endif diff --git a/trunk/src/core/srs_core_version6.hpp b/trunk/src/core/srs_core_version6.hpp index 62a539cf2b..c028a3c07d 100644 --- a/trunk/src/core/srs_core_version6.hpp +++ b/trunk/src/core/srs_core_version6.hpp @@ -9,6 +9,6 @@ #define VERSION_MAJOR 6 #define VERSION_MINOR 0 -#define VERSION_REVISION 114 +#define VERSION_REVISION 115 #endif