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

For #1488, add test and improve coverage for parsing client ip.

This commit is contained in:
winlin 2019-12-26 12:07:52 +08:00
parent 316cab794a
commit 2115d5d22a
8 changed files with 88 additions and 44 deletions

View file

@ -40,7 +40,6 @@
class SrsKbps;
class SrsBuffer;
class SrsJsonObject;
class ISrsHttpMessage;
// Convert level in string to log level in int.
// @return the log level defined in SrsLogLevel.
@ -650,8 +649,5 @@ extern bool srs_is_boolean(const std::string& str);
// Dump summaries for /api/v1/summaries.
extern void srs_api_dump_summaries(SrsJsonObject* obj);
// Get the original ip from query and header by proxy.
extern std::string srs_get_original_ip(ISrsHttpMessage* r);
#endif