1
0
Fork 0
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:
winlin 2013-12-22 00:33:38 +08:00
parent 96f9a40ca3
commit 4b74435e89

1
trunk/src/core/srs_core_rtmp.cpp Executable file → Normal file
View file

@ -122,6 +122,7 @@ int SrsRequest::discovery_app()
app = url; app = url;
srs_vhost_resolve(vhost, app); srs_vhost_resolve(vhost, app);
strip();
// resolve the vhost from config // resolve the vhost from config
SrsConfDirective* parsed_vhost = config->get_vhost(vhost); SrsConfDirective* parsed_vhost = config->get_vhost(vhost);