From c31a546eec043ed639281d48d7590bff0ce81f7a Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 21 Aug 2015 12:08:25 +0800 Subject: [PATCH] support vhost for http flv. --- trunk/src/app/srs_app_http_stream.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/trunk/src/app/srs_app_http_stream.cpp b/trunk/src/app/srs_app_http_stream.cpp index 4702269b9..651174869 100644 --- a/trunk/src/app/srs_app_http_stream.cpp +++ b/trunk/src/app/srs_app_http_stream.cpp @@ -800,10 +800,6 @@ int SrsHttpStreamServer::http_mount(SrsSource* s, SrsRequest* r) // remove the default vhost mount mount = srs_string_replace(mount, SRS_CONSTS_RTMP_DEFAULT_VHOST"/", "/"); - // TODO: FIXME: check match - if (mount.at(0) != '/') { - mount = "/" + mount; - } entry = new SrsLiveEntry(mount, tmpl->hstrs);