正在显示
1 个修改的文件
包含
0 行增加
和
10 行删除
| @@ -2796,7 +2796,6 @@ int SrsConfig::raw_set_pid(string pid, bool& applied) | @@ -2796,7 +2796,6 @@ int SrsConfig::raw_set_pid(string pid, bool& applied) | ||
| 2796 | 2796 | ||
| 2797 | applied = false; | 2797 | applied = false; |
| 2798 | 2798 | ||
| 2799 | - | ||
| 2800 | SrsConfDirective* conf = root->get_or_create("pid"); | 2799 | SrsConfDirective* conf = root->get_or_create("pid"); |
| 2801 | 2800 | ||
| 2802 | if (conf->arg0() == pid) { | 2801 | if (conf->arg0() == pid) { |
| @@ -2821,7 +2820,6 @@ int SrsConfig::raw_set_chunk_size(string chunk_size, bool& applied) | @@ -2821,7 +2820,6 @@ int SrsConfig::raw_set_chunk_size(string chunk_size, bool& applied) | ||
| 2821 | 2820 | ||
| 2822 | applied = false; | 2821 | applied = false; |
| 2823 | 2822 | ||
| 2824 | - | ||
| 2825 | SrsConfDirective* conf = root->get_or_create("chunk_size"); | 2823 | SrsConfDirective* conf = root->get_or_create("chunk_size"); |
| 2826 | 2824 | ||
| 2827 | if (conf->arg0() == chunk_size) { | 2825 | if (conf->arg0() == chunk_size) { |
| @@ -2844,7 +2842,6 @@ int SrsConfig::raw_set_ff_log_dir(string ff_log_dir, bool& applied) | @@ -2844,7 +2842,6 @@ int SrsConfig::raw_set_ff_log_dir(string ff_log_dir, bool& applied) | ||
| 2844 | 2842 | ||
| 2845 | applied = false; | 2843 | applied = false; |
| 2846 | 2844 | ||
| 2847 | - | ||
| 2848 | SrsConfDirective* conf = root->get_or_create("ff_log_dir"); | 2845 | SrsConfDirective* conf = root->get_or_create("ff_log_dir"); |
| 2849 | 2846 | ||
| 2850 | if (conf->arg0() == ff_log_dir) { | 2847 | if (conf->arg0() == ff_log_dir) { |
| @@ -2867,7 +2864,6 @@ int SrsConfig::raw_set_srs_log_tank(string srs_log_tank, bool& applied) | @@ -2867,7 +2864,6 @@ int SrsConfig::raw_set_srs_log_tank(string srs_log_tank, bool& applied) | ||
| 2867 | 2864 | ||
| 2868 | applied = false; | 2865 | applied = false; |
| 2869 | 2866 | ||
| 2870 | - | ||
| 2871 | SrsConfDirective* conf = root->get_or_create("srs_log_tank"); | 2867 | SrsConfDirective* conf = root->get_or_create("srs_log_tank"); |
| 2872 | 2868 | ||
| 2873 | if (conf->arg0() == srs_log_tank) { | 2869 | if (conf->arg0() == srs_log_tank) { |
| @@ -2892,7 +2888,6 @@ int SrsConfig::raw_set_srs_log_level(string srs_log_level, bool& applied) | @@ -2892,7 +2888,6 @@ int SrsConfig::raw_set_srs_log_level(string srs_log_level, bool& applied) | ||
| 2892 | 2888 | ||
| 2893 | applied = false; | 2889 | applied = false; |
| 2894 | 2890 | ||
| 2895 | - | ||
| 2896 | SrsConfDirective* conf = root->get_or_create("srs_log_level"); | 2891 | SrsConfDirective* conf = root->get_or_create("srs_log_level"); |
| 2897 | 2892 | ||
| 2898 | if (conf->arg0() == srs_log_level) { | 2893 | if (conf->arg0() == srs_log_level) { |
| @@ -2917,7 +2912,6 @@ int SrsConfig::raw_set_srs_log_file(string srs_log_file, bool& applied) | @@ -2917,7 +2912,6 @@ int SrsConfig::raw_set_srs_log_file(string srs_log_file, bool& applied) | ||
| 2917 | 2912 | ||
| 2918 | applied = false; | 2913 | applied = false; |
| 2919 | 2914 | ||
| 2920 | - | ||
| 2921 | SrsConfDirective* conf = root->get_or_create("srs_log_file"); | 2915 | SrsConfDirective* conf = root->get_or_create("srs_log_file"); |
| 2922 | 2916 | ||
| 2923 | if (conf->arg0() == srs_log_file) { | 2917 | if (conf->arg0() == srs_log_file) { |
| @@ -2942,7 +2936,6 @@ int SrsConfig::raw_set_max_connections(string max_connections, bool& applied) | @@ -2942,7 +2936,6 @@ int SrsConfig::raw_set_max_connections(string max_connections, bool& applied) | ||
| 2942 | 2936 | ||
| 2943 | applied = false; | 2937 | applied = false; |
| 2944 | 2938 | ||
| 2945 | - | ||
| 2946 | SrsConfDirective* conf = root->get_or_create("max_connections"); | 2939 | SrsConfDirective* conf = root->get_or_create("max_connections"); |
| 2947 | 2940 | ||
| 2948 | if (conf->arg0() == max_connections) { | 2941 | if (conf->arg0() == max_connections) { |
| @@ -2967,7 +2960,6 @@ int SrsConfig::raw_set_utc_time(string utc_time, bool& applied) | @@ -2967,7 +2960,6 @@ int SrsConfig::raw_set_utc_time(string utc_time, bool& applied) | ||
| 2967 | 2960 | ||
| 2968 | applied = false; | 2961 | applied = false; |
| 2969 | 2962 | ||
| 2970 | - | ||
| 2971 | SrsConfDirective* conf = root->get_or_create("utc_time"); | 2963 | SrsConfDirective* conf = root->get_or_create("utc_time"); |
| 2972 | 2964 | ||
| 2973 | if (conf->arg0() == utc_time) { | 2965 | if (conf->arg0() == utc_time) { |
| @@ -2992,7 +2984,6 @@ int SrsConfig::raw_set_pithy_print_ms(string pithy_print_ms, bool& applied) | @@ -2992,7 +2984,6 @@ int SrsConfig::raw_set_pithy_print_ms(string pithy_print_ms, bool& applied) | ||
| 2992 | 2984 | ||
| 2993 | applied = false; | 2985 | applied = false; |
| 2994 | 2986 | ||
| 2995 | - | ||
| 2996 | SrsConfDirective* conf = root->get_or_create("pithy_print_ms"); | 2987 | SrsConfDirective* conf = root->get_or_create("pithy_print_ms"); |
| 2997 | 2988 | ||
| 2998 | if (conf->arg0() == pithy_print_ms) { | 2989 | if (conf->arg0() == pithy_print_ms) { |
| @@ -3017,7 +3008,6 @@ int SrsConfig::raw_create_vhost(string vhost, bool& applied) | @@ -3017,7 +3008,6 @@ int SrsConfig::raw_create_vhost(string vhost, bool& applied) | ||
| 3017 | 3008 | ||
| 3018 | applied = false; | 3009 | applied = false; |
| 3019 | 3010 | ||
| 3020 | - | ||
| 3021 | SrsConfDirective* conf = root->get_or_create("vhost", vhost); | 3011 | SrsConfDirective* conf = root->get_or_create("vhost", vhost); |
| 3022 | conf->get_or_create("enabled")->set_arg0("on"); | 3012 | conf->get_or_create("enabled")->set_arg0("on"); |
| 3023 | 3013 |
-
请 注册 或 登录 后发表评论