mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #3114: Origin cluster config bug. v5.0.43
This commit is contained in:
parent
e9d6601f7d
commit
9b010ac158
3 changed files with 5 additions and 1 deletions
|
@ -4960,6 +4960,9 @@ vector<string> SrsConfig::get_vhost_coworkers(string vhost)
|
|||
}
|
||||
|
||||
conf = conf->get("coworkers");
|
||||
if (!conf) {
|
||||
return coworkers;
|
||||
}
|
||||
for (int i = 0; i < (int)conf->args.size(); i++) {
|
||||
coworkers.push_back(conf->args.at(i));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue