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

for bug #277, refine code, support default http vhost.

This commit is contained in:
winlin 2015-01-18 17:01:39 +08:00
parent 2742c0d3c2
commit 398b212bfa
2 changed files with 12 additions and 5 deletions

View file

@ -266,8 +266,8 @@ class SrsGoHttpServeMux
{
private:
std::map<std::string, SrsGoHttpMuxEntry*> entries;
// whether any patterns contain hostnames
bool hosts;
// the vhost handler.
std::map<std::string, ISrsGoHttpHandler*> vhosts;
public:
SrsGoHttpServeMux();
virtual ~SrsGoHttpServeMux();