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:
parent
2742c0d3c2
commit
398b212bfa
2 changed files with 12 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue