mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support dead-loop detect for forwarder and transcoder.
This commit is contained in:
parent
e4ea965a3a
commit
6af0794bab
17 changed files with 246 additions and 142 deletions
|
@ -94,5 +94,12 @@ extern void srs_update_system_time_ms();
|
|||
#include <string>
|
||||
// replace utility
|
||||
extern std::string srs_replace(std::string str, std::string old_str, std::string new_str);
|
||||
// dns resolve utility, return the resolved ip address.
|
||||
extern std::string srs_dns_resolve(std::string host);
|
||||
// resolve the vhost in query string
|
||||
// @param app, may contains the vhost in query string format:
|
||||
// app?vhost=request_vhost
|
||||
// app...vhost...request_vhost
|
||||
extern void srs_vhost_resolve(std::string& vhost, std::string& app);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue