winlin

fix #319, http raw api support update global and vhost. 3.0.4

@@ -344,6 +344,7 @@ Remark: @@ -344,6 +344,7 @@ Remark:
344 344
345 ## History 345 ## History
346 346
  347 +* v3.0, 2015-09-14, fix [#319][bug #319], http raw api support update global and vhost. 3.0.4
347 * v3.0, 2015-08-31, fix [#319][bug #319], http raw api support query global and vhost. 3.0.3 348 * v3.0, 2015-08-31, fix [#319][bug #319], http raw api support query global and vhost. 3.0.3
348 * v3.0, 2015-08-28, fix [#471][bug #471], api response the width and height. 3.0.2 349 * v3.0, 2015-08-28, fix [#471][bug #471], api response the width and height. 3.0.2
349 * v3.0, 2015-08-25, fix [#367][bug #367], support nginx-rtmp exec. 3.0.1 350 * v3.0, 2015-08-25, fix [#367][bug #367], support nginx-rtmp exec. 3.0.1
@@ -1228,7 +1228,11 @@ int SrsGoApiRaw::serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r) @@ -1228,7 +1228,11 @@ int SrsGoApiRaw::serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r)
1228 srs_error("raw api update vhost=%s, param=%s failed. ret=%d", value.c_str(), param.c_str(), ret); 1228 srs_error("raw api update vhost=%s, param=%s failed. ret=%d", value.c_str(), param.c_str(), ret);
1229 return srs_api_response_code(w, r, ret); 1229 return srs_api_response_code(w, r, ret);
1230 } 1230 }
  1231 + } else {
  1232 + // TODO: support other param.
1231 } 1233 }
  1234 + } else {
  1235 + // TODO: support other scope.
1232 } 1236 }
1233 1237
1234 // whether the config applied. 1238 // whether the config applied.
@@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 // current release version 31 // current release version
32 #define VERSION_MAJOR 3 32 #define VERSION_MAJOR 3
33 #define VERSION_MINOR 0 33 #define VERSION_MINOR 0
34 -#define VERSION_REVISION 3 34 +#define VERSION_REVISION 4
35 35
36 // server info. 36 // server info.
37 #define RTMP_SIG_SRS_KEY "SRS" 37 #define RTMP_SIG_SRS_KEY "SRS"