winlin

support vhost for http flv.

@@ -800,10 +800,6 @@ int SrsHttpStreamServer::http_mount(SrsSource* s, SrsRequest* r) @@ -800,10 +800,6 @@ int SrsHttpStreamServer::http_mount(SrsSource* s, SrsRequest* r)
800 800
801 // remove the default vhost mount 801 // remove the default vhost mount
802 mount = srs_string_replace(mount, SRS_CONSTS_RTMP_DEFAULT_VHOST"/", "/"); 802 mount = srs_string_replace(mount, SRS_CONSTS_RTMP_DEFAULT_VHOST"/", "/");
803 - // TODO: FIXME: check match  
804 - if (mount.at(0) != '/') {  
805 - mount = "/" + mount;  
806 - }  
807 803
808 entry = new SrsLiveEntry(mount, tmpl->hstrs); 804 entry = new SrsLiveEntry(mount, tmpl->hstrs);
809 805