mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 04:25:58 +08:00
HLS: 修复http客户端连接复用导致hls播放异常的bug: #1294
This commit is contained in:
@@ -165,7 +165,9 @@ protected:
|
||||
|
||||
private:
|
||||
void onResponseCompleted_l();
|
||||
void onConnect_l(const SockException &ex);
|
||||
void checkCookie(HttpHeader &headers);
|
||||
void clearResponse();
|
||||
|
||||
protected:
|
||||
bool _isHttps;
|
||||
@@ -176,13 +178,14 @@ private:
|
||||
HttpBody::Ptr _body;
|
||||
string _method;
|
||||
string _path;
|
||||
string _lastHost;
|
||||
Ticker _aliveTicker;
|
||||
float _fTimeOutSec = 0;
|
||||
|
||||
//recv
|
||||
size_t _recvedBodySize;
|
||||
ssize_t _totalBodySize;
|
||||
Parser _parser;
|
||||
string _lastHost;
|
||||
Ticker _aliveTicker;
|
||||
float _fTimeOutSec = 0;
|
||||
std::shared_ptr<HttpChunkedSplitter> _chunkedSplitter;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user