mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
简化ssl相关代码
This commit is contained in:
@@ -283,13 +283,6 @@ protected:
|
||||
DebugL;
|
||||
}
|
||||
|
||||
/**
|
||||
* 收到http回复数据回调
|
||||
* @param data 数据指针
|
||||
* @param size 数据大小
|
||||
*/
|
||||
virtual void onRecvBytes(const char *data,int size);
|
||||
|
||||
/**
|
||||
* http链接断开回调
|
||||
* @param ex 断开原因
|
||||
@@ -299,9 +292,6 @@ protected:
|
||||
//HttpRequestSplitter override
|
||||
int64_t onRecvHeader(const char *data,uint64_t len) override ;
|
||||
void onRecvContent(const char *data,uint64_t len) override;
|
||||
|
||||
//在连接服务器前调用一次
|
||||
virtual void onBeforeConnect(string &strUrl, uint16_t &iPort,float &fTimeOutSec) {};
|
||||
protected:
|
||||
virtual void onConnect(const SockException &ex) override;
|
||||
virtual void onRecv(const Buffer::Ptr &pBuf) override;
|
||||
|
||||
Reference in New Issue
Block a user