mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
fix bug of resolve vhost, must strip then get from config.
This commit is contained in:
parent
96f9a40ca3
commit
4b74435e89
1 changed files with 1159 additions and 1158 deletions
1
trunk/src/core/srs_core_rtmp.cpp
Executable file → Normal file
1
trunk/src/core/srs_core_rtmp.cpp
Executable file → Normal file
|
@ -122,6 +122,7 @@ int SrsRequest::discovery_app()
|
|||
|
||||
app = url;
|
||||
srs_vhost_resolve(vhost, app);
|
||||
strip();
|
||||
|
||||
// resolve the vhost from config
|
||||
SrsConfDirective* parsed_vhost = config->get_vhost(vhost);
|
||||
|
|
Loading…
Reference in a new issue