支持在应答侧suspend/resume功能,合并http_entry中处理request/response的流程

This commit is contained in:
Lu Qiuwen
2018-10-28 20:13:17 +08:00
parent cf64f01f7f
commit b677d8ad0f
6 changed files with 168 additions and 263 deletions

View File

@@ -45,6 +45,10 @@ struct http_session_private
tfe_http_event suspend_event;
/* SUSPEND TAG EFFECTIVE */
bool suspend_tag_effective;
/* SUSPEND TAG STREAM */
bool suspend_tag_signal;
/* RESUME SIGNAL */
bool resume_tag_singal;
/* RELEASE LOCK, when the tag is zero, the session can be destroyed */
int release_lock;
/* thread id */