diff --git a/trunk/doc/CHANGELOG.md b/trunk/doc/CHANGELOG.md index 61c687884..cf0cbd1de 100644 --- a/trunk/doc/CHANGELOG.md +++ b/trunk/doc/CHANGELOG.md @@ -8,6 +8,7 @@ The changelog for SRS. ## SRS 5.0 Changelog +* v5.0, 2022-11-18, Fix [#3215](https://github.com/ossrs/srs/issues/3215): Callback: Fix bug for response string 0. v5.0.88 * v5.0, 2022-11-18, For [#2532](https://github.com/ossrs/srs/issues/2532): Windows: Replace ln by cp for windows. v5.0.87 * v5.0, 2022-10-31, For [#2899](https://github.com/ossrs/srs/issues/2899): Exporter: Add metrics cpu, memory and uname. v5.0.86 * v5.0, 2022-10-30, Config: Support startting with environment variable only. v5.0.85 diff --git a/trunk/src/app/srs_app_http_hooks.cpp b/trunk/src/app/srs_app_http_hooks.cpp index ccbcb9184..b76f1f369 100644 --- a/trunk/src/app/srs_app_http_hooks.cpp +++ b/trunk/src/app/srs_app_http_hooks.cpp @@ -23,7 +23,8 @@ using namespace std; #include #include -#define SRS_HTTP_RESPONSE_OK SRS_XSTR(ERROR_SUCCESS) +// The HTTP response body should be "0", see https://github.com/ossrs/srs/issues/3215#issuecomment-1319991512 +#define SRS_HTTP_RESPONSE_OK SRS_XSTR(0) #define SRS_HTTP_HEADER_BUFFER 1024 #define SRS_HTTP_READ_BUFFER 4096 diff --git a/trunk/src/core/srs_core_version5.hpp b/trunk/src/core/srs_core_version5.hpp index d3b9e2788..578e57b69 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 87 +#define VERSION_REVISION 88 #endif