add /api/v1/versions for http server for go-sharp to detect.
This commit is contained in:
parent
9e342f41a4
commit
f510a3d6fb
|
|
@ -787,6 +787,13 @@ int SrsServer::http_handle()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SRS_AUTO_HTTP_SERVER
|
||||||
|
// for SRS go-sharp to detect the status of HTTP server of SRS HTTP FLV Cluster.
|
||||||
|
if ((ret = http_stream_mux->mux.handle("/api/v1/versions", new SrsGoApiVersion())) != ERROR_SUCCESS) {
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user