summaryrefslogtreecommitdiff
path: root/plugin/protocol/http
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2018-11-16 20:27:36 +0800
committerLu Qiuwen <[email protected]>2018-11-16 20:59:49 +0800
commit88e9eecf09e436c37a5ed3a47dae995d767a035b (patch)
treed7affe204ae054309111fe2251e66b79510a0886 /plugin/protocol/http
parent3da25a31ff9b21c440b3d1fb6af6c88ac9782326 (diff)
调整目录结构,增加RPM打包功能
* 调整目录结构,原conf目录分拆为conf和resource目录。其中,conf目录在软件更新时不会更新,resource则更新; * 增加RPM打包功能,利用CI发布软件的RPM,对应调整GitLAB-CI脚本。
Diffstat (limited to 'plugin/protocol/http')
-rw-r--r--plugin/protocol/http/include/internal/http_common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugin/protocol/http/include/internal/http_common.h b/plugin/protocol/http/include/internal/http_common.h
index 0bdaeee..2ea85ab 100644
--- a/plugin/protocol/http/include/internal/http_common.h
+++ b/plugin/protocol/http/include/internal/http_common.h
@@ -54,11 +54,9 @@ struct http_session_private
int release_lock;
/* thread id */
unsigned int thread_id;
-
- /* SUSPEND COUNTER, ONLY FOR DEBUG AND LOG */
-#ifndef NDEBUG
+ /* SUSPEND COUNTER, only for debug and log */
int suspend_counter;
-#endif
+ /* IN GC QUEUE, means the connection of session has destroyed */
bool in_gc_queue;
};