增加HTTP流式构造Body的接口及实现并修正HTTP单元测试用例

This commit is contained in:
Lu Qiuwen
2018-10-16 10:45:18 +08:00
parent 619f004c49
commit 2bc366fb13
8 changed files with 202 additions and 44 deletions

View File

@@ -87,8 +87,11 @@ struct http_half_private
/* Setup by User */
bool is_setup_by_user;
bool is_setup_by_stream;
struct evbuffer * evbuf_body;
struct evbuffer * evbuf_raw;
struct tfe_stream_write_ctx * write_ctx;
};
struct http_half_private * hf_private_create(tfe_http_direction ht_dir, short major, short minor);