Close #65 修正进入GC队列的HTTP Session写日志时触发的连接非法段错误

This commit is contained in:
Lu Qiuwen
2018-11-04 18:30:33 +08:00
parent adcd1640bf
commit 2d02343b50
7 changed files with 81 additions and 20 deletions

View File

@@ -20,12 +20,11 @@ struct http_plugin
pthread_mutex_t lock_list_hs_private[TFE_THREAD_MAX];
/* GC events */
struct event * gc_event_hs_private[TFE_THREAD_MAX];
/* ACCESS LOGGER */
void * access_logger;
};
struct http_plugin_status
{
};
extern struct http_plugin * g_http_plugin;
struct http_session_private
{
@@ -33,6 +32,8 @@ struct http_session_private
struct tfe_http_session hs_public;
/* TAILQ POINTER */
TAILQ_ENTRY(http_session_private) next;
/* HTTP CONNECTION ADDR */
char * str_stream_info;
/* REF, HTTP CONNECTION */
struct http_connection_private * hc_private;
/* HTTP FRAME CTX */