🐞 fix(TSG-15212): 修复TFE_CMSG_SSL_INTERCEPT_STATE字段设置错误; 修复msgpack默写字段为空时, 增加默认值
This commit is contained in:
@@ -89,7 +89,7 @@ int http_plugin_init(struct tfe_proxy * proxy)
|
||||
plugin_ctx->gc_event_hs_private[thread_id] = gc_event;
|
||||
}
|
||||
|
||||
plugin_ctx->logger = MESA_create_runtime_log_handle("http", RLOG_LV_DEBUG);
|
||||
plugin_ctx->logger = (void *)MESA_create_runtime_log_handle("http", RLOG_LV_DEBUG);
|
||||
assert(plugin_ctx->logger != NULL);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -46,7 +46,7 @@ struct event_timer_ctx
|
||||
void load_logging_conf(const char *config)
|
||||
{
|
||||
RTLogInit2Data *logging_sc_lid = logger();
|
||||
logging_sc_lid->handle = MESA_create_runtime_log_handle("http2", RLOG_LV_DEBUG);
|
||||
logging_sc_lid->handle = (void *)MESA_create_runtime_log_handle("http2", RLOG_LV_DEBUG);
|
||||
if(logging_sc_lid->handle == NULL){
|
||||
TFE_LOG_ERROR(logging_sc_lid->handle, "Create log runtime_log_handle error, init failed!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user