大文件流式缓存联调通过。UNDEFINE类型100KB以上进行缓存。

This commit is contained in:
zhengchao
2018-10-16 21:16:58 +08:00
parent 37b4f3a644
commit 1723fa1029
5 changed files with 30 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ static int __write_http_half_to_line(const struct tfe_stream * stream,
* and has been call body_begin, construct the header */
if (hf_private->evbuf_body != NULL && hf_private->write_ctx == NULL)
{
printf("frag write start, stream = %p, hf_private = %p\n", stream, hf_private);
// printf("frag write start, stream = %p, hf_private = %p\n", stream, hf_private);
/* Still need to send data(not call body_end()), need to write frag start
* Otherwise, means the body is ready, send out directly without frag */