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

Fix #3215: Callback: Fix bug for response string 0. v5.0.88

This commit is contained in:
winlin 2022-11-18 21:27:33 +08:00
parent e9503a9c9a
commit 5bae930621
3 changed files with 4 additions and 2 deletions

View file

@ -23,7 +23,8 @@ using namespace std;
#include <srs_app_utility.hpp>
#include <srs_app_statistic.hpp>
#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

View file

@ -9,6 +9,6 @@
#define VERSION_MAJOR 5
#define VERSION_MINOR 0
#define VERSION_REVISION 87
#define VERSION_REVISION 88
#endif