From 8f9cfcdcf409263804d218697797b03455ffa229 Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 15 Sep 2015 13:03:18 +0800 Subject: [PATCH] fix #319, http raw api support update global and vhost. 3.0.4 --- README.md | 1 + trunk/src/app/srs_app_http_api.cpp | 4 ++++ trunk/src/core/srs_core.hpp | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d15d30b6a..169a7fd02a 100755 --- a/README.md +++ b/README.md @@ -344,6 +344,7 @@ Remark: ## History +* v3.0, 2015-09-14, fix [#319][bug #319], http raw api support update global and vhost. 3.0.4 * v3.0, 2015-08-31, fix [#319][bug #319], http raw api support query global and vhost. 3.0.3 * v3.0, 2015-08-28, fix [#471][bug #471], api response the width and height. 3.0.2 * v3.0, 2015-08-25, fix [#367][bug #367], support nginx-rtmp exec. 3.0.1 diff --git a/trunk/src/app/srs_app_http_api.cpp b/trunk/src/app/srs_app_http_api.cpp index ce2ce52455..74bc77840d 100755 --- a/trunk/src/app/srs_app_http_api.cpp +++ b/trunk/src/app/srs_app_http_api.cpp @@ -1228,7 +1228,11 @@ int SrsGoApiRaw::serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r) srs_error("raw api update vhost=%s, param=%s failed. ret=%d", value.c_str(), param.c_str(), ret); return srs_api_response_code(w, r, ret); } + } else { + // TODO: support other param. } + } else { + // TODO: support other scope. } // whether the config applied. diff --git a/trunk/src/core/srs_core.hpp b/trunk/src/core/srs_core.hpp index 5efc3f734a..4cb9bf54d6 100644 --- a/trunk/src/core/srs_core.hpp +++ b/trunk/src/core/srs_core.hpp @@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // current release version #define VERSION_MAJOR 3 #define VERSION_MINOR 0 -#define VERSION_REVISION 3 +#define VERSION_REVISION 4 // server info. #define RTMP_SIG_SRS_KEY "SRS"