mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
修复编译问题
This commit is contained in:
parent
67644a7bad
commit
aab3a583b9
@ -18,7 +18,7 @@ void HttpRequestSplitter::input(const char *data,uint64_t len) {
|
|||||||
splitPacket:
|
splitPacket:
|
||||||
|
|
||||||
//数据按照请求头处理
|
//数据按照请求头处理
|
||||||
char *index = nullptr;
|
const char *index = nullptr;
|
||||||
while (_content_len == 0 && (index = strstr(ptr,"\r\n\r\n")) != nullptr) {
|
while (_content_len == 0 && (index = strstr(ptr,"\r\n\r\n")) != nullptr) {
|
||||||
//_content_len == 0,这是请求头
|
//_content_len == 0,这是请求头
|
||||||
_content_len = onRecvHeader(ptr, index - ptr + 4);
|
_content_len = onRecvHeader(ptr, index - ptr + 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user