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

fix the utest bug

This commit is contained in:
winlin 2015-09-17 11:37:35 +08:00
parent 240a1bfadb
commit 256459e1ec
6 changed files with 116 additions and 76 deletions

View file

@ -40,6 +40,7 @@ class SrsStSocket;
class SrsRequest;
class SrsHttpParser;
class SrsFlvSegment;
class SrsHttpClient;
/**
* the http hooks, http callback api,
@ -120,7 +121,7 @@ public:
*/
static int on_hls_notify(int cid, std::string url, SrsRequest* req, std::string ts_url, int nb_notify);
private:
static int do_post(std::string url, std::string req, int& code, std::string& res);
static int do_post(SrsHttpClient* hc, std::string url, std::string req, int& code, std::string& res);
};
#endif