mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
Merge pull request #993 from ZLMediaKit/feature/update-splitter-usage
Http/HttpRequestSplitter: 添加使用注意事项
This commit is contained in:
commit
f47e1ecd31
@ -27,8 +27,9 @@ public:
|
||||
* 添加数据
|
||||
* @param data 需要添加的数据
|
||||
* @param len 数据长度
|
||||
* @warning 实际内存需保证不小于 len + 1, 内部使用 strstr 进行查找, 为防止查找越界, 会在 @p len + 1 的位置设置 '\0' 结束符.
|
||||
*/
|
||||
virtual void input(const char *data,size_t len);
|
||||
virtual void input(const char *data, size_t len);
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user