mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Always use string instance to avoid crash risk. 3.0.95
This commit is contained in:
parent
b794c9e4ec
commit
10464a5fbe
15 changed files with 119 additions and 14 deletions
|
@ -123,7 +123,7 @@ extern bool srs_stream_caster_is_flv(std::string caster);
|
|||
extern bool srs_config_apply_filter(SrsConfDirective* dvr_apply, SrsRequest* req);
|
||||
|
||||
// Convert bool in str to on/off
|
||||
extern std::string srs_config_bool2switch(const std::string& sbool);
|
||||
extern std::string srs_config_bool2switch(std::string sbool);
|
||||
|
||||
// Parse loaded vhost directives to compatible mode.
|
||||
// For exmaple, SRS1/2 use the follow refer style:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue