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

Add api to stat mw iovec

This commit is contained in:
winlin 2020-03-27 13:37:39 +08:00
parent b3b76b0ca6
commit 90a39ec46d
9 changed files with 335 additions and 7 deletions

View file

@ -947,7 +947,10 @@ srs_error_t SrsServer::http_handle()
return srs_error_wrap(err, "handle raw");
}
if ((err = http_api_mux->handle("/api/v1/clusters", new SrsGoApiClusters())) != srs_success) {
return srs_error_wrap(err, "handle raw");
return srs_error_wrap(err, "handle clusters");
}
if ((err = http_api_mux->handle("/api/v1/perf", new SrsGoApiPerf())) != srs_success) {
return srs_error_wrap(err, "handle perf");
}
// test the request info.