mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the config code.
This commit is contained in:
parent
e7fd309cb0
commit
aef97db77a
1 changed files with 2 additions and 2 deletions
|
@ -1337,8 +1337,8 @@ int SrsConfig::check_config()
|
||||||
&& n != "max_connections" && n != "daemon" && n != "heartbeat"
|
&& n != "max_connections" && n != "daemon" && n != "heartbeat"
|
||||||
&& n != "http_api" && n != "stats" && n != "vhost" && n != "pithy_print_ms"
|
&& n != "http_api" && n != "stats" && n != "vhost" && n != "pithy_print_ms"
|
||||||
&& n != "http_stream" && n != "http_server" && n != "stream_caster"
|
&& n != "http_stream" && n != "http_server" && n != "stream_caster"
|
||||||
&& n != "utc_time")
|
&& n != "utc_time"
|
||||||
{
|
) {
|
||||||
ret = ERROR_SYSTEM_CONFIG_INVALID;
|
ret = ERROR_SYSTEM_CONFIG_INVALID;
|
||||||
srs_error("unsupported directive %s, ret=%d", n.c_str(), ret);
|
srs_error("unsupported directive %s, ret=%d", n.c_str(), ret);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue