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

add utest for config full.conf, fix the chunk-size bug

This commit is contained in:
winlin 2014-07-21 10:50:08 +08:00
parent ffa72d3522
commit f1b1dc0c64
3 changed files with 1073 additions and 8 deletions

View file

@ -490,12 +490,19 @@ public:
virtual SrsConfDirective* get_refer_publish(std::string vhost);
/**
* get the chunk size of vhost.
* @param vhost, the vhost to get the chunk size. use global if not specified.
* empty string to get the global.
*/
virtual int get_chunk_size(std::string vhost);
private:
/**
* get the global chunk size.
*/
virtual int get_global_chunk_size();
// forward section
public:
/**
*
* get the forward directive of vhost.
*/
virtual SrsConfDirective* get_forward(std::string vhost);
// http_hooks section