1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

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 <hondaxiao@tencent.com>
This commit is contained in:
Winlin 2024-03-19 19:12:41 +08:00 committed by GitHub
parent 954b1b7ef2
commit 84b184dd53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 6 deletions

View file

@ -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) {