修正suspend/resume语义实现的若干问题,增加自行构建request/response的header标志
This commit is contained in:
@@ -41,18 +41,20 @@ struct http_session_private
|
||||
struct http_half_private * hf_private_req_user;
|
||||
/* USER SETUP RESPONSE HALF */
|
||||
struct http_half_private * hf_private_resp_user;
|
||||
/* SUSPEND TAG */
|
||||
bool suspend_tag_user;
|
||||
/* SUSPEND EVENT */
|
||||
tfe_http_event suspend_event;
|
||||
/* SUSPEND TAG EFFECTIVE */
|
||||
bool suspend_tag_effective;
|
||||
/* STREAM WRITE EFFECTIVE */
|
||||
bool stream_write_tag_effective;
|
||||
/* RELEASE LOCK, when the tag is zero, the session can be destroyed */
|
||||
int release_lock;
|
||||
/* thread id */
|
||||
unsigned int thread_id;
|
||||
|
||||
/* SUSPEND COUNTER, ONLY FOR DEBUG AND LOG */
|
||||
#ifndef NDEBUG
|
||||
int suspend_counter;
|
||||
#endif
|
||||
bool in_gc_queue;
|
||||
};
|
||||
|
||||
struct http_connection_private
|
||||
|
||||
Reference in New Issue
Block a user