mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-11-24 08:57:16 +08:00
Fix/ts splitter resync (#4783)
This commit is contained in:
@@ -149,6 +149,7 @@ void HttpRequestSplitter::reset() {
|
||||
_content_len = 0;
|
||||
_remain_data_size = 0;
|
||||
_remain_data.clear();
|
||||
onReset();
|
||||
}
|
||||
|
||||
const char *HttpRequestSplitter::onSearchPacketTail(const char *data,size_t len) {
|
||||
@@ -179,4 +180,3 @@ HttpRequestSplitter::HttpRequestSplitter() {
|
||||
}
|
||||
|
||||
} /* namespace mediakit */
|
||||
|
||||
|
||||
@@ -68,6 +68,8 @@ public:
|
||||
void setMaxCacheSize(size_t max_cache_size);
|
||||
|
||||
protected:
|
||||
virtual void onReset() {};
|
||||
|
||||
/**
|
||||
* 收到请求头
|
||||
* @param data 请求头数据
|
||||
|
||||
Reference in New Issue
Block a user