mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 04:25:58 +08:00
HTTP: 确保http请求结束后不再触发超时事件
This commit is contained in:
@@ -106,6 +106,11 @@ public:
|
||||
*/
|
||||
const string &getUrl() const;
|
||||
|
||||
/**
|
||||
* 判断是否正在等待响应
|
||||
*/
|
||||
bool waitResponse() const;
|
||||
|
||||
protected:
|
||||
/**
|
||||
* 收到http回复头
|
||||
@@ -173,6 +178,7 @@ protected:
|
||||
bool _is_https;
|
||||
|
||||
private:
|
||||
bool _complete = false;
|
||||
string _url;
|
||||
HttpHeader _header;
|
||||
HttpBody::Ptr _body;
|
||||
|
||||
Reference in New Issue
Block a user