1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine the log, move default to each functions.

This commit is contained in:
winlin 2015-08-29 19:46:56 +08:00
parent 7ef3ff90c0
commit bc100c2867
3 changed files with 626 additions and 665 deletions

View file

@ -580,7 +580,7 @@ int SrsRtmpConn::check_vhost()
}
if (_srs_config->get_refer_enabled(req->vhost)) {
if ((ret = refer->check(req->pageUrl, _srs_config->get_refer(req->vhost))) != ERROR_SUCCESS) {
if ((ret = refer->check(req->pageUrl, _srs_config->get_refer_all(req->vhost))) != ERROR_SUCCESS) {
srs_error("check refer failed. ret=%d", ret);
return ret;
}