Skip to content

Commit ee6a68d

Browse files
committed
System: Disable feature that obtains versions and check features status. v5.0.209 (#3990)
See #2424 --------- Co-authored-by: john <[email protected]>
1 parent f32c8c3 commit ee6a68d

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

trunk/conf/full.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -701,8 +701,8 @@ tcmalloc_release_rate 0.8;
701701
# @see https://github.com/ossrs/srs/issues/2424
702702
# @see https://github.com/ossrs/srs/issues/2508
703703
# Overwrite by env SRS_QUERY_LATEST_VERSION
704-
# Default: on
705-
query_latest_version on;
704+
# Default: off
705+
query_latest_version off;
706706

707707
# First wait when qlv(query latest version), in seconds.
708708
# Only available when qlv is enabled.

trunk/doc/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The changelog for SRS.
77
<a name="v5-changes"></a>
88

99
## SRS 5.0 Changelog
10+
* 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)
1011
* 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)
1112
* 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)
1213
* v5.0, 2024-02-05, Merge [#3923](https://github.com/ossrs/srs/pull/3923): Configure: print enabled/disable sanitizer. v5.0.206 (#3923)

trunk/src/app/srs_app_config.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3131,9 +3131,9 @@ bool SrsConfig::get_asprocess()
31313131

31323132
bool SrsConfig::whether_query_latest_version()
31333133
{
3134-
SRS_OVERWRITE_BY_ENV_BOOL2("srs.query_latest_version"); // SRS_QUERY_LATEST_VERSION
3134+
SRS_OVERWRITE_BY_ENV_BOOL("srs.query_latest_version"); // SRS_QUERY_LATEST_VERSION
31353135

3136-
static bool DEFAULT = true;
3136+
static bool DEFAULT = false;
31373137

31383138
SrsConfDirective* conf = root->get("query_latest_version");
31393139
if (!conf) {

trunk/src/core/srs_core_version5.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
#define VERSION_MAJOR 5
1111
#define VERSION_MINOR 0
12-
#define VERSION_REVISION 208
12+
#define VERSION_REVISION 209
1313

1414
#endif

0 commit comments

Comments
 (0)