mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #277, the http server subscribe the reload.
This commit is contained in:
parent
f1393ee43f
commit
c4302b9b61
4 changed files with 12 additions and 18 deletions
|
@ -1013,22 +1013,6 @@ int SrsServer::on_reload_vhost_removed(std::string /*vhost*/)
|
|||
return ret;
|
||||
}
|
||||
|
||||
int SrsServer::on_reload_vhost_http_updated()
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
#ifdef SRS_AUTO_HTTP_SERVER
|
||||
srs_freep(http_stream_mux);
|
||||
http_stream_mux = new SrsHttpServer();
|
||||
|
||||
if ((ret = http_stream_mux->initialize()) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
int SrsServer::on_reload_http_api_enabled()
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue