#34 实现HTTP解析层的Suspend/Resume操作

This commit is contained in:
Lu Qiuwen
2018-10-11 10:41:27 +08:00
committed by zhengchao
parent adb469395c
commit b8342e5358
9 changed files with 132 additions and 29 deletions

View File

@@ -83,8 +83,8 @@ void tfe_stream_write_frag_end(struct tfe_stream_write_ctx * w_ctx);
void tfe_stream_detach(const struct tfe_stream * stream);
int tfe_stream_preempt(const struct tfe_stream * stream);
struct promise * tfe_stream_suspend(const struct tfe_stream * stream);
void tfe_stream_resume(struct promise * promise);
void tfe_stream_suspend(const struct tfe_stream * stream);
void tfe_stream_resume(const struct tfe_stream * stream);
//close both sides of the stream.
int tfe_stream_shutdown(const struct tfe_stream * stream);