From ee6a68d24ca165d917b26414a4168d265363d9d1 Mon Sep 17 00:00:00 2001 From: john Date: Tue, 19 Mar 2024 19:16:38 +0800 Subject: [PATCH] System: Disable feature that obtains versions and check features status. v5.0.209 (#3990) See https://github.com/ossrs/srs/issues/2424 --------- Co-authored-by: john --- trunk/conf/full.conf | 4 ++-- trunk/doc/CHANGELOG.md | 1 + trunk/src/app/srs_app_config.cpp | 4 ++-- trunk/src/core/srs_core_version5.hpp | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index bf55386908..3cdb3788f4 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -701,8 +701,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 c233f864a6..9adfa7386b 100644 --- a/trunk/doc/CHANGELOG.md +++ b/trunk/doc/CHANGELOG.md @@ -7,6 +7,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 1cd80d4b0d..f6bf733b5c 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 3f4420ee52..0c81a094ac 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