支持在应答侧suspend/resume功能,合并http_entry中处理request/response的流程
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -128,6 +128,7 @@ struct http_session_private * hs_private_create(struct http_connection_private *
|
||||
|
||||
void hs_private_destroy(struct http_session_private * hs_private);
|
||||
void hs_private_gc_destroy(struct http_session_private * hs_private, struct hs_private_list * gc_list);
|
||||
bool hs_private_can_destroy(struct http_session_private * hs_private);
|
||||
|
||||
void hs_private_hf_private_set(struct http_session_private * hs_private,
|
||||
struct http_half_private * hf, enum tfe_http_direction);
|
||||
|
||||
Reference in New Issue
Block a user