#34 实现HTTP解析层的Suspend/Resume操作
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user